Google Cloud App Hub V1 Client - Class DiscoveredService (0.1.2)

Reference documentation and code samples for the Google Cloud App Hub V1 Client class DiscoveredService.

DiscoveredService is a network/api interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.

Generated from protobuf message google.cloud.apphub.v1.DiscoveredService

Namespace

Google \ Cloud \ AppHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the discovered service. Format: "projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}""

↳ service_reference Google\Cloud\AppHub\V1\ServiceReference

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

↳ service_properties Google\Cloud\AppHub\V1\ServiceProperties

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

getName

Identifier. The resource name of the discovered service. Format: "projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}""

Returns
Type Description
string

setName

Identifier. The resource name of the discovered service. Format: "projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}""

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceReference

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

Returns
Type Description
Google\Cloud\AppHub\V1\ServiceReference|null

hasServiceReference

clearServiceReference

setServiceReference

Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

Parameter
Name Description
var Google\Cloud\AppHub\V1\ServiceReference
Returns
Type Description
$this

getServiceProperties

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

Returns
Type Description
Google\Cloud\AppHub\V1\ServiceProperties|null

hasServiceProperties

clearServiceProperties

setServiceProperties

Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

Parameter
Name Description
var Google\Cloud\AppHub\V1\ServiceProperties
Returns
Type Description
$this