App Hub v1 API - Class Service (1.0.0-beta03)

public sealed class Service : IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessage

Reference documentation and code samples for the App Hub v1 API class Service.

Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.

Inheritance

object > Service

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Constructors

Service()

public Service()

Service(Service)

public Service(Service other)
Parameter
Name Description
other Service

Properties

Attributes

public Attributes Attributes { get; set; }

Optional. Consumer provided attributes.

Property Value
Type Description
Attributes

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create time.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

Property Value
Type Description
string

DiscoveredService

public string DiscoveredService { get; set; }

Required. Immutable. The resource name of the original discovered service.

Property Value
Type Description
string

DiscoveredServiceAsLocationName

public LocationName DiscoveredServiceAsLocationName { get; set; }

LocationName-typed view over the DiscoveredService resource name property.

Property Value
Type Description
LocationName

DisplayName

public string DisplayName { get; set; }

Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

Property Value
Type Description
string

Name

public string Name { get; set; }

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"

Property Value
Type Description
string

ServiceName

public ServiceName ServiceName { get; set; }

ServiceName-typed view over the Name resource name property.

Property Value
Type Description
ServiceName

ServiceProperties

public ServiceProperties ServiceProperties { get; set; }

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

Property Value
Type Description
ServiceProperties

ServiceReference

public ServiceReference ServiceReference { get; set; }

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

Property Value
Type Description
ServiceReference

State

public Service.Types.State State { get; set; }

Output only. Service state.

Property Value
Type Description
ServiceTypesState

Uid

public string Uid { get; set; }

Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update time.

Property Value
Type Description
Timestamp