Class Monitoring.Types.MonitoringDestination
Configuration of a specific monitoring destination (the producer project
or the consumer project).
Inheritance
System.Object
Monitoring.Types.MonitoringDestination
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class MonitoringDestination : IMessage<Monitoring.Types.MonitoringDestination>, IMessage, IEquatable<Monitoring.Types.MonitoringDestination>, IDeepCloneable<Monitoring.Types.MonitoringDestination>
Constructors
MonitoringDestination()
Declaration
public MonitoringDestination()
MonitoringDestination(Monitoring.Types.MonitoringDestination)
Declaration
public MonitoringDestination(Monitoring.Types.MonitoringDestination other)
Parameters
Fields
MetricsFieldNumber
Field number for the "metrics" field.
Declaration
public const int MetricsFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
MonitoredResourceFieldNumber
Field number for the "monitored_resource" field.
Declaration
public const int MonitoredResourceFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Metrics
Types of the metrics to report to this monitoring destination.
Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
Declaration
public RepeatedField<string> Metrics { get; }
Property Value
MonitoredResource
The monitored resource type. The type must be defined in
[Service.monitored_resources][google.api.Service.monitored_resources] section.
Declaration
public string MonitoredResource { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static MessageParser<Monitoring.Types.MonitoringDestination> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public Monitoring.Types.MonitoringDestination Clone()
Returns
Implements
Equals(Monitoring.Types.MonitoringDestination)
Declaration
public bool Equals(Monitoring.Types.MonitoringDestination other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
MergeFrom(Monitoring.Types.MonitoringDestination)
Declaration
public void MergeFrom(Monitoring.Types.MonitoringDestination other)
Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements