Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2445)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Mar 1, 2024
1 parent ced0c09 commit 4fa90c9
Show file tree
Hide file tree
Showing 53 changed files with 10,703 additions and 448 deletions.
48 changes: 42 additions & 6 deletions alloydb/v1beta/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@
}
}
},
"revision": "20240216",
"revision": "20240223",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -1887,7 +1887,7 @@
},
"network": {
"deprecated": true,
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project}/global/networks/{network_id}\". This is required to create a cluster. Deprecated, use network_config.network instead.",
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project}/global/networks/{network_id}`. This is required to create a cluster. Deprecated, use network_config.network instead.",
"type": "string"
},
"networkConfig": {
Expand All @@ -1898,6 +1898,10 @@
"description": "Output only. Cross Region replication config specific to PRIMARY cluster.",
"readOnly": true
},
"pscConfig": {
"$ref": "PscConfig",
"description": "Optional. The configuration for Private Service Connect (PSC) for the cluster."
},
"reconciling": {
"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.",
"readOnly": true,
Expand Down Expand Up @@ -2718,7 +2722,7 @@
"type": "string"
},
"network": {
"description": "Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project_number}/global/networks/{network_id}\". This is required to create a cluster.",
"description": "Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: `projects/{project_number}/global/networks/{network_id}`. This is required to create a cluster.",
"type": "string"
}
},
Expand Down Expand Up @@ -2860,6 +2864,17 @@
},
"type": "object"
},
"PscConfig": {
"description": "PscConfig contains PSC related configuration at a cluster level.",
"id": "PscConfig",
"properties": {
"pscEnabled": {
"description": "Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.",
"type": "boolean"
}
},
"type": "object"
},
"PscInstanceConfig": {
"description": "PscInstanceConfig contains PSC related configuration at an instance level.",
"id": "PscInstanceConfig",
Expand Down Expand Up @@ -2897,7 +2912,7 @@
"type": "array"
},
"serviceAttachmentLink": {
"description": "Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of projects//regions//serviceAttachments/",
"description": "Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`",
"readOnly": true,
"type": "string"
}
Expand All @@ -2916,7 +2931,7 @@
"type": "array"
},
"networkAttachment": {
"description": "The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: \"projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}\". NetworkAttachment has to be provided when the PSC interface is created.",
"description": "The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: `projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}`. NetworkAttachment has to be provided when the PSC interface is created.",
"type": "string"
}
},
Expand Down Expand Up @@ -3805,7 +3820,7 @@
"description": "Properties of the object.",
"type": "any"
},
"description": "Required. Any other additional metadata specific to recommendation",
"description": "Optional. Any other additional metadata specific to recommendation",
"type": "object"
},
"lastRefreshTime": {
Expand Down Expand Up @@ -4086,6 +4101,27 @@
"description": "Identifies the specific error that occurred. REQUIRED",
"type": "string"
},
"errorType": {
"enum": [
"OPERATION_ERROR_TYPE_UNSPECIFIED",
"KMS_KEY_ERROR",
"DATABASE_ERROR",
"STOCKOUT_ERROR",
"CANCELLATION_ERROR",
"SQLSERVER_ERROR",
"INTERNAL_ERROR"
],
"enumDescriptions": [
"UNSPECIFIED means product type is not known or available.",
"key destroyed, expired, not found, unreachable or permission denied.",
"Database is not accessible",
"The zone or region does not have sufficient resources to handle the request at the moment",
"User initiated cancellation",
"SQL server specific error",
"Any other internal error."
],
"type": "string"
},
"message": {
"description": "Additional information about the error encountered. REQUIRED",
"type": "string"
Expand Down
59 changes: 53 additions & 6 deletions alloydb/v1beta/alloydb-gen.go

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

15 changes: 15 additions & 0 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -3936,6 +3936,21 @@
"documentationLink": "https://developers.google.com/manufacturers/",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "marketingplatformadmin:v1alpha",
"name": "marketingplatformadmin",
"version": "v1alpha",
"title": "Google Marketing Platform Admin API",
"description": "marketingplatformadmin.googleapis.com API.",
"discoveryRestUrl": "https://marketingplatformadmin.googleapis.com/$discovery/rest?version=v1alpha",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://developers.google.com/analytics/devguides/config/gmp/v1",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "memcache:v1beta2",
Expand Down
89 changes: 87 additions & 2 deletions appengine/v1/appengine-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1649,9 +1649,76 @@
}
}
}
},
"projects": {
"resources": {
"locations": {
"resources": {
"applications": {
"resources": {
"authorizedDomains": {
"methods": {
"list": {
"description": "Lists all domains the user is authorized to administer.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedDomains",
"httpMethod": "GET",
"id": "appengine.projects.locations.applications.authorizedDomains.list",
"parameterOrder": [
"projectsId",
"locationsId",
"applicationsId"
],
"parameters": {
"applicationsId": {
"description": "Part of `parent`. See documentation of `projectsId`.",
"location": "path",
"required": true,
"type": "string"
},
"locationsId": {
"description": "Part of `parent`. See documentation of `projectsId`.",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "Maximum results to return per page.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"projectsId": {
"description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedDomains",
"response": {
"$ref": "ListAuthorizedDomainsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/appengine.admin",
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
}
}
}
}
}
}
}
}
}
},
"revision": "20240218",
"revision": "20240226",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ApiConfigHandler": {
Expand Down Expand Up @@ -3341,7 +3408,7 @@
"type": "object"
},
"Reasons": {
"description": "Containers transition between and within states based on reasons sent from various systems. CCFE will provide the CLH with reasons for the current state per system.The current systems that CCFE supports are: Service Management (Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud Billing API)",
"description": "Containers transition between and within states based on reasons sent from various systems. CCFE will provide the CLH with reasons for the current state per system.The current systems that CCFE supports are: Service Management (Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud Billing API) Service Activation (Service Controller)",
"id": "Reasons",
"properties": {
"abuse": {
Expand Down Expand Up @@ -3393,6 +3460,24 @@
],
"type": "string"
},
"serviceActivation": {
"description": "Consumer Container denotes if the service is active within a project or not. This information could be used to clean up resources in case service in DISABLED_FULL i.e. Service is inactive \u003e 30 days.",
"enum": [
"SERVICE_ACTIVATION_STATUS_UNSPECIFIED",
"SERVICE_ACTIVATION_ENABLED",
"SERVICE_ACTIVATION_DISABLED",
"SERVICE_ACTIVATION_DISABLED_FULL",
"SERVICE_ACTIVATION_UNKNOWN_REASON"
],
"enumDescriptions": [
"Default Unspecified status",
"Service is active in the project.",
"Service is disabled in the project recently i.e., within last 24 hours.",
"Service has been disabled for configured grace_period (default 30 days).",
"Happens when PSM cannot determine the status of service in a project Could happen due to variety of reasons like PERMISSION_DENIED or Project got deleted etc."
],
"type": "string"
},
"serviceManagement": {
"enum": [
"SERVICE_MANAGEMENT_UNKNOWN_REASON",
Expand Down
Loading

0 comments on commit 4fa90c9

Please sign in to comment.