Class Logging.Types.LoggingDestination
Configuration of a specific logging destination (the producer project
or the consumer project).
Inheritance
System.Object
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()
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
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
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
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
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public Logging.Types.LoggingDestination Clone()
Returns
Implements
Equals(Logging.Types.LoggingDestination)
Declaration
public bool Equals(Logging.Types.LoggingDestination 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(Logging.Types.LoggingDestination)
Declaration
public void MergeFrom(Logging.Types.LoggingDestination 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