Class Monitoring.Types.MonitoringDestination

public sealed class MonitoringDestination : Protobuf.IMessage<Monitoring.Types.MonitoringDestination>, Protobuf.IBufferMessage

Configuration of a specific monitoring destination (the producer project or the consumer project).

Inheritance

Object > Monitoring.Types.MonitoringDestination

Namespace

Google.Api

Assembly

Google.Api.CommonProtos.dll

Constructors

MonitoringDestination()

public MonitoringDestination()

MonitoringDestination(Monitoring.Types.MonitoringDestination)

public MonitoringDestination(Monitoring.Types.MonitoringDestination other)
Parameter
TypeNameDescription
Monitoring.Types.MonitoringDestinationother

Fields

MetricsFieldNumber

public const int MetricsFieldNumber = 2

Field number for the "metrics" field.

Field Value
TypeDescription
Int32

MonitoredResourceFieldNumber

public const int MonitoredResourceFieldNumber = 1

Field number for the "monitored_resource" field.

Field Value
TypeDescription
Int32

Properties

Descriptor

public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
Protobuf.Reflection.MessageDescriptor

Metrics

public Protobuf.Collections.RepeatedField<string> Metrics { get; }

Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.

Property Value
TypeDescription
Protobuf.Collections.RepeatedField<String>

MonitoredResource

public string MonitoredResource { get; set; }

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

Property Value
TypeDescription
String

Parser

public static Protobuf.MessageParser<Monitoring.Types.MonitoringDestination> Parser { get; }
Property Value
TypeDescription
Protobuf.MessageParser<Monitoring.Types.MonitoringDestination>

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public Monitoring.Types.MonitoringDestination Clone()
Returns
TypeDescription
Monitoring.Types.MonitoringDestination

Equals(Monitoring.Types.MonitoringDestination)

public bool Equals(Monitoring.Types.MonitoringDestination other)
Parameter
TypeNameDescription
Monitoring.Types.MonitoringDestinationother
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
TypeNameDescription
Objectother
Returns
TypeDescription
Boolean

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(Monitoring.Types.MonitoringDestination)

public void MergeFrom(Monitoring.Types.MonitoringDestination other)
Parameter
TypeNameDescription
Monitoring.Types.MonitoringDestinationother

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
TypeNameDescription
Protobuf.CodedInputStreaminput

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
TypeNameDescription
Protobuf.CodedOutputStreamoutput

Implements