update all APIs

Like documented in the README

```
rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8
```
This commit is contained in:
Sebastian Thiel
2024-03-05 18:54:36 +01:00
parent 8a12e9d47e
commit ca974aa0a5
347 changed files with 202580 additions and 50157 deletions

View File

@@ -524,7 +524,7 @@
]
},
"list": {
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
"httpMethod": "GET",
"id": "datastream.projects.locations.operations.list",
@@ -1063,6 +1063,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"run": {
"description": "Use this method to start, resume or recover a stream with a non default CDC strategy. NOTE: This feature is currently experimental.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/streams/{streamsId}:run",
"httpMethod": "POST",
"id": "datastream.projects.locations.streams.run",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Name of the stream resource to start, in the format: projects/{project_id}/locations/{location}/streams/{stream_name}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/streams/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:run",
"request": {
"$ref": "RunStreamRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
@@ -1222,7 +1250,7 @@
}
}
},
"revision": "20230111",
"revision": "20240221",
"rootUrl": "https://datastream.googleapis.com/",
"schemas": {
"AvroFileFormat": {
@@ -1246,6 +1274,10 @@
"postgresqlExcludedObjects": {
"$ref": "PostgresqlRdbms",
"description": "PostgreSQL data source objects to avoid backfilling."
},
"sqlServerExcludedObjects": {
"$ref": "SqlServerRdbms",
"description": "SQLServer data source objects to avoid backfilling"
}
},
"type": "object"
@@ -1275,7 +1307,7 @@
"type": "string"
},
"state": {
"description": "Backfill job state.",
"description": "Output only. Backfill job state.",
"enum": [
"STATE_UNSPECIFIED",
"NOT_STARTED",
@@ -1296,6 +1328,7 @@
"Backfill completed successfully.",
"Backfill job failed since the table structure is currently unsupported for backfill."
],
"readOnly": true,
"type": "string"
},
"trigger": {
@@ -1322,6 +1355,7 @@
"type": "object"
},
"BigQueryDestinationConfig": {
"description": "BigQuery destination configuration",
"id": "BigQueryDestinationConfig",
"properties": {
"dataFreshness": {
@@ -1352,6 +1386,25 @@
"properties": {},
"type": "object"
},
"CdcStrategy": {
"description": "The strategy that the stream uses for CDC replication.",
"id": "CdcStrategy",
"properties": {
"mostRecentStartPosition": {
"$ref": "MostRecentStartPosition",
"description": "Optional. Start replicating from the most recent position in the source."
},
"nextAvailableStartPosition": {
"$ref": "NextAvailableStartPosition",
"description": "Optional. Resume replication from the next available position in the source."
},
"specificStartPosition": {
"$ref": "SpecificStartPosition",
"description": "Optional. Start replicating from a specific position in the source."
}
},
"type": "object"
},
"ConnectionProfile": {
"description": "A set of reusable connection configurations to be used as a source or destination for a stream.",
"id": "ConnectionProfile",
@@ -1406,6 +1459,10 @@
"$ref": "PrivateConnectivity",
"description": "Private connectivity."
},
"sqlServerProfile": {
"$ref": "SqlServerProfile",
"description": "SQLServer Connection Profile configuration."
},
"staticServiceIpConnectivity": {
"$ref": "StaticServiceIpConnectivity",
"description": "Static Service IP connectivity."
@@ -1610,7 +1667,7 @@
"description": "AVRO file format configuration."
},
"fileRotationInterval": {
"description": "The maximum duration for which new events are added before a file is closed and a new file is created.",
"description": "The maximum duration for which new events are added before a file is closed and a new file is created. Values within the range of 15-60 seconds are allowed.",
"format": "google-duration",
"type": "string"
},
@@ -1835,7 +1892,7 @@
"type": "object"
},
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"description": "A resource that represents a Google Cloud location.",
"id": "Location",
"properties": {
"displayName": {
@@ -1879,6 +1936,12 @@
},
"type": "object"
},
"MostRecentStartPosition": {
"description": "CDC strategy to start replicating from the most recent position in the source.",
"id": "MostRecentStartPosition",
"properties": {},
"type": "object"
},
"MysqlColumn": {
"description": "MySQL Column.",
"id": "MysqlColumn",
@@ -1909,9 +1972,19 @@
"format": "int32",
"type": "integer"
},
"precision": {
"description": "Column precision.",
"format": "int32",
"type": "integer"
},
"primaryKey": {
"description": "Whether or not the column represents a primary key.",
"type": "boolean"
},
"scale": {
"description": "Column scale.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
@@ -1934,6 +2007,22 @@
},
"type": "object"
},
"MysqlLogPosition": {
"description": "MySQL log position",
"id": "MysqlLogPosition",
"properties": {
"logFile": {
"description": "Required. The binary log file name.",
"type": "string"
},
"logPosition": {
"description": "Optional. The position within the binary log file. Default is head of file.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"MysqlObjectIdentifier": {
"description": "Mysql data source object identifier.",
"id": "MysqlObjectIdentifier",
@@ -2003,6 +2092,11 @@
"$ref": "MysqlRdbms",
"description": "MySQL objects to retrieve from the source."
},
"maxConcurrentBackfillTasks": {
"description": "Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.",
"format": "int32",
"type": "integer"
},
"maxConcurrentCdcTasks": {
"description": "Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.",
"format": "int32",
@@ -2063,6 +2157,12 @@
},
"type": "object"
},
"NextAvailableStartPosition": {
"description": "CDC strategy to resume replication from the next available position in the source.",
"id": "NextAvailableStartPosition",
"properties": {},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
@@ -2092,7 +2192,7 @@
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"type": "object"
}
},
@@ -2228,6 +2328,10 @@
"description": "Required. Hostname for the Oracle connection.",
"type": "string"
},
"oracleSslConfig": {
"$ref": "OracleSslConfig",
"description": "Optional. SSL configuration for the Oracle connection."
},
"password": {
"description": "Required. Password for the Oracle connection.",
"type": "string"
@@ -2276,6 +2380,18 @@
},
"type": "object"
},
"OracleScnPosition": {
"description": "Oracle SCN position",
"id": "OracleScnPosition",
"properties": {
"scn": {
"description": "Required. SCN number from where Logs will be read",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"OracleSourceConfig": {
"description": "Oracle data source configuration",
"id": "OracleSourceConfig",
@@ -2292,14 +2408,35 @@
"$ref": "OracleRdbms",
"description": "Oracle objects to include in the stream."
},
"maxConcurrentBackfillTasks": {
"description": "Maximum number of concurrent backfill tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.",
"format": "int32",
"type": "integer"
},
"maxConcurrentCdcTasks": {
"description": "Maximum number of concurrent CDC tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.",
"description": "Maximum number of concurrent CDC tasks. The number should be non-negative. If not set (or set to 0), the system's default value is used.",
"format": "int32",
"type": "integer"
},
"streamLargeObjects": {
"$ref": "StreamLargeObjects",
"description": "Stream large object values. NOTE: This feature is currently experimental."
"description": "Stream large object values."
}
},
"type": "object"
},
"OracleSslConfig": {
"description": "Oracle SSL configuration information.",
"id": "OracleSslConfig",
"properties": {
"caCertificate": {
"description": "Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.",
"type": "string"
},
"caCertificateSet": {
"description": "Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.",
"readOnly": true,
"type": "boolean"
}
},
"type": "object"
@@ -2452,6 +2589,11 @@
"$ref": "PostgresqlRdbms",
"description": "PostgreSQL objects to include in the stream."
},
"maxConcurrentBackfillTasks": {
"description": "Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used.",
"format": "int32",
"type": "integer"
},
"publication": {
"description": "Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects.",
"type": "string"
@@ -2601,12 +2743,23 @@
},
"type": "object"
},
"RunStreamRequest": {
"description": "Request message for running a stream.",
"id": "RunStreamRequest",
"properties": {
"cdcStrategy": {
"$ref": "CdcStrategy",
"description": "Optional. The CDC strategy of the stream. If not set, the system's default value will be used."
}
},
"type": "object"
},
"SingleTargetDataset": {
"description": "A single target dataset to which all data will be streamed.",
"id": "SingleTargetDataset",
"properties": {
"datasetId": {
"description": "The dataset ID of the target dataset.",
"description": "The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.",
"type": "string"
}
},
@@ -2631,6 +2784,10 @@
"sourceConnectionProfile": {
"description": "Required. Source connection profile resoource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`",
"type": "string"
},
"sqlServerSourceConfig": {
"$ref": "SqlServerSourceConfig",
"description": "SQLServer data source configuration."
}
},
"type": "object"
@@ -2640,7 +2797,8 @@
"id": "SourceHierarchyDatasets",
"properties": {
"datasetTemplate": {
"$ref": "DatasetTemplate"
"$ref": "DatasetTemplate",
"description": "The dataset template to use for dynamic dataset creation."
}
},
"type": "object"
@@ -2660,6 +2818,186 @@
"postgresqlIdentifier": {
"$ref": "PostgresqlObjectIdentifier",
"description": "PostgreSQL data source object identifier."
},
"sqlServerIdentifier": {
"$ref": "SqlServerObjectIdentifier",
"description": "SQLServer data source object identifier."
}
},
"type": "object"
},
"SpecificStartPosition": {
"description": "CDC strategy to start replicating from a specific position in the source.",
"id": "SpecificStartPosition",
"properties": {
"mysqlLogPosition": {
"$ref": "MysqlLogPosition",
"description": "MySQL specific log position to start replicating from."
},
"oracleScnPosition": {
"$ref": "OracleScnPosition",
"description": "Oracle SCN to start replicating from."
}
},
"type": "object"
},
"SqlServerColumn": {
"description": "SQLServer Column.",
"id": "SqlServerColumn",
"properties": {
"column": {
"description": "Column name.",
"type": "string"
},
"dataType": {
"description": "The SQLServer data type.",
"type": "string"
},
"length": {
"description": "Column length.",
"format": "int32",
"type": "integer"
},
"nullable": {
"description": "Whether or not the column can accept a null value.",
"type": "boolean"
},
"ordinalPosition": {
"description": "The ordinal position of the column in the table.",
"format": "int32",
"type": "integer"
},
"precision": {
"description": "Column precision.",
"format": "int32",
"type": "integer"
},
"primaryKey": {
"description": "Whether or not the column represents a primary key.",
"type": "boolean"
},
"scale": {
"description": "Column scale.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"SqlServerObjectIdentifier": {
"description": "SQLServer data source object identifier.",
"id": "SqlServerObjectIdentifier",
"properties": {
"schema": {
"description": "Required. The schema name.",
"type": "string"
},
"table": {
"description": "Required. The table name.",
"type": "string"
}
},
"type": "object"
},
"SqlServerProfile": {
"description": "SQLServer database profile",
"id": "SqlServerProfile",
"properties": {
"database": {
"description": "Required. Database for the SQLServer connection.",
"type": "string"
},
"hostname": {
"description": "Required. Hostname for the SQLServer connection.",
"type": "string"
},
"password": {
"description": "Required. Password for the SQLServer connection.",
"type": "string"
},
"port": {
"description": "Port for the SQLServer connection, default value is 1433.",
"format": "int32",
"type": "integer"
},
"username": {
"description": "Required. Username for the SQLServer connection.",
"type": "string"
}
},
"type": "object"
},
"SqlServerRdbms": {
"description": "SQLServer database structure.",
"id": "SqlServerRdbms",
"properties": {
"schemas": {
"description": "SQLServer schemas in the database server.",
"items": {
"$ref": "SqlServerSchema"
},
"type": "array"
}
},
"type": "object"
},
"SqlServerSchema": {
"description": "SQLServer schema.",
"id": "SqlServerSchema",
"properties": {
"schema": {
"description": "Schema name.",
"type": "string"
},
"tables": {
"description": "Tables in the schema.",
"items": {
"$ref": "SqlServerTable"
},
"type": "array"
}
},
"type": "object"
},
"SqlServerSourceConfig": {
"description": "SQLServer data source configuration",
"id": "SqlServerSourceConfig",
"properties": {
"excludeObjects": {
"$ref": "SqlServerRdbms",
"description": "SQLServer objects to exclude from the stream."
},
"includeObjects": {
"$ref": "SqlServerRdbms",
"description": "SQLServer objects to include in the stream."
},
"maxConcurrentBackfillTasks": {
"description": "Max concurrent backfill tasks.",
"format": "int32",
"type": "integer"
},
"maxConcurrentCdcTasks": {
"description": "Max concurrent CDC tasks.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"SqlServerTable": {
"description": "SQLServer table.",
"id": "SqlServerTable",
"properties": {
"columns": {
"description": "SQLServer columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.",
"items": {
"$ref": "SqlServerColumn"
},
"type": "array"
},
"table": {
"description": "Table name.",
"type": "string"
}
},
"type": "object"
@@ -2682,7 +3020,7 @@
"type": "object"
},
"StaticServiceIpConnectivity": {
"description": "Static IP address connectivity.",
"description": "Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile.",
"id": "StaticServiceIpConnectivity",
"properties": {},
"type": "object"
@@ -2776,6 +3114,12 @@
"description": "Labels.",
"type": "object"
},
"lastRecoveryTime": {
"description": "Output only. If the stream was recovered, the time of the last recovery. Note: This field is currently experimental.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Output only. The stream's name.",
"readOnly": true,
@@ -2890,19 +3234,22 @@
"type": "array"
},
"state": {
"description": "Validation execution status.",
"description": "Output only. Validation execution status.",
"enum": [
"STATE_UNSPECIFIED",
"NOT_EXECUTED",
"FAILED",
"PASSED"
"PASSED",
"WARNING"
],
"enumDescriptions": [
"Unspecified state.",
"Validation did not execute.",
"Validation failed.",
"Validation passed."
"Validation passed.",
"Validation executed with warnings."
],
"readOnly": true,
"type": "string"
}
},