networks_vpc_service_controls
Creates, updates, deletes, gets or lists a networks_vpc_service_controls
resource.
Overview
Name | networks_vpc_service_controls |
Type | Resource |
Id | google.servicenetworking.networks_vpc_service_controls |
Fields
The following fields are returned by SELECT
queries:
- get_vpc_service_controls
Successful response
Name | Datatype | Description |
---|---|---|
enabled | boolean | Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_vpc_service_controls | select | servicesId , projectsId , networksId | Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
networksId | string | |
projectsId | string | |
servicesId | string |
SELECT
examples
- get_vpc_service_controls
Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.
SELECT
enabled
FROM google.servicenetworking.networks_vpc_service_controls
WHERE servicesId = '{{ servicesId }}' -- required
AND projectsId = '{{ projectsId }}' -- required
AND networksId = '{{ networksId }}' -- required;