Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap.
The ServiceConnectionMap resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#consumer_psc_configs
def consumer_psc_configs() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig>
Returns
- (::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig>) — The PSC configurations on consumer side.
#consumer_psc_configs=
def consumer_psc_configs=(value) -> ::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig>
Parameter
- value (::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig>) — The PSC configurations on consumer side.
Returns
- (::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig>) — The PSC configurations on consumer side.
#consumer_psc_connections
def consumer_psc_connections() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection>
Returns
- (::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection>) — Output only. PSC connection details on consumer side.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when the ServiceConnectionMap was created.
#description
def description() -> ::String
Returns
- (::String) — A description of this resource.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — A description of this resource.
Returns
- (::String) — A description of this resource.
#etag
def etag() -> ::String
Returns
- (::String) — Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Returns
- (::String) — Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
#infrastructure
def infrastructure() -> ::Google::Cloud::NetworkConnectivity::V1::Infrastructure
Returns
- (::Google::Cloud::NetworkConnectivity::V1::Infrastructure) — Output only. The infrastructure used for connections between consumers/producers.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — User-defined labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — User-defined labels.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — User-defined labels.
#name
def name() -> ::String
Returns
- (::String) — Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
Returns
- (::String) — Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
#producer_psc_configs
def producer_psc_configs() -> ::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ProducerPscConfig>
Returns
- (::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ProducerPscConfig>) — The PSC configurations on producer side.
#producer_psc_configs=
def producer_psc_configs=(value) -> ::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ProducerPscConfig>
Parameter
- value (::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ProducerPscConfig>) — The PSC configurations on producer side.
Returns
- (::Array<::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ProducerPscConfig>) — The PSC configurations on producer side.
#service_class
def service_class() -> ::String
Returns
- (::String) — The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
#service_class=
def service_class=(value) -> ::String
Parameter
- value (::String) — The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
Returns
- (::String) — The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
#service_class_uri
def service_class_uri() -> ::String
Returns
- (::String) — Output only. The service class uri this ServiceConnectionMap is for.
#token
def token() -> ::String
Returns
- (::String) — The token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network.
#token=
def token=(value) -> ::String
Parameter
- value (::String) — The token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network.
Returns
- (::String) — The token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when the ServiceConnectionMap was updated.