Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2540)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 22, 2024
1 parent 30d8c87 commit 6825bb8
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 23 deletions.
24 changes: 23 additions & 1 deletion connectors/v2/connectors-api.json
Expand Up @@ -660,7 +660,7 @@
}
}
},
"revision": "20240319",
"revision": "20240415",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AccessCredentials": {
Expand Down Expand Up @@ -861,6 +861,28 @@
"name": {
"description": "The name of the entity type.",
"type": "string"
},
"operations": {
"items": {
"enum": [
"OPERATION_UNSPECIFIED",
"LIST",
"GET",
"CREATE",
"UPDATE",
"DELETE"
],
"enumDescriptions": [
"Operation unspecified.",
"This operation means entity type supports LIST method.",
"This operation means entity type supports GET method.",
"This operation means entity type supports CREATE method.",
"This operation means entity type supports UPDATE method.",
"This operation means entity type supports DELETE method."
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
Expand Down
9 changes: 9 additions & 0 deletions connectors/v2/connectors-gen.go

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

58 changes: 51 additions & 7 deletions metastore/v1beta/metastore-api.json
Expand Up @@ -949,7 +949,7 @@
]
},
"queryMetadata": {
"description": "Query DPMS metadata.",
"description": "Query Dataproc Metastore metadata.",
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:queryMetadata",
"httpMethod": "POST",
"id": "metastore.projects.locations.services.queryMetadata",
Expand Down Expand Up @@ -1796,7 +1796,7 @@
}
}
},
"revision": "20240325",
"revision": "20240411",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AlterMetadataResourceLocationRequest": {
Expand Down Expand Up @@ -1891,6 +1891,27 @@
},
"type": "object"
},
"AutoscalingConfig": {
"description": "Represents the autoscaling configuration of a metastore service.",
"id": "AutoscalingConfig",
"properties": {
"autoscalingEnabled": {
"description": "Optional. Whether or not autoscaling is enabled for this service.",
"type": "boolean"
},
"autoscalingFactor": {
"description": "Output only. The scaling factor of a service with autoscaling enabled.",
"format": "float",
"readOnly": true,
"type": "number"
},
"limitConfig": {
"$ref": "LimitConfig",
"description": "Optional. The LimitConfig of the service."
}
},
"type": "object"
},
"AuxiliaryVersionConfig": {
"description": "Configuration information for the auxiliary service versions.",
"id": "AuxiliaryVersionConfig",
Expand Down Expand Up @@ -2123,7 +2144,7 @@
"type": "object"
},
"CloudSQLMigrationConfig": {
"description": "Configuration information for migrating from self-managed hive metastore on GCP using Cloud SQL as the backend database to DPMS.",
"description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.",
"id": "CloudSQLMigrationConfig",
"properties": {
"cdcConfig": {
Expand Down Expand Up @@ -2532,6 +2553,23 @@
},
"type": "object"
},
"LimitConfig": {
"description": "Represents the autoscaling limit configuration of a metastore service.",
"id": "LimitConfig",
"properties": {
"maxScalingFactor": {
"description": "Optional. The highest scaling factor that the service should be autoscaled to.",
"format": "float",
"type": "number"
},
"minScalingFactor": {
"description": "Optional. The lowest scaling factor that the service should be autoscaled to.",
"format": "float",
"type": "number"
}
},
"type": "object"
},
"ListBackupsResponse": {
"description": "Response message for DataprocMetastore.ListBackups.",
"id": "ListBackupsResponse",
Expand Down Expand Up @@ -2939,7 +2977,7 @@
"properties": {
"cloudSqlMigrationConfig": {
"$ref": "CloudSQLMigrationConfig",
"description": "Configuration information specific to migrating from self-managed hive metastore on GCP using Cloud SQL as the backend database to DPMS."
"description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore."
},
"createTime": {
"description": "Output only. The time when the migration execution was started.",
Expand Down Expand Up @@ -2968,7 +3006,7 @@
"enumDescriptions": [
"The phase of the migration execution is unknown.",
"Replication phase refers to the migration phase when Dataproc Metastore is running a pipeline to replicate changes in the customer database to its backend database. During this phase, Dataproc Metastore uses the customer database as the hive metastore backend database.",
"Cutover phase refers to the migration phase when Dataproc Metastore switches to using its own backend database. Migration enters this phase when customer is done migrating all their clusters/workloads to DPMS and triggers CompleteMigration."
"Cutover phase refers to the migration phase when Dataproc Metastore switches to using its own backend database. Migration enters this phase when customer is done migrating all their clusters/workloads to Dataproc Metastore and triggers CompleteMigration."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -3323,6 +3361,10 @@
"description": "Represents the scaling configuration of a metastore service.",
"id": "ScalingConfig",
"properties": {
"autoscalingConfig": {
"$ref": "AutoscalingConfig",
"description": "Optional. The autoscaling configuration."
},
"instanceSize": {
"description": "An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))",
"enum": [
Expand Down Expand Up @@ -3507,7 +3549,8 @@
"SUSPENDED",
"UPDATING",
"DELETING",
"ERROR"
"ERROR",
"MIGRATING"
],
"enumDescriptions": [
"The state of the metastore service is unknown.",
Expand All @@ -3517,7 +3560,8 @@
"The metastore service is suspended and unable to serve queries.",
"The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.",
"The metastore service is undergoing deletion. It cannot be used.",
"The metastore service has encountered an error and cannot be used. The metastore service should be deleted."
"The metastore service has encountered an error and cannot be used. The metastore service should be deleted.",
"The metastore service is processing a managed migration."
],
"readOnly": true,
"type": "string"
Expand Down
140 changes: 125 additions & 15 deletions metastore/v1beta/metastore-gen.go

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

0 comments on commit 6825bb8

Please sign in to comment.