Network Services V1 API - Class Google::Cloud::NetworkServices::V1::ServiceBinding (v2.3.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::ServiceBinding.

ServiceBinding can be used to:

  • Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon.
  • Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
  • Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A free-text description of the resource. Max length 1024 characters.
Returns
  • (::String) — Optional. A free-text description of the resource. Max length 1024 characters.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the ServiceBinding resource.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the ServiceBinding resource.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of label tags associated with the ServiceBinding resource.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/<service_binding_name>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/<service_binding_name>.
Returns
  • (::String) — Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/<service_binding_name>.

#service

def service() -> ::String
Returns
  • (::String) — Optional. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*. This field is for Service Directory integration which will be deprecated soon.

#service=

def service=(value) -> ::String
Parameter
  • value (::String) — Optional. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*. This field is for Service Directory integration which will be deprecated soon.
Returns
  • (::String) — Optional. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*. This field is for Service Directory integration which will be deprecated soon.

#service_id

def service_id() -> ::String
Returns
  • (::String) — Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns