Class Monitoring.Types.MonitoringDestination (2.2.0)

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
NameDescription
otherMonitoring.Types.MonitoringDestination

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
NameDescription
otherMonitoring.Types.MonitoringDestination
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
NameDescription
otherObject
Returns
TypeDescription
Boolean

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(Monitoring.Types.MonitoringDestination)

public void MergeFrom(Monitoring.Types.MonitoringDestination other)
Parameter
NameDescription
otherMonitoring.Types.MonitoringDestination

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
NameDescription
inputProtobuf.CodedInputStream

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
NameDescription
outputProtobuf.CodedOutputStream