Class: Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb
Overview
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
Defined Under Namespace
Modules: ProducerInstanceLocation
Instance Attribute Summary collapse
-
#allowed_google_producers_resource_hierarchy_level ⇒ ::Array<::String>
Optional.
-
#limit ⇒ ::Integer
Optional.
-
#producer_instance_location ⇒ ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig::ProducerInstanceLocation
Required.
-
#subnetworks ⇒ ::Array<::String>
The resource paths of subnetworks to use for IP address management.
Instance Attribute Details
#allowed_google_producers_resource_hierarchy_level ⇒ ::Array<::String>
Returns 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
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 521 class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # ProducerInstanceLocation is used to specify which authorization mechanism # to use to determine which projects the Producer instance can be within. module ProducerInstanceLocation # Producer instance location is not specified. When this option is # chosen, then the PSC connections created by this # ServiceConnectionPolicy must be within the same project as the Producer # instance. This is the default ProducerInstanceLocation value. # To allow for PSC connections from this network to other networks, use # the CUSTOM_RESOURCE_HIERARCHY_LEVELS option. PRODUCER_INSTANCE_LOCATION_UNSPECIFIED = 0 # Producer instance must be within one of the values provided in # allowed_google_producers_resource_hierarchy_level. CUSTOM_RESOURCE_HIERARCHY_LEVELS = 1 end end |
#limit ⇒ ::Integer
Returns Optional. Max number of PSC connections for this policy.
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 521 class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # ProducerInstanceLocation is used to specify which authorization mechanism # to use to determine which projects the Producer instance can be within. module ProducerInstanceLocation # Producer instance location is not specified. When this option is # chosen, then the PSC connections created by this # ServiceConnectionPolicy must be within the same project as the Producer # instance. This is the default ProducerInstanceLocation value. # To allow for PSC connections from this network to other networks, use # the CUSTOM_RESOURCE_HIERARCHY_LEVELS option. PRODUCER_INSTANCE_LOCATION_UNSPECIFIED = 0 # Producer instance must be within one of the values provided in # allowed_google_producers_resource_hierarchy_level. CUSTOM_RESOURCE_HIERARCHY_LEVELS = 1 end end |
#producer_instance_location ⇒ ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy::PscConfig::ProducerInstanceLocation
Returns Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 521 class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # ProducerInstanceLocation is used to specify which authorization mechanism # to use to determine which projects the Producer instance can be within. module ProducerInstanceLocation # Producer instance location is not specified. When this option is # chosen, then the PSC connections created by this # ServiceConnectionPolicy must be within the same project as the Producer # instance. This is the default ProducerInstanceLocation value. # To allow for PSC connections from this network to other networks, use # the CUSTOM_RESOURCE_HIERARCHY_LEVELS option. PRODUCER_INSTANCE_LOCATION_UNSPECIFIED = 0 # Producer instance must be within one of the values provided in # allowed_google_producers_resource_hierarchy_level. CUSTOM_RESOURCE_HIERARCHY_LEVELS = 1 end end |
#subnetworks ⇒ ::Array<::String>
Returns The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 521 class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # ProducerInstanceLocation is used to specify which authorization mechanism # to use to determine which projects the Producer instance can be within. module ProducerInstanceLocation # Producer instance location is not specified. When this option is # chosen, then the PSC connections created by this # ServiceConnectionPolicy must be within the same project as the Producer # instance. This is the default ProducerInstanceLocation value. # To allow for PSC connections from this network to other networks, use # the CUSTOM_RESOURCE_HIERARCHY_LEVELS option. PRODUCER_INSTANCE_LOCATION_UNSPECIFIED = 0 # Producer instance must be within one of the values provided in # allowed_google_producers_resource_hierarchy_level. CUSTOM_RESOURCE_HIERARCHY_LEVELS = 1 end end |