public sealed class CreateLogMetricRequest : IMessage<CreateLogMetricRequest>, IEquatable<CreateLogMetricRequest>, IDeepCloneable<CreateLogMetricRequest>, IBufferMessage, IMessage
The parameters to CreateLogMetric.
Implements
IMessage<CreateLogMetricRequest>, IEquatable<CreateLogMetricRequest>, IDeepCloneable<CreateLogMetricRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
CreateLogMetricRequest()
public CreateLogMetricRequest()
CreateLogMetricRequest(CreateLogMetricRequest)
public CreateLogMetricRequest(CreateLogMetricRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateLogMetricRequest |
Properties
Metric
public LogMetric Metric { get; set; }
Required. The new logs-based metric, which must not have an identifier that already exists.
Property Value | |
---|---|
Type | Description |
LogMetric |
Parent
public string Parent { get; set; }
Required. The resource name of the project in which to create the metric:
"projects/[PROJECT_ID]"
The new metric must be provided in the request.
Property Value | |
---|---|
Type | Description |
String |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |