Skip to content

Commit 6825bb8

Browse files
feat(all): auto-regenerate discovery clients (#2540)
1 parent 30d8c87 commit 6825bb8

File tree

4 files changed

+208
-23
lines changed

4 files changed

+208
-23
lines changed

connectors/v2/connectors-api.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@
660660
}
661661
}
662662
},
663-
"revision": "20240319",
663+
"revision": "20240415",
664664
"rootUrl": "https://connectors.googleapis.com/",
665665
"schemas": {
666666
"AccessCredentials": {
@@ -861,6 +861,28 @@
861861
"name": {
862862
"description": "The name of the entity type.",
863863
"type": "string"
864+
},
865+
"operations": {
866+
"items": {
867+
"enum": [
868+
"OPERATION_UNSPECIFIED",
869+
"LIST",
870+
"GET",
871+
"CREATE",
872+
"UPDATE",
873+
"DELETE"
874+
],
875+
"enumDescriptions": [
876+
"Operation unspecified.",
877+
"This operation means entity type supports LIST method.",
878+
"This operation means entity type supports GET method.",
879+
"This operation means entity type supports CREATE method.",
880+
"This operation means entity type supports UPDATE method.",
881+
"This operation means entity type supports DELETE method."
882+
],
883+
"type": "string"
884+
},
885+
"type": "array"
864886
}
865887
},
866888
"type": "object"

connectors/v2/connectors-gen.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metastore/v1beta/metastore-api.json

Lines changed: 51 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@
949949
]
950950
},
951951
"queryMetadata": {
952-
"description": "Query DPMS metadata.",
952+
"description": "Query Dataproc Metastore metadata.",
953953
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:queryMetadata",
954954
"httpMethod": "POST",
955955
"id": "metastore.projects.locations.services.queryMetadata",
@@ -1796,7 +1796,7 @@
17961796
}
17971797
}
17981798
},
1799-
"revision": "20240325",
1799+
"revision": "20240411",
18001800
"rootUrl": "https://metastore.googleapis.com/",
18011801
"schemas": {
18021802
"AlterMetadataResourceLocationRequest": {
@@ -1891,6 +1891,27 @@
18911891
},
18921892
"type": "object"
18931893
},
1894+
"AutoscalingConfig": {
1895+
"description": "Represents the autoscaling configuration of a metastore service.",
1896+
"id": "AutoscalingConfig",
1897+
"properties": {
1898+
"autoscalingEnabled": {
1899+
"description": "Optional. Whether or not autoscaling is enabled for this service.",
1900+
"type": "boolean"
1901+
},
1902+
"autoscalingFactor": {
1903+
"description": "Output only. The scaling factor of a service with autoscaling enabled.",
1904+
"format": "float",
1905+
"readOnly": true,
1906+
"type": "number"
1907+
},
1908+
"limitConfig": {
1909+
"$ref": "LimitConfig",
1910+
"description": "Optional. The LimitConfig of the service."
1911+
}
1912+
},
1913+
"type": "object"
1914+
},
18941915
"AuxiliaryVersionConfig": {
18951916
"description": "Configuration information for the auxiliary service versions.",
18961917
"id": "AuxiliaryVersionConfig",
@@ -2123,7 +2144,7 @@
21232144
"type": "object"
21242145
},
21252146
"CloudSQLMigrationConfig": {
2126-
"description": "Configuration information for migrating from self-managed hive metastore on GCP using Cloud SQL as the backend database to DPMS.",
2147+
"description": "Configuration information for migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.",
21272148
"id": "CloudSQLMigrationConfig",
21282149
"properties": {
21292150
"cdcConfig": {
@@ -2532,6 +2553,23 @@
25322553
},
25332554
"type": "object"
25342555
},
2556+
"LimitConfig": {
2557+
"description": "Represents the autoscaling limit configuration of a metastore service.",
2558+
"id": "LimitConfig",
2559+
"properties": {
2560+
"maxScalingFactor": {
2561+
"description": "Optional. The highest scaling factor that the service should be autoscaled to.",
2562+
"format": "float",
2563+
"type": "number"
2564+
},
2565+
"minScalingFactor": {
2566+
"description": "Optional. The lowest scaling factor that the service should be autoscaled to.",
2567+
"format": "float",
2568+
"type": "number"
2569+
}
2570+
},
2571+
"type": "object"
2572+
},
25352573
"ListBackupsResponse": {
25362574
"description": "Response message for DataprocMetastore.ListBackups.",
25372575
"id": "ListBackupsResponse",
@@ -2939,7 +2977,7 @@
29392977
"properties": {
29402978
"cloudSqlMigrationConfig": {
29412979
"$ref": "CloudSQLMigrationConfig",
2942-
"description": "Configuration information specific to migrating from self-managed hive metastore on GCP using Cloud SQL as the backend database to DPMS."
2980+
"description": "Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore."
29432981
},
29442982
"createTime": {
29452983
"description": "Output only. The time when the migration execution was started.",
@@ -2968,7 +3006,7 @@
29683006
"enumDescriptions": [
29693007
"The phase of the migration execution is unknown.",
29703008
"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.",
2971-
"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."
3009+
"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."
29723010
],
29733011
"readOnly": true,
29743012
"type": "string"
@@ -3323,6 +3361,10 @@
33233361
"description": "Represents the scaling configuration of a metastore service.",
33243362
"id": "ScalingConfig",
33253363
"properties": {
3364+
"autoscalingConfig": {
3365+
"$ref": "AutoscalingConfig",
3366+
"description": "Optional. The autoscaling configuration."
3367+
},
33263368
"instanceSize": {
33273369
"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))",
33283370
"enum": [
@@ -3507,7 +3549,8 @@
35073549
"SUSPENDED",
35083550
"UPDATING",
35093551
"DELETING",
3510-
"ERROR"
3552+
"ERROR",
3553+
"MIGRATING"
35113554
],
35123555
"enumDescriptions": [
35133556
"The state of the metastore service is unknown.",
@@ -3517,7 +3560,8 @@
35173560
"The metastore service is suspended and unable to serve queries.",
35183561
"The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.",
35193562
"The metastore service is undergoing deletion. It cannot be used.",
3520-
"The metastore service has encountered an error and cannot be used. The metastore service should be deleted."
3563+
"The metastore service has encountered an error and cannot be used. The metastore service should be deleted.",
3564+
"The metastore service is processing a managed migration."
35213565
],
35223566
"readOnly": true,
35233567
"type": "string"

metastore/v1beta/metastore-gen.go

Lines changed: 125 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)