Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig.
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allowed_google_producers_resource_hierarchy_level
def allowed_google_producers_resource_hierarchy_level() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is
#allowed_google_producers_resource_hierarchy_level=
def allowed_google_producers_resource_hierarchy_level=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is
Returns
- (::Array<::String>) — Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is
#limit
def limit() -> ::Integer
Returns
- (::Integer) — Optional. Max number of PSC connections for this policy.
#limit=
def limit=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Max number of PSC connections for this policy.
Returns
- (::Integer) — Optional. Max number of PSC connections for this policy.
#producer_instance_location
def producer_instance_location() -> ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig::ProducerInstanceLocation
Returns
- (::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig::ProducerInstanceLocation) — Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
#producer_instance_location=
def producer_instance_location=(value) -> ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig::ProducerInstanceLocation
Parameter
- value (::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig::ProducerInstanceLocation) — Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
Returns
- (::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig::ProducerInstanceLocation) — Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
#subnetworks
def subnetworks() -> ::Array<::String>
Returns
- (::Array<::String>) — The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
#subnetworks=
def subnetworks=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
Returns
- (::Array<::String>) — The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.