public sealed class Service : IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessage
A service that is available for use by the consumer.
Implements
IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceUsage.V1Assembly
Google.Cloud.ServiceUsage.V1.dll
Constructors
Service()
public Service()
Service(Service)
public Service(Service other)
Parameter | |
---|---|
Name | Description |
other | Service |
Properties
Config
public ServiceConfig Config { get; set; }
The service configuration of the available service.
Some fields may be filtered out of the configuration in responses to
the ListServices
method. These fields are present only in responses to
the GetService
method.
Property Value | |
---|---|
Type | Description |
ServiceConfig |
Name
public string Name { get; set; }
The resource name of the consumer and service.
A valid name would be:
- projects/123/services/serviceusage.googleapis.com
Property Value | |
---|---|
Type | Description |
String |
Parent
public string Parent { get; set; }
The resource name of the consumer.
A valid name would be:
- projects/123
Property Value | |
---|---|
Type | Description |
String |
State
public State State { get; set; }
Whether or not the service has been enabled for use by the consumer.
Property Value | |
---|---|
Type | Description |
State |