Class Service (2.0.0)

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

A service that is available for use by the consumer.

Inheritance

Object > Service

Namespace

Google.Cloud.ServiceUsage.V1

Assembly

Google.Cloud.ServiceUsage.V1.dll

Constructors

Service()

public Service()

Service(Service)

public Service(Service other)
Parameter
NameDescription
otherService

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
TypeDescription
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
TypeDescription
String

Parent

public string Parent { get; set; }

The resource name of the consumer.

A valid name would be:

  • projects/123
Property Value
TypeDescription
String

State

public State State { get; set; }

Whether or not the service has been enabled for use by the consumer.

Property Value
TypeDescription
State