Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2683)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jul 11, 2024
1 parent eba243a commit 1e3757d
Show file tree
Hide file tree
Showing 12 changed files with 526 additions and 128 deletions.
183 changes: 181 additions & 2 deletions bigtableadmin/v2/bigtableadmin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@
],
"parameters": {
"parent": {
"description": "Required. The name of the destination cluster that will contain the backup copy. The cluster must already exists. Values are of the form: `projects/{project}/instances/{instance}/clusters/{cluster}`.",
"description": "Required. The name of the destination cluster that will contain the backup copy. The cluster must already exist. Values are of the form: `projects/{project}/instances/{instance}/clusters/{cluster}`.",
"location": "path",
"pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2194,7 +2194,7 @@
}
}
},
"revision": "20240628",
"revision": "20240703",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
Expand Down Expand Up @@ -3144,10 +3144,22 @@
"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": {
"hllppUniqueCount": {
"$ref": "GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount",
"description": "HyperLogLogPlusPlusUniqueCount aggregator."
},
"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."
},
"max": {
"$ref": "GoogleBigtableAdminV2TypeAggregateMax",
"description": "Max aggregator."
},
"min": {
"$ref": "GoogleBigtableAdminV2TypeAggregateMin",
"description": "Min aggregator."
},
"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.",
Expand All @@ -3160,12 +3172,47 @@
},
"type": "object"
},
"GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount": {
"description": "Computes an approximate unique count over the input values. When using raw data as input, be careful to use a consistent encoding. Otherwise the same value encoded differently could count more than once, or two distinct values could count as identical. Input: Any, or omit for Raw State: TBD Special state conversions: `Int64` (the unique count estimate)",
"id": "GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeAggregateMax": {
"description": "Computes the max of the input values. Allowed input: `Int64` State: same as input",
"id": "GoogleBigtableAdminV2TypeAggregateMax",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeAggregateMin": {
"description": "Computes the min of the input values. Allowed input: `Int64` State: same as input",
"id": "GoogleBigtableAdminV2TypeAggregateMin",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeAggregateSum": {
"description": "Computes the sum of the input values. Allowed input: `Int64` State: same as input",
"id": "GoogleBigtableAdminV2TypeAggregateSum",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeArray": {
"description": "An ordered list of elements of a given type. Values of type `Array` are stored in `Value.array_value`.",
"id": "GoogleBigtableAdminV2TypeArray",
"properties": {
"elementType": {
"$ref": "Type",
"description": "The type of the elements in the array. This must not be `Array`."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeBool": {
"description": "bool Values of type `Bool` are stored in `Value.bool_value`.",
"id": "GoogleBigtableAdminV2TypeBool",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeBytes": {
"description": "Bytes Values of type `Bytes` are stored in `Value.bytes_value`.",
"id": "GoogleBigtableAdminV2TypeBytes",
Expand Down Expand Up @@ -3194,6 +3241,24 @@
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeDate": {
"description": "Date Values of type `Date` are stored in `Value.date_value`.",
"id": "GoogleBigtableAdminV2TypeDate",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeFloat32": {
"description": "Float32 Values of type `Float32` are stored in `Value.float_value`.",
"id": "GoogleBigtableAdminV2TypeFloat32",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeFloat64": {
"description": "Float64 Values of type `Float64` are stored in `Value.float_value`.",
"id": "GoogleBigtableAdminV2TypeFloat64",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeInt64": {
"description": "Int64 Values of type `Int64` are stored in `Value.int_value`.",
"id": "GoogleBigtableAdminV2TypeInt64",
Expand Down Expand Up @@ -3227,6 +3292,84 @@
},
"type": "object"
},
"GoogleBigtableAdminV2TypeMap": {
"description": "A mapping of keys to values of a given type. Values of type `Map` are stored in a `Value.array_value` where each entry is another `Value.array_value` with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the _last_ value takes precedence.",
"id": "GoogleBigtableAdminV2TypeMap",
"properties": {
"keyType": {
"$ref": "Type",
"description": "The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types."
},
"valueType": {
"$ref": "Type",
"description": "The type of the values in a map."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeString": {
"description": "String Values of type `String` are stored in `Value.string_value`.",
"id": "GoogleBigtableAdminV2TypeString",
"properties": {
"encoding": {
"$ref": "GoogleBigtableAdminV2TypeStringEncoding",
"description": "The encoding to use when converting to/from lower level types."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeStringEncoding": {
"description": "Rules used to convert to/from lower level types.",
"id": "GoogleBigtableAdminV2TypeStringEncoding",
"properties": {
"utf8Bytes": {
"$ref": "GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes",
"description": "Use `Utf8Bytes` encoding."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes": {
"description": "UTF-8 encoding * Order-preserving? Yes (code point order) * Self-delimiting? No * Compatibility? - BigQuery Federation `TEXT` encoding - HBase `Bytes.toBytes` - Java `String#getBytes(StandardCharsets.UTF_8)`",
"id": "GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes",
"properties": {},
"type": "object"
},
"GoogleBigtableAdminV2TypeStruct": {
"description": "A structured data value, consisting of fields which map to dynamically typed values. Values of type `Struct` are stored in `Value.array_value` where entries are in the same order and number as `field_types`.",
"id": "GoogleBigtableAdminV2TypeStruct",
"properties": {
"fields": {
"description": "The names and types of the fields in this struct.",
"items": {
"$ref": "GoogleBigtableAdminV2TypeStructField"
},
"type": "array"
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeStructField": {
"description": "A struct field and its type.",
"id": "GoogleBigtableAdminV2TypeStructField",
"properties": {
"fieldName": {
"description": "The field name (optional). Fields without a `field_name` are considered anonymous and cannot be referenced by name.",
"type": "string"
},
"type": {
"$ref": "Type",
"description": "The type of values in this field."
}
},
"type": "object"
},
"GoogleBigtableAdminV2TypeTimestamp": {
"description": "Timestamp Values of type `Timestamp` are stored in `Value.timestamp_value`.",
"id": "GoogleBigtableAdminV2TypeTimestamp",
"properties": {},
"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 @@ -4110,13 +4253,49 @@
"$ref": "GoogleBigtableAdminV2TypeAggregate",
"description": "Aggregate"
},
"arrayType": {
"$ref": "GoogleBigtableAdminV2TypeArray",
"description": "Array"
},
"boolType": {
"$ref": "GoogleBigtableAdminV2TypeBool",
"description": "Bool"
},
"bytesType": {
"$ref": "GoogleBigtableAdminV2TypeBytes",
"description": "Bytes"
},
"dateType": {
"$ref": "GoogleBigtableAdminV2TypeDate",
"description": "Date"
},
"float32Type": {
"$ref": "GoogleBigtableAdminV2TypeFloat32",
"description": "Float32"
},
"float64Type": {
"$ref": "GoogleBigtableAdminV2TypeFloat64",
"description": "Float64"
},
"int64Type": {
"$ref": "GoogleBigtableAdminV2TypeInt64",
"description": "Int64"
},
"mapType": {
"$ref": "GoogleBigtableAdminV2TypeMap",
"description": "Map"
},
"stringType": {
"$ref": "GoogleBigtableAdminV2TypeString",
"description": "String"
},
"structType": {
"$ref": "GoogleBigtableAdminV2TypeStruct",
"description": "Struct"
},
"timestampType": {
"$ref": "GoogleBigtableAdminV2TypeTimestamp",
"description": "Timestamp"
}
},
"type": "object"
Expand Down
Loading

0 comments on commit 1e3757d

Please sign in to comment.