Reference documentation and code samples for the Google Cloud App Hub V1 Client class Service.
Service is an App Hub data model that contains a discovered service, which represents a network or API interface that exposes some functionality to clients for consumption over the network.
Generated from protobuf message google.cloud.apphub.v1.Service
Namespace
Google \ Cloud \ AppHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
↳ display_name
string
Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
↳ description
string
Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.
↳ service_reference
ServiceReference
Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
↳ service_properties
ServiceProperties
Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
↳ attributes
↳ discovered_service
string
Required. Immutable. The resource name of the original discovered service.
↳ create_time
↳ update_time
↳ uid
string
Output only. A universally unique identifier (UUID) for the Service
in the UUID4 format.
↳ state
int
Output only. Service state.
getName
Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
string
setName
Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
var
string
$this
getDisplayName
Optional. User-defined name for the Service.
Can have a maximum length of 63 characters.
string
setDisplayName
Optional. User-defined name for the Service.
Can have a maximum length of 63 characters.
var
string
$this
getDescription
Optional. User-defined description of a Service.
Can have a maximum length of 2048 characters.
string
setDescription
Optional. User-defined description of a Service.
Can have a maximum length of 2048 characters.
var
string
$this
getServiceReference
Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
hasServiceReference
clearServiceReference
setServiceReference
Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
$this
getServiceProperties
Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
hasServiceProperties
clearServiceProperties
setServiceProperties
Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
$this
getAttributes
Optional. Consumer provided attributes.
hasAttributes
clearAttributes
setAttributes
Optional. Consumer provided attributes.
$this
getDiscoveredService
Required. Immutable. The resource name of the original discovered service.
string
setDiscoveredService
Required. Immutable. The resource name of the original discovered service.
var
string
$this
getCreateTime
Output only. Create time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time.
$this
getUpdateTime
Output only. Update time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update time.
$this
getUid
Output only. A universally unique identifier (UUID) for the Service
in
the UUID4 format.
string
setUid
Output only. A universally unique identifier (UUID) for the Service
in
the UUID4 format.
var
string
$this
getState
Output only. Service state.
int
setState
Output only. Service state.
var
int
$this