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

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
Type Description
RepeatedFieldApi

Authentication

public Authentication Authentication { get; set; }

Auth configuration. Contains only the OAuth rules.

Property Value
Type Description
Authentication

Documentation

public Documentation Documentation { get; set; }

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

Property Value
Type Description
Documentation

Endpoints

public RepeatedField<Endpoint> Endpoints { get; }

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

Property Value
Type Description
RepeatedFieldEndpoint

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
Type Description
RepeatedFieldMonitoredResourceDescriptor

Monitoring

public Monitoring Monitoring { get; set; }

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

Property Value
Type Description
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
Type Description
string

Quota

public Quota Quota { get; set; }

Quota configuration.

Property Value
Type Description
Quota

Title

public string Title { get; set; }

The product title for this service.

Property Value
Type Description
string

Usage

public Usage Usage { get; set; }

Configuration controlling usage of this service.

Property Value
Type Description
Usage