Skip to content

Commit

Permalink
feat(connectors): update the API
Browse files Browse the repository at this point in the history
#### connectors:v1

The following keys were added:
- resources.projects.resources.locations.methods.getRegionalSettings.description
- resources.projects.resources.locations.methods.getRegionalSettings.flatPath
- resources.projects.resources.locations.methods.getRegionalSettings.httpMethod
- resources.projects.resources.locations.methods.getRegionalSettings.id
- resources.projects.resources.locations.methods.getRegionalSettings.parameterOrder
- resources.projects.resources.locations.methods.getRegionalSettings.parameters.name.description
- resources.projects.resources.locations.methods.getRegionalSettings.parameters.name.location
- resources.projects.resources.locations.methods.getRegionalSettings.parameters.name.pattern
- resources.projects.resources.locations.methods.getRegionalSettings.parameters.name.required
- resources.projects.resources.locations.methods.getRegionalSettings.parameters.name.type
- resources.projects.resources.locations.methods.getRegionalSettings.path
- resources.projects.resources.locations.methods.getRegionalSettings.response.$ref
- resources.projects.resources.locations.methods.getRegionalSettings.scopes
- resources.projects.resources.locations.methods.updateRegionalSettings.description
- resources.projects.resources.locations.methods.updateRegionalSettings.flatPath
- resources.projects.resources.locations.methods.updateRegionalSettings.httpMethod
- resources.projects.resources.locations.methods.updateRegionalSettings.id
- resources.projects.resources.locations.methods.updateRegionalSettings.parameterOrder
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.name.description
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.name.location
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.name.pattern
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.name.required
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.name.type
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.updateMask.description
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.updateMask.format
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.updateMask.location
- resources.projects.resources.locations.methods.updateRegionalSettings.parameters.updateMask.type
- resources.projects.resources.locations.methods.updateRegionalSettings.path
- resources.projects.resources.locations.methods.updateRegionalSettings.request.$ref
- resources.projects.resources.locations.methods.updateRegionalSettings.response.$ref
- resources.projects.resources.locations.methods.updateRegionalSettings.scopes
- schemas.ConnectorInfraConfig.properties.deploymentModel.description
- schemas.ConnectorInfraConfig.properties.deploymentModel.enum
- schemas.ConnectorInfraConfig.properties.deploymentModel.enumDescriptions
- schemas.ConnectorInfraConfig.properties.deploymentModel.type
- schemas.Destination.properties.serviceAttachment.deprecated
- schemas.NetworkConfig.description
- schemas.NetworkConfig.id
- schemas.NetworkConfig.properties.egressIps.description
- schemas.NetworkConfig.properties.egressIps.items.type
- schemas.NetworkConfig.properties.egressIps.readOnly
- schemas.NetworkConfig.properties.egressIps.type
- schemas.NetworkConfig.properties.egressMode.description
- schemas.NetworkConfig.properties.egressMode.enum
- schemas.NetworkConfig.properties.egressMode.enumDescriptions
- schemas.NetworkConfig.properties.egressMode.type
- schemas.NetworkConfig.type
- schemas.RegionalSettings.description
- schemas.RegionalSettings.id
- schemas.RegionalSettings.properties.name.description
- schemas.RegionalSettings.properties.name.readOnly
- schemas.RegionalSettings.properties.name.type
- schemas.RegionalSettings.properties.networkConfig.$ref
- schemas.RegionalSettings.properties.networkConfig.description
- schemas.RegionalSettings.type
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 19, 2023
1 parent 92abcb6 commit 859f67e
Show file tree
Hide file tree
Showing 2 changed files with 346 additions and 1 deletion.
121 changes: 120 additions & 1 deletion discovery/connectors-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,31 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getRegionalSettings": {
"description": "GetRegionalSettings gets settings of a region. RegionalSettings is a singleton resource.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/regionalSettings",
"httpMethod": "GET",
"id": "connectors.projects.locations.getRegionalSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The resource name of the Regional Settings.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/regionalSettings$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "RegionalSettings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getRuntimeConfig": {
"description": "Gets the runtimeConfig of a location. RuntimeConfig is a singleton resource for each location.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimeConfig",
Expand Down Expand Up @@ -199,6 +224,40 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateRegionalSettings": {
"description": "Update the settings of a region.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/regionalSettings",
"httpMethod": "PATCH",
"id": "connectors.projects.locations.updateRegionalSettings",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/regionalSettings",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/regionalSettings$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. The list of fields to update.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"request": {
"$ref": "RegionalSettings"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
Expand Down Expand Up @@ -1773,7 +1832,7 @@
}
}
},
"revision": "20230920",
"revision": "20231011",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2460,6 +2519,20 @@
"format": "int64",
"type": "string"
},
"deploymentModel": {
"description": "Indicate whether connector is deployed on GKE/CloudRun",
"enum": [
"DEPLOYMENT_MODEL_UNSPECIFIED",
"GKE_MST",
"CLOUD_RUN_MST"
],
"enumDescriptions": [
"Deployment model is not specified.",
"Default model gke mst.",
"Cloud run mst."
],
"type": "string"
},
"hpaConfig": {
"$ref": "HPAConfig",
"description": "HPA autoscaling config."
Expand Down Expand Up @@ -2681,6 +2754,7 @@
"type": "integer"
},
"serviceAttachment": {
"deprecated": true,
"description": "PSC service attachments. Format: projects/*/regions/*/serviceAttachments/*",
"type": "string"
}
Expand Down Expand Up @@ -4319,6 +4393,35 @@
},
"type": "object"
},
"NetworkConfig": {
"description": "Regional Network Config.",
"id": "NetworkConfig",
"properties": {
"egressIps": {
"description": "Output only. Egress IPs",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"egressMode": {
"description": "Optional. Egress mode for the network.",
"enum": [
"NETWORK_EGRESS_MODE_UNSPECIFIED",
"AUTO_IP",
"STATIC_IP"
],
"enumDescriptions": [
"Egress mode unspecified.",
"Network egress through auto assigned IPs.",
"Network egress through static IPs."
],
"type": "string"
}
},
"type": "object"
},
"NodeConfig": {
"description": "Node configuration for the connection.",
"id": "NodeConfig",
Expand Down Expand Up @@ -4600,6 +4703,22 @@
"properties": {},
"type": "object"
},
"RegionalSettings": {
"description": "Regional Settings details.",
"id": "RegionalSettings",
"properties": {
"name": {
"description": "Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/regionalSettings",
"readOnly": true,
"type": "string"
},
"networkConfig": {
"$ref": "NetworkConfig",
"description": "Optional. Regional network config."
}
},
"type": "object"
},
"RepairEventingRequest": {
"description": "Request message for ConnectorsService.RepairEventing",
"id": "RepairEventingRequest",
Expand Down
Loading

0 comments on commit 859f67e

Please sign in to comment.