Skip to main content

networks_vpc_service_controls

Creates, updates, deletes, gets or lists a networks_vpc_service_controls resource.

Overview

Namenetworks_vpc_service_controls
TypeResource
Idgoogle.servicenetworking.networks_vpc_service_controls

Fields

NameDatatypeDescription
enabledbooleanOutput 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

NameAccessible byRequired ParamsDescription
get_vpc_service_controlsSELECTnetworksId, projectsId, servicesIdConsumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.

SELECT examples

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 networksId = '{{ networksId }}'
AND projectsId = '{{ projectsId }}'
AND servicesId = '{{ servicesId }}';