Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2487)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Mar 23, 2024
1 parent 0398093 commit b0eaf37
Show file tree
Hide file tree
Showing 36 changed files with 7,672 additions and 497 deletions.
308 changes: 292 additions & 16 deletions aiplatform/v1/aiplatform-api.json

Large diffs are not rendered by default.

1,546 changes: 1,303 additions & 243 deletions aiplatform/v1/aiplatform-gen.go

Large diffs are not rendered by default.

484 changes: 451 additions & 33 deletions aiplatform/v1beta1/aiplatform-api.json

Large diffs are not rendered by default.

1,096 changes: 1,049 additions & 47 deletions aiplatform/v1beta1/aiplatform-gen.go

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions artifactregistry/v1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@
}
}
},
"revision": "20240305",
"revision": "20240322",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -3229,13 +3229,15 @@
"MODE_UNSPECIFIED",
"STANDARD_REPOSITORY",
"VIRTUAL_REPOSITORY",
"REMOTE_REPOSITORY"
"REMOTE_REPOSITORY",
"AOSS_REPOSITORY"
],
"enumDescriptions": [
"Unspecified mode.",
"A standard repository storing artifacts.",
"A virtual repository to serve artifacts from one or more sources.",
"A remote repository to serve artifacts from a remote source."
"A remote repository to serve artifacts from a remote source.",
"An AOSS repository provides artifacts from AOSS upstreams."
],
"type": "string"
},
Expand Down
2 changes: 2 additions & 0 deletions artifactregistry/v1/artifactregistry-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

