google-cloud-monitoring-v3 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +52 -56
- data/lib/google/cloud/monitoring/v3/alert_policy_service/paths.rb +14 -0
- data/lib/google/cloud/monitoring/v3/group_service/client.rb +58 -66
- data/lib/google/cloud/monitoring/v3/group_service/paths.rb +14 -0
- data/lib/google/cloud/monitoring/v3/metric_service/client.rb +72 -77
- data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +75 -79
- data/lib/google/cloud/monitoring/v3/notification_channel_service/paths.rb +14 -0
- data/lib/google/cloud/monitoring/v3/query_service/client.rb +35 -39
- data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +70 -73
- data/lib/google/cloud/monitoring/v3/service_monitoring_service/paths.rb +14 -0
- data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +56 -61
- data/lib/google/cloud/monitoring/v3/uptime_check_service/paths.rb +14 -0
- data/lib/google/cloud/monitoring/v3/version.rb +1 -1
- data/lib/google/monitoring/v3/alert_pb.rb +15 -0
- data/lib/google/monitoring/v3/common_pb.rb +0 -6
- data/lib/google/monitoring/v3/notification_pb.rb +0 -2
- data/lib/google/monitoring/v3/service_pb.rb +2 -0
- data/lib/google/monitoring/v3/uptime_service_pb.rb +1 -0
- data/proto_docs/google/api/distribution.rb +2 -2
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/api/launch_stage.rb +7 -1
- data/proto_docs/google/api/metric.rb +109 -36
- data/proto_docs/google/api/monitored_resource.rb +7 -6
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/monitoring/v3/alert.rb +66 -1
- data/proto_docs/google/monitoring/v3/alert_service.rb +4 -2
- data/proto_docs/google/monitoring/v3/common.rb +1 -13
- data/proto_docs/google/monitoring/v3/group_service.rb +4 -2
- data/proto_docs/google/monitoring/v3/metric.rb +3 -1
- data/proto_docs/google/monitoring/v3/metric_service.rb +13 -8
- data/proto_docs/google/monitoring/v3/notification.rb +0 -4
- data/proto_docs/google/monitoring/v3/notification_service.rb +8 -4
- data/proto_docs/google/monitoring/v3/service.rb +38 -6
- data/proto_docs/google/monitoring/v3/service_service.rb +4 -2
- data/proto_docs/google/monitoring/v3/span_context.rb +2 -2
- data/proto_docs/google/monitoring/v3/uptime.rb +5 -2
- data/proto_docs/google/monitoring/v3/uptime_service.rb +4 -2
- metadata +14 -7
@@ -40,7 +40,6 @@ module Google
|
|
40
40
|
# @return [::String]
|
41
41
|
# Required. The monitored resource type. For example, the type
|
42
42
|
# `"cloudsql_database"` represents databases in Google Cloud SQL.
|
43
|
-
# The maximum length of this value is 256 characters.
|
44
43
|
# @!attribute [rw] display_name
|
45
44
|
# @return [::String]
|
46
45
|
# Optional. A concise name for the monitored resource type that might be
|
@@ -56,6 +55,9 @@ module Google
|
|
56
55
|
# Required. A set of labels used to describe instances of this monitored
|
57
56
|
# resource type. For example, an individual Google Cloud SQL database is
|
58
57
|
# identified by values for the labels `"database_id"` and `"zone"`.
|
58
|
+
# @!attribute [rw] launch_stage
|
59
|
+
# @return [::Google::Api::LaunchStage]
|
60
|
+
# Optional. The launch stage of the monitored resource definition.
|
59
61
|
class MonitoredResourceDescriptor
|
60
62
|
include ::Google::Protobuf::MessageExts
|
61
63
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -101,15 +103,14 @@ module Google
|
|
101
103
|
# Auxiliary metadata for a {::Google::Api::MonitoredResource MonitoredResource} object.
|
102
104
|
# {::Google::Api::MonitoredResource MonitoredResource} objects contain the minimum set of information to
|
103
105
|
# uniquely identify a monitored resource instance. There is some other useful
|
104
|
-
# auxiliary metadata.
|
105
|
-
# pipeline to extract metadata for cloud resources of all types
|
106
|
+
# auxiliary metadata. Monitoring and Logging use an ingestion
|
107
|
+
# pipeline to extract metadata for cloud resources of all types, and store
|
106
108
|
# the metadata in this message.
|
107
109
|
# @!attribute [rw] system_labels
|
108
110
|
# @return [::Google::Protobuf::Struct]
|
109
111
|
# Output only. Values for predefined system metadata labels.
|
110
|
-
# System labels are a kind of metadata extracted by Google
|
111
|
-
#
|
112
|
-
# their values. Some examples: "machine_image", "vpc", "subnet_id",
|
112
|
+
# System labels are a kind of metadata extracted by Google, including
|
113
|
+
# "machine_image", "vpc", "subnet_id",
|
113
114
|
# "security_group", "name", etc.
|
114
115
|
# System label values can be only strings, Boolean values, or a list of
|
115
116
|
# strings. For example:
|
@@ -0,0 +1,164 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Longrunning
|
22
|
+
# This resource represents a long-running operation that is the result of a
|
23
|
+
# network API call.
|
24
|
+
# @!attribute [rw] name
|
25
|
+
# @return [::String]
|
26
|
+
# The server-assigned name, which is only unique within the same service that
|
27
|
+
# originally returns it. If you use the default HTTP mapping, the
|
28
|
+
# `name` should be a resource name ending with `operations/{unique_id}`.
|
29
|
+
# @!attribute [rw] metadata
|
30
|
+
# @return [::Google::Protobuf::Any]
|
31
|
+
# Service-specific metadata associated with the operation. It typically
|
32
|
+
# contains progress information and common metadata such as create time.
|
33
|
+
# Some services might not provide such metadata. Any method that returns a
|
34
|
+
# long-running operation should document the metadata type, if any.
|
35
|
+
# @!attribute [rw] done
|
36
|
+
# @return [::Boolean]
|
37
|
+
# If the value is `false`, it means the operation is still in progress.
|
38
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
39
|
+
# available.
|
40
|
+
# @!attribute [rw] error
|
41
|
+
# @return [::Google::Rpc::Status]
|
42
|
+
# The error result of the operation in case of failure or cancellation.
|
43
|
+
# @!attribute [rw] response
|
44
|
+
# @return [::Google::Protobuf::Any]
|
45
|
+
# The normal response of the operation in case of success. If the original
|
46
|
+
# method returns no data on success, such as `Delete`, the response is
|
47
|
+
# `google.protobuf.Empty`. If the original method is standard
|
48
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
49
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
50
|
+
# is the original method name. For example, if the original method name
|
51
|
+
# is `TakeSnapshot()`, the inferred response type is
|
52
|
+
# `TakeSnapshotResponse`.
|
53
|
+
class Operation
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# The request message for Operations.GetOperation.
|
59
|
+
# @!attribute [rw] name
|
60
|
+
# @return [::String]
|
61
|
+
# The name of the operation resource.
|
62
|
+
class GetOperationRequest
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
end
|
66
|
+
|
67
|
+
# The request message for Operations.ListOperations.
|
68
|
+
# @!attribute [rw] name
|
69
|
+
# @return [::String]
|
70
|
+
# The name of the operation's parent resource.
|
71
|
+
# @!attribute [rw] filter
|
72
|
+
# @return [::String]
|
73
|
+
# The standard list filter.
|
74
|
+
# @!attribute [rw] page_size
|
75
|
+
# @return [::Integer]
|
76
|
+
# The standard list page size.
|
77
|
+
# @!attribute [rw] page_token
|
78
|
+
# @return [::String]
|
79
|
+
# The standard list page token.
|
80
|
+
class ListOperationsRequest
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# The response message for Operations.ListOperations.
|
86
|
+
# @!attribute [rw] operations
|
87
|
+
# @return [::Array<::Google::Longrunning::Operation>]
|
88
|
+
# A list of operations that matches the specified filter in the request.
|
89
|
+
# @!attribute [rw] next_page_token
|
90
|
+
# @return [::String]
|
91
|
+
# The standard List next-page token.
|
92
|
+
class ListOperationsResponse
|
93
|
+
include ::Google::Protobuf::MessageExts
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
|
+
end
|
96
|
+
|
97
|
+
# The request message for Operations.CancelOperation.
|
98
|
+
# @!attribute [rw] name
|
99
|
+
# @return [::String]
|
100
|
+
# The name of the operation resource to be cancelled.
|
101
|
+
class CancelOperationRequest
|
102
|
+
include ::Google::Protobuf::MessageExts
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
|
+
end
|
105
|
+
|
106
|
+
# The request message for Operations.DeleteOperation.
|
107
|
+
# @!attribute [rw] name
|
108
|
+
# @return [::String]
|
109
|
+
# The name of the operation resource to be deleted.
|
110
|
+
class DeleteOperationRequest
|
111
|
+
include ::Google::Protobuf::MessageExts
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
|
+
end
|
114
|
+
|
115
|
+
# The request message for Operations.WaitOperation.
|
116
|
+
# @!attribute [rw] name
|
117
|
+
# @return [::String]
|
118
|
+
# The name of the operation resource to wait on.
|
119
|
+
# @!attribute [rw] timeout
|
120
|
+
# @return [::Google::Protobuf::Duration]
|
121
|
+
# The maximum duration to wait before timing out. If left blank, the wait
|
122
|
+
# will be at most the time permitted by the underlying HTTP/RPC protocol.
|
123
|
+
# If RPC context deadline is also specified, the shorter one will be used.
|
124
|
+
class WaitOperationRequest
|
125
|
+
include ::Google::Protobuf::MessageExts
|
126
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
127
|
+
end
|
128
|
+
|
129
|
+
# A message representing the message types used by a long-running operation.
|
130
|
+
#
|
131
|
+
# Example:
|
132
|
+
#
|
133
|
+
# rpc LongRunningRecognize(LongRunningRecognizeRequest)
|
134
|
+
# returns (google.longrunning.Operation) {
|
135
|
+
# option (google.longrunning.operation_info) = {
|
136
|
+
# response_type: "LongRunningRecognizeResponse"
|
137
|
+
# metadata_type: "LongRunningRecognizeMetadata"
|
138
|
+
# };
|
139
|
+
# }
|
140
|
+
# @!attribute [rw] response_type
|
141
|
+
# @return [::String]
|
142
|
+
# Required. The message name of the primary return type for this
|
143
|
+
# long-running operation.
|
144
|
+
# This type will be used to deserialize the LRO's response.
|
145
|
+
#
|
146
|
+
# If the response is in a different package from the rpc, a fully-qualified
|
147
|
+
# message name must be used (e.g. `google.protobuf.Struct`).
|
148
|
+
#
|
149
|
+
# Note: Altering this value constitutes a breaking change.
|
150
|
+
# @!attribute [rw] metadata_type
|
151
|
+
# @return [::String]
|
152
|
+
# Required. The message name of the metadata type for this long-running
|
153
|
+
# operation.
|
154
|
+
#
|
155
|
+
# If the response is in a different package from the rpc, a fully-qualified
|
156
|
+
# message name must be used (e.g. `google.protobuf.Struct`).
|
157
|
+
#
|
158
|
+
# Note: Altering this value constitutes a breaking change.
|
159
|
+
class OperationInfo
|
160
|
+
include ::Google::Protobuf::MessageExts
|
161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
# projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
|
34
34
|
#
|
35
35
|
# `[ALERT_POLICY_ID]` is assigned by Stackdriver Monitoring when the policy
|
36
|
-
# is created.
|
36
|
+
# is created. When calling the
|
37
37
|
# {::Google::Cloud::Monitoring::V3::AlertPolicyService::Client#create_alert_policy alertPolicies.create}
|
38
38
|
# method, do not include the `name` field in the alerting policy passed as
|
39
39
|
# part of the request.
|
@@ -104,6 +104,9 @@ module Google
|
|
104
104
|
# @return [::Google::Cloud::Monitoring::V3::MutationRecord]
|
105
105
|
# A read-only record of the most recent change to the alerting policy. If
|
106
106
|
# provided in a call to create or update, this field will be ignored.
|
107
|
+
# @!attribute [rw] alert_strategy
|
108
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy]
|
109
|
+
# Control over how this alert policy's notification channels are notified.
|
107
110
|
class AlertPolicy
|
108
111
|
include ::Google::Protobuf::MessageExts
|
109
112
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -168,6 +171,10 @@ module Google
|
|
168
171
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::MetricAbsence]
|
169
172
|
# A condition that checks that a time series continues to
|
170
173
|
# receive new data points.
|
174
|
+
# @!attribute [rw] condition_matched_log
|
175
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::LogMatch]
|
176
|
+
# A condition that checks for log messages matching given constraints. If
|
177
|
+
# set, no other conditions can be present.
|
171
178
|
# @!attribute [rw] condition_monitoring_query_language
|
172
179
|
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::Condition::MonitoringQueryLanguageCondition]
|
173
180
|
# A condition that uses the Monitoring Query Language to define
|
@@ -327,6 +334,42 @@ module Google
|
|
327
334
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
328
335
|
end
|
329
336
|
|
337
|
+
# A condition type that checks whether a log message in the [scoping
|
338
|
+
# project](https://cloud.google.com/monitoring/api/v3#project_name)
|
339
|
+
# satisfies the given filter. Logs from other projects in the metrics
|
340
|
+
# scope are not evaluated.
|
341
|
+
# @!attribute [rw] filter
|
342
|
+
# @return [::String]
|
343
|
+
# Required. A logs-based filter. See [Advanced Logs
|
344
|
+
# Queries](/logging/docs/view/advanced-queries) for how this filter
|
345
|
+
# should be constructed.
|
346
|
+
# @!attribute [rw] label_extractors
|
347
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
348
|
+
# Optional. A map from a label key to an extractor expression, which is
|
349
|
+
# used to extract the value for this label key. Each entry in this map is
|
350
|
+
# a specification for how data should be extracted from log entries that
|
351
|
+
# match `filter`. Each combination of extracted values is treated as a
|
352
|
+
# separate rule for the purposes of triggering notifications. Label keys
|
353
|
+
# and corresponding values can be used in notifications generated by this
|
354
|
+
# condition.
|
355
|
+
#
|
356
|
+
# Please see [the documentation on logs-based metric
|
357
|
+
# `valueExtractor`s](/logging/docs/reference/v2/rest/v2/projects.metrics#LogMetric.FIELDS.value_extractor)
|
358
|
+
# for syntax and examples.
|
359
|
+
class LogMatch
|
360
|
+
include ::Google::Protobuf::MessageExts
|
361
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
362
|
+
|
363
|
+
# @!attribute [rw] key
|
364
|
+
# @return [::String]
|
365
|
+
# @!attribute [rw] value
|
366
|
+
# @return [::String]
|
367
|
+
class LabelExtractorsEntry
|
368
|
+
include ::Google::Protobuf::MessageExts
|
369
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
330
373
|
# A condition type that allows alert policies to be defined using
|
331
374
|
# [Monitoring Query Language](https://cloud.google.com/monitoring/mql).
|
332
375
|
# @!attribute [rw] query
|
@@ -359,6 +402,28 @@ module Google
|
|
359
402
|
end
|
360
403
|
end
|
361
404
|
|
405
|
+
# Control over how the notification channels in `notification_channels`
|
406
|
+
# are notified when this alert fires.
|
407
|
+
# @!attribute [rw] notification_rate_limit
|
408
|
+
# @return [::Google::Cloud::Monitoring::V3::AlertPolicy::AlertStrategy::NotificationRateLimit]
|
409
|
+
# Required for alert policies with a `LogMatch` condition.
|
410
|
+
#
|
411
|
+
# This limit is not implemented for alert policies that are not log-based.
|
412
|
+
class AlertStrategy
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
|
416
|
+
# Control over the rate of notifications sent to this alert policy's
|
417
|
+
# notification channels.
|
418
|
+
# @!attribute [rw] period
|
419
|
+
# @return [::Google::Protobuf::Duration]
|
420
|
+
# Not more than one notification per `period`.
|
421
|
+
class NotificationRateLimit
|
422
|
+
include ::Google::Protobuf::MessageExts
|
423
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
362
427
|
# @!attribute [rw] key
|
363
428
|
# @return [::String]
|
364
429
|
# @!attribute [rw] value
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
# The protocol for the `CreateAlertPolicy` request.
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The project in
|
27
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
|
28
|
+
# which to create the alerting policy. The format is:
|
28
29
|
#
|
29
30
|
# projects/[PROJECT_ID_OR_NUMBER]
|
30
31
|
#
|
@@ -59,7 +60,8 @@ module Google
|
|
59
60
|
# The protocol for the `ListAlertPolicies` request.
|
60
61
|
# @!attribute [rw] name
|
61
62
|
# @return [::String]
|
62
|
-
# Required. The project
|
63
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
|
64
|
+
# whose alert policies are to be listed. The format is:
|
63
65
|
#
|
64
66
|
# projects/[PROJECT_ID_OR_NUMBER]
|
65
67
|
#
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
45
45
|
end
|
46
46
|
|
47
|
-
# A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
|
47
|
+
# A closed time interval. It extends from the start time to the end time, and includes both: `[startTime, endTime]`. Valid time intervals depend on the [`MetricKind`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time. When writing data points, the start time must not be more than 25 hours in the past and the end time must not be more than five minutes in the future.
|
48
48
|
#
|
49
49
|
# * For `GAUGE` metrics, the `startTime` value is technically optional; if
|
50
50
|
# no value is specified, the start time defaults to the value of the
|
@@ -459,18 +459,6 @@ module Google
|
|
459
459
|
# True if the left argument is not equal to the right argument.
|
460
460
|
COMPARISON_NE = 6
|
461
461
|
end
|
462
|
-
|
463
|
-
# Obsolete.
|
464
|
-
module ServiceTier
|
465
|
-
# Obsolete.
|
466
|
-
SERVICE_TIER_UNSPECIFIED = 0
|
467
|
-
|
468
|
-
# Obsolete.
|
469
|
-
SERVICE_TIER_BASIC = 1
|
470
|
-
|
471
|
-
# Obsolete.
|
472
|
-
SERVICE_TIER_PREMIUM = 2
|
473
|
-
end
|
474
462
|
end
|
475
463
|
end
|
476
464
|
end
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
# The `ListGroup` request.
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The project
|
27
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
|
28
|
+
# whose groups are to be listed. The format is:
|
28
29
|
#
|
29
30
|
# projects/[PROJECT_ID_OR_NUMBER]
|
30
31
|
# @!attribute [rw] children_of_group
|
@@ -95,7 +96,8 @@ module Google
|
|
95
96
|
# The `CreateGroup` request.
|
96
97
|
# @!attribute [rw] name
|
97
98
|
# @return [::String]
|
98
|
-
# Required. The project in
|
99
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
|
100
|
+
# which to create the group. The format is:
|
99
101
|
#
|
100
102
|
# projects/[PROJECT_ID_OR_NUMBER]
|
101
103
|
# @!attribute [rw] group
|
@@ -52,7 +52,9 @@ module Google
|
|
52
52
|
# @!attribute [rw] resource
|
53
53
|
# @return [::Google::Api::MonitoredResource]
|
54
54
|
# The associated monitored resource. Custom metrics can use only certain
|
55
|
-
# monitored resource types in their time series data.
|
55
|
+
# monitored resource types in their time series data. For more information,
|
56
|
+
# see [Monitored resources for custom
|
57
|
+
# metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
|
56
58
|
# @!attribute [rw] metadata
|
57
59
|
# @return [::Google::Api::MonitoredResourceMetadata]
|
58
60
|
# Output only. The associated monitored resource metadata. When reading a
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
# The `ListMonitoredResourceDescriptors` request.
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The project on
|
27
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
|
28
|
+
# which to execute the request. The format is:
|
28
29
|
#
|
29
30
|
# projects/[PROJECT_ID_OR_NUMBER]
|
30
31
|
# @!attribute [rw] filter
|
@@ -80,7 +81,8 @@ module Google
|
|
80
81
|
# The `ListMetricDescriptors` request.
|
81
82
|
# @!attribute [rw] name
|
82
83
|
# @return [::String]
|
83
|
-
# Required. The project on
|
84
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
|
85
|
+
# which to execute the request. The format is:
|
84
86
|
#
|
85
87
|
# projects/[PROJECT_ID_OR_NUMBER]
|
86
88
|
# @!attribute [rw] filter
|
@@ -138,8 +140,9 @@ module Google
|
|
138
140
|
# The `CreateMetricDescriptor` request.
|
139
141
|
# @!attribute [rw] name
|
140
142
|
# @return [::String]
|
141
|
-
# Required. The project on
|
142
|
-
#
|
143
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
|
144
|
+
# which to execute the request. The format is:
|
145
|
+
# 4
|
143
146
|
# projects/[PROJECT_ID_OR_NUMBER]
|
144
147
|
# @!attribute [rw] metric_descriptor
|
145
148
|
# @return [::Google::Api::MetricDescriptor]
|
@@ -167,8 +170,8 @@ module Google
|
|
167
170
|
# The `ListTimeSeries` request.
|
168
171
|
# @!attribute [rw] name
|
169
172
|
# @return [::String]
|
170
|
-
# Required. The project,
|
171
|
-
# format is:
|
173
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
|
174
|
+
# organization or folder on which to execute the request. The format is:
|
172
175
|
#
|
173
176
|
# projects/[PROJECT_ID_OR_NUMBER]
|
174
177
|
# organizations/[ORGANIZATION_ID]
|
@@ -262,7 +265,8 @@ module Google
|
|
262
265
|
# The `CreateTimeSeries` request.
|
263
266
|
# @!attribute [rw] name
|
264
267
|
# @return [::String]
|
265
|
-
# Required. The project on
|
268
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
|
269
|
+
# which to execute the request. The format is:
|
266
270
|
#
|
267
271
|
# projects/[PROJECT_ID_OR_NUMBER]
|
268
272
|
# @!attribute [rw] time_series
|
@@ -321,7 +325,8 @@ module Google
|
|
321
325
|
# The `QueryTimeSeries` request.
|
322
326
|
# @!attribute [rw] name
|
323
327
|
# @return [::String]
|
324
|
-
# Required. The project on
|
328
|
+
# Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
|
329
|
+
# which to execute the request. The format is:
|
325
330
|
#
|
326
331
|
# projects/[PROJECT_ID_OR_NUMBER]
|
327
332
|
# @!attribute [rw] query
|
@@ -52,10 +52,6 @@ module Google
|
|
52
52
|
# The set of labels that must be defined to identify a particular
|
53
53
|
# channel of the corresponding type. Each label includes a
|
54
54
|
# description for how that field should be populated.
|
55
|
-
# @!attribute [rw] supported_tiers
|
56
|
-
# @return [::Array<::Google::Cloud::Monitoring::V3::ServiceTier>]
|
57
|
-
# The tiers that support this notification channel; the project service tier
|
58
|
-
# must be one of the supported_tiers.
|
59
55
|
# @!attribute [rw] launch_stage
|
60
56
|
# @return [::Google::Api::LaunchStage]
|
61
57
|
# The product launch stage for channels of this type.
|