Service Usage v1 API - Class Service (2.5.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
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

ServiceName

public ServiceName ServiceName { get; set; }

ServiceName-typed view over the Name resource name property.

Property Value
Type Description
ServiceName

State

public State State { get; set; }

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

Property Value
Type Description
State