Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::ServiceBinding.
ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was created.
#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) — Required. Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.
Returns
-
(::String) — Required. Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.
#service
def service() -> ::String
Returns
- (::String) — Required. The full service directory service name of the format /projects//locations//namespaces//services/
#service=
def service=(value) -> ::String
Parameter
- value (::String) — Required. The full service directory service name of the format /projects//locations//namespaces//services/
Returns
- (::String) — Required. The full service directory service name of the format /projects//locations//namespaces//services/
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was updated.