diff --git a/discovery/vmwareengine-v1.json b/discovery/vmwareengine-v1.json index e4ccf231dd..522afb4b27 100644 --- a/discovery/vmwareengine-v1.json +++ b/discovery/vmwareengine-v1.json @@ -134,6 +134,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getDnsBindPermission": { + "description": "Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission", + "httpMethod": "GET", + "id": "vmwareengine.projects.locations.getDnsBindPermission", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "DnsBindPermission" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v1/projects/{projectsId}/locations", @@ -177,13 +202,13 @@ } }, "resources": { - "global": { + "dnsBindPermission": { "methods": { - "getDnsBindPermission": { - "description": "Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.", - "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission", - "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.getDnsBindPermission", + "grant": { + "description": "Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:grant", + "httpMethod": "POST", + "id": "vmwareengine.projects.locations.dnsBindPermission.grant", "parameterOrder": [ "name" ], @@ -191,308 +216,277 @@ "name": { "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", "location": "path", - "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", + "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", "required": true, "type": "string" } }, - "path": "v1/{+name}", + "path": "v1/{+name}:grant", + "request": { + "$ref": "GrantDnsBindPermissionRequest" + }, "response": { - "$ref": "DnsBindPermission" + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "revoke": { + "description": "Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dnsBindPermission:revoke", + "httpMethod": "POST", + "id": "vmwareengine.projects.locations.dnsBindPermission.revoke", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dnsBindPermission$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:revoke", + "request": { + "$ref": "RevokeDnsBindPermissionRequest" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] } - }, - "resources": { - "dnsBindPermission": { - "methods": { - "grant": { - "description": "Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.", - "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission:grant", - "httpMethod": "POST", - "id": "vmwareengine.projects.locations.global.dnsBindPermission.grant", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:grant", - "request": { - "$ref": "GrantDnsBindPermissionRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + } + }, + "networkPeerings": { + "methods": { + "create": { + "description": "Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", + "httpMethod": "POST", + "id": "vmwareengine.projects.locations.networkPeerings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "networkPeeringId": { + "description": "Required. The user-provided identifier of the new `NetworkPeering`. This identifier must be unique among `NetworkPeering` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", + "location": "query", + "type": "string" }, - "revoke": { - "description": "Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.", - "flatPath": "v1/projects/{projectsId}/locations/global/dnsBindPermission:revoke", - "httpMethod": "POST", - "id": "vmwareengine.projects.locations.global.dnsBindPermission.revoke", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/dnsBindPermission$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}:revoke", - "request": { - "$ref": "RevokeDnsBindPermissionRequest" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "parent": { + "description": "Required. The resource name of the location to create the new network peering in. This value is always `global`, because `NetworkPeering` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } - } + }, + "path": "v1/{+parent}/networkPeerings", + "request": { + "$ref": "NetworkPeering" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] }, - "networkPeerings": { - "methods": { - "create": { - "description": "Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings", - "httpMethod": "POST", - "id": "vmwareengine.projects.locations.global.networkPeerings.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "networkPeeringId": { - "description": "Required. The user-provided identifier of the new `NetworkPeering`. This identifier must be unique among `NetworkPeering` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the location to create the new network peering in. This value is always `global`, because `NetworkPeering` is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/networkPeerings", - "request": { - "$ref": "NetworkPeering" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "delete": { + "description": "Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", + "httpMethod": "DELETE", + "id": "vmwareengine.projects.locations.networkPeerings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", + "required": true, + "type": "string" }, - "delete": { - "description": "Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", - "httpMethod": "DELETE", - "id": "vmwareengine.projects.locations.global.networkPeerings.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", + "httpMethod": "GET", + "id": "vmwareengine.projects.locations.networkPeerings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "NetworkPeering" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists `NetworkPeering` resources in a given project. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings", + "httpMethod": "GET", + "id": "vmwareengine.projects.locations.networkPeerings.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-peering` by specifying `name != \"example-peering\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-peering\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-peering-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-peering-2\") ```", + "location": "query", + "type": "string" }, - "get": { - "description": "Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", - "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.networkPeerings.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "NetworkPeering" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] + "orderBy": { + "description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of network peerings to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", + "format": "int32", + "location": "query", + "type": "integer" }, + "pageToken": { + "description": "A page token, received from a previous `ListNetworkPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPeerings` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/networkPeerings", + "response": { + "$ref": "ListNetworkPeeringsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}", + "httpMethod": "PATCH", + "id": "vmwareengine.projects.locations.networkPeerings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the `NetworkPeering` 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. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "NetworkPeering" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "peeringRoutes": { + "methods": { "list": { - "description": "Lists `NetworkPeering` resources in a given project.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings", + "description": "Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/networkPeerings/{networkPeeringsId}/peeringRoutes", "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.networkPeerings.list", + "id": "vmwareengine.projects.locations.networkPeerings.peeringRoutes.list", "parameterOrder": [ "parent" ], "parameters": { "filter": { - "description": "A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-peering` by specifying `name != \"example-peering\"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = \"example-peering\") (createTime > \"2021-04-12T08:15:10.40Z\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = \"example-peering-1\") AND (createTime > \"2021-04-12T08:15:10.40Z\") OR (name = \"example-peering-2\") ```", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, returned results are ordered by `name` in ascending order. You can also sort results in descending order based on the `name` value using `orderBy=\"name desc\"`. Currently, only ordering by `name` is supported.", + "description": "A filter expression that matches resources returned in the response. Currently, only filtering on the `direction` field is supported. To return routes imported from the peer network, provide \"direction=INCOMING\". To return routes exported from the VMware Engine network, provide \"direction=OUTGOING\". Other filter expressions return an error.", "location": "query", "type": "string" }, "pageSize": { - "description": "The maximum number of network peerings to return in one page. The maximum value is coerced to 1000. The default value of this field is 500.", + "description": "The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "A page token, received from a previous `ListNetworkPeerings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListNetworkPeerings` must match the call that provided the page token.", + "description": "A page token, received from a previous `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPeeringRoutes` must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the location (global) to query for network peerings. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global`", + "description": "Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", "location": "path", - "pattern": "^projects/[^/]+/locations/global$", + "pattern": "^projects/[^/]+/locations/[^/]+/networkPeerings/[^/]+$", "required": true, "type": "string" } }, - "path": "v1/{+parent}/networkPeerings", - "response": { - "$ref": "ListNetworkPeeringsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}", - "httpMethod": "PATCH", - "id": "vmwareengine.projects.locations.global.networkPeerings.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Required. Field mask is used to specify the fields to be overwritten in the `NetworkPeering` 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. If the user does not provide a mask then all fields will be overwritten.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "NetworkPeering" - }, + "path": "v1/{+parent}/peeringRoutes", "response": { - "$ref": "Operation" + "$ref": "ListPeeringRoutesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] } - }, - "resources": { - "peeringRoutes": { - "methods": { - "list": { - "description": "Lists the network peering routes exchanged over a peering connection.", - "flatPath": "v1/projects/{projectsId}/locations/global/networkPeerings/{networkPeeringsId}/peeringRoutes", - "httpMethod": "GET", - "id": "vmwareengine.projects.locations.global.networkPeerings.peeringRoutes.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "A filter expression that matches resources returned in the response. Currently, only filtering on the `direction` field is supported. To return routes imported from the peer network, provide \"direction=INCOMING\". To return routes exported from the VMware Engine network, provide \"direction=OUTGOING\". Other filter expressions return an error.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "The maximum number of peering routes to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "A page token, received from a previous `ListPeeringRoutes` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPeeringRoutes` must match the call that provided the page token.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", - "location": "path", - "pattern": "^projects/[^/]+/locations/global/networkPeerings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/peeringRoutes", - "response": { - "$ref": "ListPeeringRoutesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - } } } } @@ -3179,7 +3173,7 @@ } } }, - "revision": "20231025", + "revision": "20240116", "rootUrl": "https://vmwareengine.googleapis.com/", "schemas": { "AuditConfig": { @@ -3239,7 +3233,7 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, @@ -3338,7 +3332,7 @@ "id": "DnsBindPermission", "properties": { "name": { - "description": "Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", + "description": "Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource and location can only be global. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission`", "readOnly": true, "type": "string" }, @@ -4414,7 +4408,7 @@ "type": "boolean" }, "name": { - "description": "Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", + "description": "Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`", "readOnly": true, "type": "string" }, @@ -4670,6 +4664,29 @@ "readOnly": true, "type": "string" }, + "families": { + "description": "Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the `families`.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "kind": { + "description": "Output only. The type of the resource.", + "enum": [ + "KIND_UNSPECIFIED", + "STANDARD", + "STORAGE_ONLY" + ], + "enumDescriptions": [ + "The default value. This value should never be used.", + "Standard HCI node.", + "Storage only Node." + ], + "readOnly": true, + "type": "string" + }, "memoryGb": { "description": "Output only. The amount of physical memory available, defined in GB.", "format": "int32", diff --git a/src/apis/vmwareengine/v1.ts b/src/apis/vmwareengine/v1.ts index 8297f9a403..776ce57e65 100644 --- a/src/apis/vmwareengine/v1.ts +++ b/src/apis/vmwareengine/v1.ts @@ -159,7 +159,7 @@ export namespace vmwareengine_v1 { */ condition?: Schema$Expr; /** - * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. + * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */ members?: string[] | null; /** @@ -222,7 +222,7 @@ export namespace vmwareengine_v1 { */ export interface Schema$DnsBindPermission { /** - * Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission` + * Required. Output only. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource and location can only be global. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission` */ name?: string | null; /** @@ -941,7 +941,7 @@ export namespace vmwareengine_v1 { */ importCustomRoutesWithPublicIp?: boolean | null; /** - * Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` + * Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` */ name?: string | null; /** @@ -1088,6 +1088,14 @@ export namespace vmwareengine_v1 { * Output only. The friendly name for this node type. For example: ve1-standard-72 */ displayName?: string | null; + /** + * Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the `families`. + */ + families?: string[] | null; + /** + * Output only. The type of the resource. + */ + kind?: string | null; /** * Output only. The amount of physical memory available, defined in GB. */ @@ -1612,7 +1620,8 @@ export namespace vmwareengine_v1 { export class Resource$Projects$Locations { context: APIRequestContext; - global: Resource$Projects$Locations$Global; + dnsBindPermission: Resource$Projects$Locations$Dnsbindpermission; + networkPeerings: Resource$Projects$Locations$Networkpeerings; networkPolicies: Resource$Projects$Locations$Networkpolicies; nodeTypes: Resource$Projects$Locations$Nodetypes; operations: Resource$Projects$Locations$Operations; @@ -1621,7 +1630,11 @@ export namespace vmwareengine_v1 { vmwareEngineNetworks: Resource$Projects$Locations$Vmwareenginenetworks; constructor(context: APIRequestContext) { this.context = context; - this.global = new Resource$Projects$Locations$Global(this.context); + this.dnsBindPermission = + new Resource$Projects$Locations$Dnsbindpermission(this.context); + this.networkPeerings = new Resource$Projects$Locations$Networkpeerings( + this.context + ); this.networkPolicies = new Resource$Projects$Locations$Networkpolicies( this.context ); @@ -1723,62 +1736,62 @@ export namespace vmwareengine_v1 { } /** - * Lists information about the supported locations for this service. + * Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$List, + getDnsBindPermission( + params: Params$Resource$Projects$Locations$Getdnsbindpermission, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$List, + getDnsBindPermission( + params?: Params$Resource$Projects$Locations$Getdnsbindpermission, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$List, + ): GaxiosPromise; + getDnsBindPermission( + params: Params$Resource$Projects$Locations$Getdnsbindpermission, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + getDnsBindPermission( + params: Params$Resource$Projects$Locations$Getdnsbindpermission, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$List, - callback: BodyResponseCallback + getDnsBindPermission( + params: Params$Resource$Projects$Locations$Getdnsbindpermission, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + getDnsBindPermission( + callback: BodyResponseCallback + ): void; + getDnsBindPermission( paramsOrCallback?: - | Params$Resource$Projects$Locations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Getdnsbindpermission + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$List; + {}) as Params$Resource$Projects$Locations$Getdnsbindpermission; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$List; + params = {} as Params$Resource$Projects$Locations$Getdnsbindpermission; options = {}; } @@ -1791,10 +1804,7 @@ export namespace vmwareengine_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/locations').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', }, options @@ -1805,113 +1815,72 @@ export namespace vmwareengine_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - export interface Params$Resource$Projects$Locations$Get - extends StandardParameters { - /** - * Resource name for the location. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$List - extends StandardParameters { - /** - * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). - */ - filter?: string; - /** - * The resource that owns the locations collection, if applicable. - */ - name?: string; /** - * The maximum number of results to return. If not set, the service selects a default. - */ - pageSize?: number; - /** - * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. - */ - pageToken?: string; - } - - export class Resource$Projects$Locations$Global { - context: APIRequestContext; - dnsBindPermission: Resource$Projects$Locations$Global$Dnsbindpermission; - networkPeerings: Resource$Projects$Locations$Global$Networkpeerings; - constructor(context: APIRequestContext) { - this.context = context; - this.dnsBindPermission = - new Resource$Projects$Locations$Global$Dnsbindpermission(this.context); - this.networkPeerings = - new Resource$Projects$Locations$Global$Networkpeerings(this.context); - } - - /** - * Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. + * Lists information about the supported locations for this service. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getDnsBindPermission( - params: Params$Resource$Projects$Locations$Global$Getdnsbindpermission, + list( + params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions ): GaxiosPromise; - getDnsBindPermission( - params?: Params$Resource$Projects$Locations$Global$Getdnsbindpermission, + list( + params?: Params$Resource$Projects$Locations$List, options?: MethodOptions - ): GaxiosPromise; - getDnsBindPermission( - params: Params$Resource$Projects$Locations$Global$Getdnsbindpermission, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getDnsBindPermission( - params: Params$Resource$Projects$Locations$Global$Getdnsbindpermission, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getDnsBindPermission( - params: Params$Resource$Projects$Locations$Global$Getdnsbindpermission, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getDnsBindPermission( - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$List, + callback: BodyResponseCallback ): void; - getDnsBindPermission( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Getdnsbindpermission - | BodyResponseCallback + | Params$Resource$Projects$Locations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Getdnsbindpermission; + {}) as Params$Resource$Projects$Locations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Global$Getdnsbindpermission; + params = {} as Params$Resource$Projects$Locations$List; options = {}; } @@ -1924,7 +1893,10 @@ export namespace vmwareengine_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+name}/locations').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', }, options @@ -1935,32 +1907,58 @@ export namespace vmwareengine_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Global$Getdnsbindpermission + export interface Params$Resource$Projects$Locations$Get + extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Getdnsbindpermission extends StandardParameters { /** * Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission` */ name?: string; } + export interface Params$Resource$Projects$Locations$List + extends StandardParameters { + /** + * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + */ + filter?: string; + /** + * The resource that owns the locations collection, if applicable. + */ + name?: string; + /** + * The maximum number of results to return. If not set, the service selects a default. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } - export class Resource$Projects$Locations$Global$Dnsbindpermission { + export class Resource$Projects$Locations$Dnsbindpermission { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. + * Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -1968,31 +1966,31 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ grant( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, options: StreamMethodOptions ): GaxiosPromise; grant( - params?: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant, + params?: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, options?: MethodOptions ): GaxiosPromise; grant( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; grant( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; grant( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Grant, callback: BodyResponseCallback ): void; grant(callback: BodyResponseCallback): void; grant( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant + | Params$Resource$Projects$Locations$Dnsbindpermission$Grant | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2005,13 +2003,13 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant; + {}) as Params$Resource$Projects$Locations$Dnsbindpermission$Grant; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant; + {} as Params$Resource$Projects$Locations$Dnsbindpermission$Grant; options = {}; } @@ -2045,7 +2043,7 @@ export namespace vmwareengine_v1 { } /** - * Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. + * Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2053,31 +2051,31 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ revoke( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, options: StreamMethodOptions ): GaxiosPromise; revoke( - params?: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke, + params?: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, options?: MethodOptions ): GaxiosPromise; revoke( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; revoke( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; revoke( - params: Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke, + params: Params$Resource$Projects$Locations$Dnsbindpermission$Revoke, callback: BodyResponseCallback ): void; revoke(callback: BodyResponseCallback): void; revoke( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke + | Params$Resource$Projects$Locations$Dnsbindpermission$Revoke | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2090,13 +2088,13 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke; + {}) as Params$Resource$Projects$Locations$Dnsbindpermission$Revoke; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke; + {} as Params$Resource$Projects$Locations$Dnsbindpermission$Revoke; options = {}; } @@ -2130,7 +2128,7 @@ export namespace vmwareengine_v1 { } } - export interface Params$Resource$Projects$Locations$Global$Dnsbindpermission$Grant + export interface Params$Resource$Projects$Locations$Dnsbindpermission$Grant extends StandardParameters { /** * Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission` @@ -2142,7 +2140,7 @@ export namespace vmwareengine_v1 { */ requestBody?: Schema$GrantDnsBindPermissionRequest; } - export interface Params$Resource$Projects$Locations$Global$Dnsbindpermission$Revoke + export interface Params$Resource$Projects$Locations$Dnsbindpermission$Revoke extends StandardParameters { /** * Required. The name of the resource which stores the users/service accounts having the permission to bind to the corresponding intranet VPC of the consumer project. DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/dnsBindPermission` @@ -2155,19 +2153,19 @@ export namespace vmwareengine_v1 { requestBody?: Schema$RevokeDnsBindPermissionRequest; } - export class Resource$Projects$Locations$Global$Networkpeerings { + export class Resource$Projects$Locations$Networkpeerings { context: APIRequestContext; - peeringRoutes: Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes; + peeringRoutes: Resource$Projects$Locations$Networkpeerings$Peeringroutes; constructor(context: APIRequestContext) { this.context = context; this.peeringRoutes = - new Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes( + new Resource$Projects$Locations$Networkpeerings$Peeringroutes( this.context ); } /** - * Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource. + * Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource. NetworkPeering is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2175,31 +2173,31 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ create( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Create, + params: Params$Resource$Projects$Locations$Networkpeerings$Create, options: StreamMethodOptions ): GaxiosPromise; create( - params?: Params$Resource$Projects$Locations$Global$Networkpeerings$Create, + params?: Params$Resource$Projects$Locations$Networkpeerings$Create, options?: MethodOptions ): GaxiosPromise; create( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Create, + params: Params$Resource$Projects$Locations$Networkpeerings$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Create, + params: Params$Resource$Projects$Locations$Networkpeerings$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Create, + params: Params$Resource$Projects$Locations$Networkpeerings$Create, callback: BodyResponseCallback ): void; create(callback: BodyResponseCallback): void; create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Networkpeerings$Create + | Params$Resource$Projects$Locations$Networkpeerings$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2212,13 +2210,13 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Networkpeerings$Create; + {}) as Params$Resource$Projects$Locations$Networkpeerings$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Global$Networkpeerings$Create; + {} as Params$Resource$Projects$Locations$Networkpeerings$Create; options = {}; } @@ -2255,7 +2253,7 @@ export namespace vmwareengine_v1 { } /** - * Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. + * Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2263,31 +2261,31 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Delete, + params: Params$Resource$Projects$Locations$Networkpeerings$Delete, options: StreamMethodOptions ): GaxiosPromise; delete( - params?: Params$Resource$Projects$Locations$Global$Networkpeerings$Delete, + params?: Params$Resource$Projects$Locations$Networkpeerings$Delete, options?: MethodOptions ): GaxiosPromise; delete( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Delete, + params: Params$Resource$Projects$Locations$Networkpeerings$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Delete, + params: Params$Resource$Projects$Locations$Networkpeerings$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Delete, + params: Params$Resource$Projects$Locations$Networkpeerings$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Networkpeerings$Delete + | Params$Resource$Projects$Locations$Networkpeerings$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2300,13 +2298,13 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Networkpeerings$Delete; + {}) as Params$Resource$Projects$Locations$Networkpeerings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Global$Networkpeerings$Delete; + {} as Params$Resource$Projects$Locations$Networkpeerings$Delete; options = {}; } @@ -2340,7 +2338,7 @@ export namespace vmwareengine_v1 { } /** - * Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. + * Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2348,31 +2346,31 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Get, + params: Params$Resource$Projects$Locations$Networkpeerings$Get, options: StreamMethodOptions ): GaxiosPromise; get( - params?: Params$Resource$Projects$Locations$Global$Networkpeerings$Get, + params?: Params$Resource$Projects$Locations$Networkpeerings$Get, options?: MethodOptions ): GaxiosPromise; get( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Get, + params: Params$Resource$Projects$Locations$Networkpeerings$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Get, + params: Params$Resource$Projects$Locations$Networkpeerings$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Get, + params: Params$Resource$Projects$Locations$Networkpeerings$Get, callback: BodyResponseCallback ): void; get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Networkpeerings$Get + | Params$Resource$Projects$Locations$Networkpeerings$Get | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2385,13 +2383,12 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Networkpeerings$Get; + {}) as Params$Resource$Projects$Locations$Networkpeerings$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Global$Networkpeerings$Get; + params = {} as Params$Resource$Projects$Locations$Networkpeerings$Get; options = {}; } @@ -2425,7 +2422,7 @@ export namespace vmwareengine_v1 { } /** - * Lists `NetworkPeering` resources in a given project. + * Lists `NetworkPeering` resources in a given project. NetworkPeering is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2433,27 +2430,27 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$List, + params: Params$Resource$Projects$Locations$Networkpeerings$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Projects$Locations$Global$Networkpeerings$List, + params?: Params$Resource$Projects$Locations$Networkpeerings$List, options?: MethodOptions ): GaxiosPromise; list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$List, + params: Params$Resource$Projects$Locations$Networkpeerings$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$List, + params: Params$Resource$Projects$Locations$Networkpeerings$List, options: | MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$List, + params: Params$Resource$Projects$Locations$Networkpeerings$List, callback: BodyResponseCallback ): void; list( @@ -2461,7 +2458,7 @@ export namespace vmwareengine_v1 { ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Networkpeerings$List + | Params$Resource$Projects$Locations$Networkpeerings$List | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2477,13 +2474,12 @@ export namespace vmwareengine_v1 { | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Networkpeerings$List; + {}) as Params$Resource$Projects$Locations$Networkpeerings$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Global$Networkpeerings$List; + params = {} as Params$Resource$Projects$Locations$Networkpeerings$List; options = {}; } @@ -2520,7 +2516,7 @@ export namespace vmwareengine_v1 { } /** - * Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. + * Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. NetworkPeering is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2528,31 +2524,31 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ patch( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Patch, + params: Params$Resource$Projects$Locations$Networkpeerings$Patch, options: StreamMethodOptions ): GaxiosPromise; patch( - params?: Params$Resource$Projects$Locations$Global$Networkpeerings$Patch, + params?: Params$Resource$Projects$Locations$Networkpeerings$Patch, options?: MethodOptions ): GaxiosPromise; patch( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Patch, + params: Params$Resource$Projects$Locations$Networkpeerings$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Patch, + params: Params$Resource$Projects$Locations$Networkpeerings$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Patch, + params: Params$Resource$Projects$Locations$Networkpeerings$Patch, callback: BodyResponseCallback ): void; patch(callback: BodyResponseCallback): void; patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Networkpeerings$Patch + | Params$Resource$Projects$Locations$Networkpeerings$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2565,13 +2561,12 @@ export namespace vmwareengine_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Networkpeerings$Patch; + {}) as Params$Resource$Projects$Locations$Networkpeerings$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Global$Networkpeerings$Patch; + params = {} as Params$Resource$Projects$Locations$Networkpeerings$Patch; options = {}; } @@ -2605,7 +2600,7 @@ export namespace vmwareengine_v1 { } } - export interface Params$Resource$Projects$Locations$Global$Networkpeerings$Create + export interface Params$Resource$Projects$Locations$Networkpeerings$Create extends StandardParameters { /** * Required. The user-provided identifier of the new `NetworkPeering`. This identifier must be unique among `NetworkPeering` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) @@ -2625,7 +2620,7 @@ export namespace vmwareengine_v1 { */ requestBody?: Schema$NetworkPeering; } - export interface Params$Resource$Projects$Locations$Global$Networkpeerings$Delete + export interface Params$Resource$Projects$Locations$Networkpeerings$Delete extends StandardParameters { /** * Required. The resource name of the network peering to be deleted. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` @@ -2636,14 +2631,14 @@ export namespace vmwareengine_v1 { */ requestId?: string; } - export interface Params$Resource$Projects$Locations$Global$Networkpeerings$Get + export interface Params$Resource$Projects$Locations$Networkpeerings$Get extends StandardParameters { /** * Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` */ name?: string; } - export interface Params$Resource$Projects$Locations$Global$Networkpeerings$List + export interface Params$Resource$Projects$Locations$Networkpeerings$List extends StandardParameters { /** * A filter expression that matches resources returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be `=`, `!=`, `\>`, or `<`. For example, if you are filtering a list of network peerings, you can exclude the ones named `example-peering` by specifying `name != "example-peering"`. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (name = "example-peering") (createTime \> "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (name = "example-peering-1") AND (createTime \> "2021-04-12T08:15:10.40Z") OR (name = "example-peering-2") ``` @@ -2666,10 +2661,10 @@ export namespace vmwareengine_v1 { */ parent?: string; } - export interface Params$Resource$Projects$Locations$Global$Networkpeerings$Patch + export interface Params$Resource$Projects$Locations$Networkpeerings$Patch extends StandardParameters { /** - * Output only. The resource name of the network peering. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` + * Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering` */ name?: string; /** @@ -2687,14 +2682,14 @@ export namespace vmwareengine_v1 { requestBody?: Schema$NetworkPeering; } - export class Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes { + export class Resource$Projects$Locations$Networkpeerings$Peeringroutes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Lists the network peering routes exchanged over a peering connection. + * Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2702,27 +2697,27 @@ export namespace vmwareengine_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List, + params: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List, + params?: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, options?: MethodOptions ): GaxiosPromise; list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List, + params: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List, + params: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, options: | MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List, + params: Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List, callback: BodyResponseCallback ): void; list( @@ -2730,7 +2725,7 @@ export namespace vmwareengine_v1 { ): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List + | Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2746,13 +2741,13 @@ export namespace vmwareengine_v1 { | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List; + {}) as Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List; + {} as Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List; options = {}; } @@ -2789,7 +2784,7 @@ export namespace vmwareengine_v1 { } } - export interface Params$Resource$Projects$Locations$Global$Networkpeerings$Peeringroutes$List + export interface Params$Resource$Projects$Locations$Networkpeerings$Peeringroutes$List extends StandardParameters { /** * A filter expression that matches resources returned in the response. Currently, only filtering on the `direction` field is supported. To return routes imported from the peer network, provide "direction=INCOMING". To return routes exported from the VMware Engine network, provide "direction=OUTGOING". Other filter expressions return an error.