155 changes: 154 additions & 1 deletion bigtableadmin/v2/bigtableadmin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2098,13 +2098,17 @@
}
}
},
"revision": "20240306",
"revision": "20240318",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
"description": "A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.",
"id": "AppProfile",
"properties": {
"dataBoostIsolationReadOnly": {
"$ref": "DataBoostIsolationReadOnly",
"description": "Specifies that this app profile is intended for read-only usage via the Data Boost feature."
},
"description": {
"description": "Long form description of the use case for this AppProfile.",
"type": "string"
Expand Down Expand Up @@ -2409,6 +2413,14 @@
"consistencyToken": {
"description": "Required. The token created using GenerateConsistencyToken for the Table.",
"type": "string"
},
"dataBoostReadLocalWrites": {
"$ref": "DataBoostReadLocalWrites",
"description": "Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster."
},
"standardReadRemoteWrites": {
"$ref": "StandardReadRemoteWrites",
"description": "Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters."
}
},
"type": "object"
Expand Down Expand Up @@ -2559,6 +2571,10 @@
"$ref": "ColumnFamilyStats",
"description": "Output only. Only available with STATS_VIEW, this includes summary statistics about column family contents. For statistics over an entire table, see TableStats above.",
"readOnly": true
},
"valueType": {
"$ref": "Type",
"description": "The type of data stored in each of this family's cell values, including its full encoding. If omitted, the family only serves raw untyped bytes. For now, only the `Aggregate` type is supported. `Aggregate` can only be set at family creation and is immutable afterwards. If `value_type` is `Aggregate`, written data must be compatible with: * `value_type.input_type` for `AddInput` mutations"
}
},
"type": "object"
Expand Down Expand Up @@ -2805,6 +2821,31 @@
},
"type": "object"
},
"DataBoostIsolationReadOnly": {
"description": "Data Boost is a serverless compute capability that lets you run high-throughput read jobs on your Bigtable data, without impacting the performance of the clusters that handle your application traffic. Currently, Data Boost exclusively supports read-only use-cases with single-cluster routing. Data Boost reads are only guaranteed to see the results of writes that were written at least 30 minutes ago. This means newly written values may not become visible for up to 30m, and also means that old values may remain visible for up to 30m after being deleted or overwritten. To mitigate the staleness of the data, users may either wait 30m, or use CheckConsistency.",
"id": "DataBoostIsolationReadOnly",
"properties": {
"computeBillingOwner": {
"description": "The Compute Billing Owner for this Data Boost App Profile.",
"enum": [
"COMPUTE_BILLING_OWNER_UNSPECIFIED",
"HOST_PAYS"
],
"enumDescriptions": [
"Unspecified value.",
"The host Cloud Project containing the targeted Bigtable Instance / Table pays for compute."
],
"type": "string"
}
},
"type": "object"
},
"DataBoostReadLocalWrites": {
"description": "Checks that all writes before the consistency token was generated in the same cluster are readable by Databoost.",
"id": "DataBoostReadLocalWrites",
"properties": {},
"type": "object"
},
"DropRowRangeRequest": {
"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange",
"id": "DropRowRangeRequest",
Expand Down Expand Up @@ -3003,6 +3044,93 @@
},
"type": "object"
},
"GoogleBigtableAdminV2TypeAggregate": {
"description": "A value that combines incremental updates into a summarized value. Data is never directly written or read using type `Aggregate`. Writes will provide either the `input_type` or `state_type`, and reads will always return the `state_type` .",
"id": "GoogleBigtableAdminV2TypeAggregate",
"properties": {
"inputType": {
"$ref": "Type",
"description": "Type of the inputs that are accumulated by this `Aggregate`, which must specify a full encoding. Use `AddInput` mutations to accumulate new inputs."
},
"stateType": {
"$ref": "Type",
"description": "Output only. Type that holds the internal accumulator state for the `Aggregate`. This is a function of the `input_type` and `aggregator` chosen, and will always specify a full encoding.",
"readOnly": true
},
"sum": {
"$ref": "GoogleBigtableAdminV2TypeAggregateSum",
"description": "Sum aggregator."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeAggregateSum": {
"description": "Computes the sum of the input values. Allowed input: `Int64` State: same as input",
"id": "GoogleBigtableAdminV2TypeAggregateSum",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeBytes": {
"description": "Bytes Values of type `Bytes` are stored in `Value.bytes_value`.",
"id": "GoogleBigtableAdminV2TypeBytes",
"properties": {
"encoding": {
"$ref": "GoogleBigtableAdminV2TypeBytesEncoding",
"description": "The encoding to use when converting to/from lower level types."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeBytesEncoding": {
"description": "Rules used to convert to/from lower level types.",
"id": "GoogleBigtableAdminV2TypeBytesEncoding",
"properties": {
"raw": {
"$ref": "GoogleBigtableAdminV2TypeBytesEncodingRaw",
"description": "Use `Raw` encoding."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeBytesEncodingRaw": {
"description": "Leaves the value \"as-is\" * Natural sort? Yes * Self-delimiting? No * Compatibility? N/A",
"id": "GoogleBigtableAdminV2TypeBytesEncodingRaw",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeInt64": {
"description": "Int64 Values of type `Int64` are stored in `Value.int_value`.",
"id": "GoogleBigtableAdminV2TypeInt64",
"properties": {
"encoding": {
"$ref": "GoogleBigtableAdminV2TypeInt64Encoding",
"description": "The encoding to use when converting to/from lower level types."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeInt64Encoding": {
"description": "Rules used to convert to/from lower level types.",
"id": "GoogleBigtableAdminV2TypeInt64Encoding",
"properties": {
"bigEndianBytes": {
"$ref": "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes",
"description": "Use `BigEndianBytes` encoding."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes": {
"description": "Encodes the value as an 8-byte big endian twos complement `Bytes` value. * Natural sort? No (positive values only) * Self-delimiting? Yes * Compatibility? - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`",
"id": "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes",
"properties": {
"bytesType": {
"$ref": "GoogleBigtableAdminV2TypeBytes",
"description": "The underlying `Bytes` type, which may be able to encode further."
}
},
"type": "object"
},
"HotTablet": {
"description": "A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.",
"id": "HotTablet",
Expand Down Expand Up @@ -3691,6 +3819,12 @@
},
"type": "object"
},
"StandardReadRemoteWrites": {
"description": "Checks that all writes before the consistency token was generated are replicated in every cluster and readable.",
"id": "StandardReadRemoteWrites",
"properties": {},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "Status",
Expand Down Expand Up @@ -3867,6 +4001,25 @@
},
"type": "object"
},
"Type": {
"description": "`Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. This might involve composing a series of steps into an \"encoding chain,\" for example to convert from INT64 -\u003e STRING -\u003e raw bytes. In most cases, a \"link\" in the encoding chain will be based an on existing GoogleSQL conversion function like `CAST`. Each link in the encoding chain also defines the following properties: * Natural sort: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: STRING values sort in the same order as their UTF-8 encodings. - Counterexample: Encoding INT64 to a fixed-width STRING does *not* preserve sort order when dealing with negative numbers. INT64(1) \u003e INT64(-1), but STRING(\"-00001\") \u003e STRING(\"00001). - The overall encoding chain sorts naturally if *every* link does. * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. - The overall encoding chain is self-delimiting if *any* link is. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java?",
"id": "Type",
"properties": {
"aggregateType": {
"$ref": "GoogleBigtableAdminV2TypeAggregate",
"description": "Aggregate"
},
"bytesType": {
"$ref": "GoogleBigtableAdminV2TypeBytes",
"description": "Bytes"
},
"int64Type": {
"$ref": "GoogleBigtableAdminV2TypeInt64",
"description": "Int64"
}
},
"type": "object"
},
"UndeleteTableMetadata": {
"description": "Metadata type for the operation returned by google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable.",
"id": "UndeleteTableMetadata",
Expand Down
Loading

0 comments on commit b0eaf37

Please sign in to comment.