Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2466)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent 73e8b66 commit de61eb7
Show file tree
Hide file tree
Showing 29 changed files with 2,388 additions and 504 deletions.
280 changes: 267 additions & 13 deletions aiplatform/v1beta1/aiplatform-api.json

Large diffs are not rendered by default.

1,096 changes: 1,072 additions & 24 deletions aiplatform/v1beta1/aiplatform-gen.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cloudresourcemanager/v1/cloudresourcemanager-api.json
Expand Up @@ -1171,7 +1171,7 @@
}
}
},
"revision": "20240303",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
Expand Down Expand Up @@ -2079,7 +2079,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion cloudresourcemanager/v1/cloudresourcemanager-gen.go

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

4 changes: 2 additions & 2 deletions cloudresourcemanager/v2/cloudresourcemanager-api.json
Expand Up @@ -450,7 +450,7 @@
}
}
},
"revision": "20240303",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -743,7 +743,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion cloudresourcemanager/v2/cloudresourcemanager-gen.go

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

4 changes: 2 additions & 2 deletions cloudresourcemanager/v2beta1/cloudresourcemanager-api.json
Expand Up @@ -450,7 +450,7 @@
}
}
},
"revision": "20240303",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -743,7 +743,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go

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

6 changes: 3 additions & 3 deletions cloudresourcemanager/v3/cloudresourcemanager-api.json
Expand Up @@ -1805,7 +1805,7 @@
}
}
},
"revision": "20240303",
"revision": "20240310",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2146,7 +2146,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
"type": "object"
},
"updateTime": {
Expand Down Expand Up @@ -2664,7 +2664,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\"",
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this project. Each item in the map must be expressed as \" : \". For example: \"123/environment\" : \"production\", \"123/costCenter\" : \"marketing\" Note: Currently this field is in Preview.",
"type": "object"
},
"updateTime": {
Expand Down
4 changes: 2 additions & 2 deletions cloudresourcemanager/v3/cloudresourcemanager-gen.go

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

196 changes: 136 additions & 60 deletions connectors/v1/connectors-api.json
Expand Up @@ -1113,6 +1113,38 @@
}
}
},
"customConnectors": {
"methods": {
"validateCustomConnectorSpec": {
"description": "Validates a Custom Connector Spec.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customConnectors:validateCustomConnectorSpec",
"httpMethod": "POST",
"id": "connectors.projects.locations.customConnectors.validateCustomConnectorSpec",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. Location at which the custom connector is being created.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/customConnectors:validateCustomConnectorSpec",
"request": {
"$ref": "ValidateCustomConnectorSpecRequest"
},
"response": {
"$ref": "ValidateCustomConnectorSpecResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"endpointAttachments": {
"methods": {
"create": {
Expand Down Expand Up @@ -1545,31 +1577,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a single CustomConnectorVersion.",
"flatPath": "v1/projects/{projectsId}/locations/global/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}",
"httpMethod": "DELETE",
"id": "connectors.projects.locations.global.customConnectors.customConnectorVersions.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/global/customConnectors/[^/]+/customConnectorVersions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets details of a single CustomConnectorVersion.",
"flatPath": "v1/projects/{projectsId}/locations/global/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}",
Expand Down Expand Up @@ -1630,40 +1637,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates the parameters of a CustomConnectorVersion.",
"flatPath": "v1/projects/{projectsId}/locations/global/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}",
"httpMethod": "PATCH",
"id": "connectors.projects.locations.global.customConnectors.customConnectorVersions.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. Identifier. Resource name of the Version. Format: projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}",
"location": "path",
"pattern": "^projects/[^/]+/locations/global/customConnectors/[^/]+/customConnectorVersions/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. Field mask is used to specify the fields to be overwritten in the Connector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. Set the mask as \"*\" for full replacement, which means all fields will be overwritten.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "CustomConnectorVersion"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
Expand Down Expand Up @@ -2354,7 +2327,7 @@
}
}
},
"revision": "20240226",
"revision": "20240305",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -3460,6 +3433,14 @@
"description": "Optional. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`",
"type": "string"
},
"specServerUrls": {
"description": "Output only. Server URLs parsed from the spec.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"state": {
"description": "Output only. State of the custom connector version.",
"enum": [
Expand Down Expand Up @@ -3598,6 +3579,13 @@
"description": "DestinationConfigTemplate defines required destinations supported by the Connector.",
"id": "DestinationConfigTemplate",
"properties": {
"autocompleteSuggestions": {
"description": "Autocomplete suggestions for destination URL field.",
"items": {
"type": "string"
},
"type": "array"
},
"defaultPort": {
"description": "The default port.",
"format": "int32",
Expand Down Expand Up @@ -4178,6 +4166,11 @@
"$ref": "EventingStatus",
"description": "Output only. Current status of eventing.",
"readOnly": true
},
"webhookData": {
"$ref": "WebhookData",
"description": "Output only. Webhook data.",
"readOnly": true
}
},
"type": "object"
Expand Down Expand Up @@ -6977,6 +6970,89 @@
},
"type": "object"
},
"ValidateCustomConnectorSpecRequest": {
"description": "Request message for ConnectorsService.ValidateCustomConnectorSpec",
"id": "ValidateCustomConnectorSpecRequest",
"properties": {
"serviceAccount": {
"description": "Required. Service account to access the spec from Google Cloud Storage.",
"type": "string"
},
"specLocation": {
"description": "Required. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`",
"type": "string"
},
"specType": {
"description": "Required. Spec type of the custom connector spec.",
"enum": [
"CUSTOM_CONNECTOR_TYPE_UNSPECIFIED",
"OPEN_API",
"PROTO"
],
"enumDescriptions": [
"Connector type is not specified.",
"OpenAPI connector.",
"Proto connector."
],
"type": "string"
}
},
"type": "object"
},
"ValidateCustomConnectorSpecResponse": {
"description": "Response message for ConnectorsService.ValidateCustomConnectorSpec",
"id": "ValidateCustomConnectorSpecResponse",
"properties": {
"errorMessage": {
"description": "Error message. The spec is valid if the error message is empty.",
"type": "string"
}
},
"type": "object"
},
"WebhookData": {
"description": "WebhookData has details of webhook configuration.",
"id": "WebhookData",
"properties": {
"additionalVariables": {
"description": "Output only. Additional webhook related field values.",
"items": {
"$ref": "ConfigVariable"
},
"readOnly": true,
"type": "array"
},
"createTime": {
"description": "Output only. Timestamp when the webhook was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"id": {
"description": "Output only. ID to uniquely identify webhook.",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Output only. Name of the Webhook",
"readOnly": true,
"type": "string"
},
"nextRefreshTime": {
"description": "Output only. Next webhook refresh time. Will be null if refresh is not supported.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. Timestamp when the webhook was last updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"WeeklyCycle": {
"description": "Time window specified for weekly operations.",
"id": "WeeklyCycle",
Expand Down

0 comments on commit de61eb7

Please sign in to comment.