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.
Implements
Inherited Members
Namespace: Google.Apis.AppHub.v1alpha.Data
Assembly: Google.Apis.AppHub.v1alpha.dll
Syntax
public class Service : IDirectResponseSchema
Properties
Attributes
Optional. Consumer provided attributes.
Declaration
[JsonProperty("attributes")]
public virtual Attributes Attributes { get; set; }
Property Value
Type | Description |
---|---|
Attributes |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Create time.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DiscoveredService
Required. Immutable. The resource name of the original discovered service.
Declaration
[JsonProperty("discoveredService")]
public virtual string DiscoveredService { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. The resource name of a Service. Format:
"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceProperties
Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
Declaration
[JsonProperty("serviceProperties")]
public virtual ServiceProperties ServiceProperties { get; set; }
Property Value
Type | Description |
---|---|
ServiceProperties |
ServiceReference
Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
Declaration
[JsonProperty("serviceReference")]
public virtual ServiceReference ServiceReference { get; set; }
Property Value
Type | Description |
---|---|
ServiceReference |
State
Output only. Service state.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
Uid
Output only. A universally unique identifier (UUID) for the Service
in the UUID4 format.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Update time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |