Show / Hide Table of Contents

Class Logging.Types.LoggingDestination

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

Inheritance
System.Object
Logging.Types.LoggingDestination
Implements
IMessage<Logging.Types.LoggingDestination>
IMessage
System.IEquatable<Logging.Types.LoggingDestination>
IDeepCloneable<Logging.Types.LoggingDestination>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Api
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class LoggingDestination : IMessage<Logging.Types.LoggingDestination>, IMessage, IEquatable<Logging.Types.LoggingDestination>, IDeepCloneable<Logging.Types.LoggingDestination>

Constructors

LoggingDestination()

Declaration
public LoggingDestination()

LoggingDestination(Logging.Types.LoggingDestination)

Declaration
public LoggingDestination(Logging.Types.LoggingDestination other)
Parameters
Type Name Description
Logging.Types.LoggingDestination other

Fields

LogsFieldNumber

Field number for the "logs" field.

Declaration
public const int LogsFieldNumber = 1
Field Value
Type Description
System.Int32

MonitoredResourceFieldNumber

Field number for the "monitored_resource" field.

Declaration
public const int MonitoredResourceFieldNumber = 3
Field Value
Type Description
System.Int32

Properties

Descriptor

Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type Description
MessageDescriptor

Logs

Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

Declaration
public RepeatedField<string> Logs { get; }
Property Value
Type Description
RepeatedField<System.String>

MonitoredResource

The monitored resource type. The type must be defined in the [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<Logging.Types.LoggingDestination> Parser { get; }
Property Value
Type Description
MessageParser<Logging.Types.LoggingDestination>

Methods

CalculateSize()

Declaration
public int CalculateSize()
Returns
Type Description
System.Int32
Implements
IMessage.CalculateSize()

Clone()

Declaration
public Logging.Types.LoggingDestination Clone()
Returns
Type Description
Logging.Types.LoggingDestination
Implements
IDeepCloneable<T>.Clone()

Equals(Logging.Types.LoggingDestination)

Declaration
public bool Equals(Logging.Types.LoggingDestination other)
Parameters
Type Name Description
Logging.Types.LoggingDestination other
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(Logging.Types.LoggingDestination)

Declaration
public void MergeFrom(Logging.Types.LoggingDestination other)
Parameters
Type Name Description
Logging.Types.LoggingDestination other
Implements
IMessage<T>.MergeFrom(T)

MergeFrom(CodedInputStream)

Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type Name Description
CodedInputStream input
Implements
IMessage.MergeFrom(CodedInputStream)

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

WriteTo(CodedOutputStream)

Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type Name Description
CodedOutputStream output
Implements
IMessage.WriteTo(CodedOutputStream)

Explicit Interface Implementations

IMessage.Descriptor

Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type Description
MessageDescriptor
Implements
IMessage.Descriptor
Back to top