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

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 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.

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
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 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
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 ServiceProperties
Returns
Type Description
$this