Service Usage v1 API - Class Service (2.3.0)

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

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

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

ServiceName

public ServiceName ServiceName { get; set; }

ServiceName-typed view over the Name resource name property.

Property Value
TypeDescription
ServiceName

State

public State State { get; set; }

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

Property Value
TypeDescription
State