Service Usage v1 API - Class ServiceConfig (2.1.0)

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

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

The configuration of the service.

Inheritance

Object > ServiceConfig

Namespace

Google.Cloud.ServiceUsage.V1

Assembly

Google.Cloud.ServiceUsage.V1.dll

Constructors

ServiceConfig()

public ServiceConfig()

ServiceConfig(ServiceConfig)

public ServiceConfig(ServiceConfig other)
Parameter
NameDescription
otherServiceConfig

Properties

Apis

public RepeatedField<Api> Apis { get; }

A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.

Property Value
TypeDescription
RepeatedField<Api>

Authentication

public Authentication Authentication { get; set; }

Auth configuration. Contains only the OAuth rules.

Property Value
TypeDescription
Authentication

Documentation

public Documentation Documentation { get; set; }

Additional API documentation. Contains only the summary and the documentation URL.

Property Value
TypeDescription
Documentation

Endpoints

public RepeatedField<Endpoint> Endpoints { get; }

Configuration for network endpoints. Contains only the names and aliases of the endpoints.

Property Value
TypeDescription
RepeatedField<Endpoint>

MonitoredResources

public RepeatedField<MonitoredResourceDescriptor> MonitoredResources { get; }

Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.

Property Value
TypeDescription
RepeatedField<MonitoredResourceDescriptor>

Monitoring

public Monitoring Monitoring { get; set; }

Monitoring configuration. This should not include the 'producer_destinations' field.

Property Value
TypeDescription
Monitoring

Name

public string Name { get; set; }

The DNS address at which this service is available.

An example DNS address would be: calendar.googleapis.com.

Property Value
TypeDescription
String

Quota

public Quota Quota { get; set; }

Quota configuration.

Property Value
TypeDescription
Quota

Title

public string Title { get; set; }

The product title for this service.

Property Value
TypeDescription
String

Usage

public Usage Usage { get; set; }

Configuration controlling usage of this service.

Property Value
TypeDescription
Usage