Reference documentation and code samples for the Google Cloud Network Services V1 Client class ServiceBinding.
ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.
Generated from protobuf message google.cloud.networkservices.v1.ServiceBinding
Namespace
Google \ Cloud \ NetworkServices \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the ServiceBinding resource. It matches pattern projects/*/locations/global/serviceBindings/service_binding_name
.
↳ description
string
Optional. A free-text description of the resource. Max length 1024 characters.
↳ create_time
↳ update_time
↳ service
string
Required. The full service directory service name of the format /projects/ /locations/ /namespaces/ /services/
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Set of label tags associated with the ServiceBinding resource.
getName
Required. Name of the ServiceBinding resource. It matches pattern projects/*/locations/global/serviceBindings/service_binding_name
.
string
setName
Required. Name of the ServiceBinding resource. It matches pattern projects/*/locations/global/serviceBindings/service_binding_name
.
var
string
$this
getDescription
Optional. A free-text description of the resource. Max length 1024 characters.
string
setDescription
Optional. A free-text description of the resource. Max length 1024 characters.
var
string
$this
getCreateTime
Output only. The timestamp when the resource was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the resource was created.
$this
getUpdateTime
Output only. The timestamp when the resource was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the resource was updated.
$this
getService
Required. The full service directory service name of the format /projects/ /locations/ /namespaces/ /services/
string
setService
Required. The full service directory service name of the format /projects/ /locations/ /namespaces/ /services/
var
string
$this
getLabels
Optional. Set of label tags associated with the ServiceBinding resource.
setLabels
Optional. Set of label tags associated with the ServiceBinding resource.
$this