Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ServiceClass.
The ServiceClass resource.
Generated from protobuf message google.cloud.networkconnectivity.v1.ServiceClass
Namespace
Google \ Cloud \ NetworkConnectivity \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. The name of a ServiceClass resource. Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
↳ service_class
string
Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
↳ create_time
↳ update_time
↳ labels
↳ description
string
A description of this resource.
↳ etag
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.
getName
Immutable. The name of a ServiceClass resource.
Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
string
setName
Immutable. The name of a ServiceClass resource.
Format: projects/{project}/locations/{location}/serviceClasses/{service_class} See: https://google.aip.dev/122#fields-representing-resource-names
var
string
$this
getServiceClass
Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
string
setServiceClass
Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies.
var
string
$this
getCreateTime
Output only. Time when the ServiceClass was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time when the ServiceClass was created.
$this
getUpdateTime
Output only. Time when the ServiceClass was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time when the ServiceClass was updated.
$this
getLabels
User-defined labels.
setLabels
User-defined labels.
$this
getDescription
A description of this resource.
string
setDescription
A description of this resource.
var
string
$this
getEtag
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.
string
hasEtag
clearEtag
setEtag
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.
var
string
$this