google-cloud-monitoring 0.35.0 → 0.35.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fee166ee580d75f5444f9e5e83666e171ab57011f7052630cd88ad81ea1c07ee
4
- data.tar.gz: 53070f57c04736c8253f139ef784cc92595ef338e9088878534a3d47eb124112
3
+ metadata.gz: 8fe73f9d4a1602ca1e55b66e8ebb2e119941dd9d4ed43f721d0dbd07450b08e9
4
+ data.tar.gz: 97caf88a49d78aa17e80e02fa243ae5a76f34cd5355007edf236744007d6ff77
5
5
  SHA512:
6
- metadata.gz: 200a7c5e1017f81a1c2a1d17c704b6a928a72bb03994c28d601c061d6be781177838d4663b4582d4ca6d4ba77ad51783abb7d13a69ba9656a4456b7b515a8c28
7
- data.tar.gz: 17193c67b1f292123856337ef6dc65baf8afaaba6608ae2aef5e16e931ead582d42c501270becca67833842381245dc32a7b1cbbde75bae2c8e7064a8877dad3
6
+ metadata.gz: 577f9b68ae57ff571eedddea778a34fae7944f407eb16e1e15958a80544185b3c2a333cad9b253bbb6476644265beda3dc3df1918af51716f559c2790119b20d
7
+ data.tar.gz: 2c9e3fcc24fb324fdba6b301efb5186436dd82bff2a6edfe7b2a51bac09e113734dfb0b2f779e418f2353afc8abad889e7ed9e3809c9a211b8c631de2288e6f4
@@ -286,9 +286,9 @@ module Google
286
286
  # Lists the existing alerting policies for the project.
287
287
  #
288
288
  # @param name [String]
289
- # Required. The project whose alert policies are to be listed. The format is
289
+ # Required. The project whose alert policies are to be listed. The format is:
290
290
  #
291
- # projects/[PROJECT_ID]
291
+ # projects/[PROJECT_ID_OR_NUMBER]
292
292
  #
293
293
  # Note that this field names the parent container in which the alerting
294
294
  # policies to be listed are stored. To retrieve a single alerting policy
@@ -300,14 +300,14 @@ module Google
300
300
  # alert policies to be included in the response.
301
301
  #
302
302
  # For more details, see [sorting and
303
- # filtering](/monitoring/api/v3/sorting-and-filtering).
303
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
304
304
  # @param order_by [String]
305
305
  # A comma-separated list of fields by which to sort the result. Supports
306
306
  # the same set of field references as the `filter` field. Entries can be
307
307
  # prefixed with a minus sign to sort by the field in descending order.
308
308
  #
309
309
  # For more details, see [sorting and
310
- # filtering](/monitoring/api/v3/sorting-and-filtering).
310
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
311
311
  # @param page_size [Integer]
312
312
  # The maximum number of resources contained in the underlying API
313
313
  # response. If page streaming is performed per-resource, this
@@ -365,9 +365,9 @@ module Google
365
365
  # Gets a single alerting policy.
366
366
  #
367
367
  # @param name [String]
368
- # Required. The alerting policy to retrieve. The format is
368
+ # Required. The alerting policy to retrieve. The format is:
369
369
  #
370
- # projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
370
+ # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
371
371
  # @param options [Google::Gax::CallOptions]
372
372
  # Overrides the default settings for this call, e.g, timeout,
373
373
  # retries, etc.
@@ -397,18 +397,20 @@ module Google
397
397
  # Creates a new alerting policy.
398
398
  #
399
399
  # @param name [String]
400
- # Required. The project in which to create the alerting policy. The format is
401
- # `projects/[PROJECT_ID]`.
400
+ # Required. The project in which to create the alerting policy. The format is:
401
+ #
402
+ # projects/[PROJECT_ID_OR_NUMBER]
402
403
  #
403
404
  # Note that this field names the parent container in which the alerting
404
405
  # policy will be written, not the name of the created policy. The alerting
405
406
  # policy that is returned will have a name that contains a normalized
406
407
  # representation of this name as a prefix but adds a suffix of the form
407
- # `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
408
+ # `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the
409
+ # container.
408
410
  # @param alert_policy [Google::Monitoring::V3::AlertPolicy | Hash]
409
411
  # Required. The requested alerting policy. You should omit the `name` field in this
410
412
  # policy. The name will be returned in the new policy, including
411
- # a new [ALERT_POLICY_ID] value.
413
+ # a new `[ALERT_POLICY_ID]` value.
412
414
  # A hash of the same form as `Google::Monitoring::V3::AlertPolicy`
413
415
  # can also be provided.
414
416
  # @param options [Google::Gax::CallOptions]
@@ -447,7 +449,7 @@ module Google
447
449
  # @param name [String]
448
450
  # Required. The alerting policy to delete. The format is:
449
451
  #
450
- # projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
452
+ # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
451
453
  #
452
454
  # For more information, see {Google::Monitoring::V3::AlertPolicy AlertPolicy}.
453
455
  # @param options [Google::Gax::CallOptions]
@@ -23,9 +23,9 @@ module Google
23
23
  # @!attribute [rw] name
24
24
  # @return [String]
25
25
  # Required if the policy exists. The resource name for this policy. The
26
- # syntax is:
26
+ # format is:
27
27
  #
28
- # projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
28
+ # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
29
29
  #
30
30
  # `[ALERT_POLICY_ID]` is assigned by Stackdriver Monitoring when the policy
31
31
  # is created. When calling the
@@ -60,14 +60,14 @@ module Google
60
60
  # OR according to the `combiner` field. If the combined conditions evaluate
61
61
  # to true, then an incident is created. A policy can have from one to six
62
62
  # conditions.
63
- # If |condition_time_series_uery_language| is present, it must be the only
64
- # |condition|.
63
+ # If `condition_time_series_query_language` is present, it must be the only
64
+ # `condition`.
65
65
  # @!attribute [rw] combiner
66
66
  # @return [Google::Monitoring::V3::AlertPolicy::ConditionCombinerType]
67
67
  # How to combine the results of multiple conditions to determine if an
68
68
  # incident should be opened.
69
- # If condition_time_series_query_language is present, this must be
70
- # COMBINE_UNSPECIFIED.
69
+ # If `condition_time_series_query_language` is present, this must be
70
+ # `COMBINE_UNSPECIFIED`.
71
71
  # @!attribute [rw] enabled
72
72
  # @return [Google::Protobuf::BoolValue]
73
73
  # Whether or not the policy is enabled. On write, the default interpretation
@@ -88,9 +88,9 @@ module Google
88
88
  # {Google::Monitoring::V3::NotificationChannel `NotificationChannel`}
89
89
  # objects that are returned from the [`ListNotificationChannels`]
90
90
  # [google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
91
- # method. The syntax of the entries in this field is:
91
+ # method. The format of the entries in this field is:
92
92
  #
93
- # projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
93
+ # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
94
94
  # @!attribute [rw] creation_record
95
95
  # @return [Google::Monitoring::V3::MutationRecord]
96
96
  # A read-only record of the creation of the alerting policy. If provided
@@ -121,9 +121,9 @@ module Google
121
121
  # @!attribute [rw] name
122
122
  # @return [String]
123
123
  # Required if the condition exists. The unique resource name for this
124
- # condition. Its syntax is:
124
+ # condition. Its format is:
125
125
  #
126
- # projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
126
+ # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
127
127
  #
128
128
  # `[CONDITION_ID]` is assigned by Stackdriver Monitoring when the
129
129
  # condition is created as part of a new or updated alerting policy.
@@ -199,11 +199,11 @@ module Google
199
199
  # field.
200
200
  # @!attribute [rw] denominator_filter
201
201
  # @return [String]
202
- # A [filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies a time
203
- # series that should be used as the denominator of a ratio that will be
204
- # compared with the threshold. If a `denominator_filter` is specified,
205
- # the time series specified by the `filter` field will be used as the
206
- # numerator.
202
+ # A [filter](https://cloud.google.com/monitoring/api/v3/filters) that
203
+ # identifies a time series that should be used as the denominator of a
204
+ # ratio that will be compared with the threshold. If a
205
+ # `denominator_filter` is specified, the time series specified by the
206
+ # `filter` field will be used as the numerator.
207
207
  #
208
208
  # The filter must specify the metric type and optionally may contain
209
209
  # restrictions on resource type, resource labels, and metric labels.
@@ -306,7 +306,7 @@ module Google
306
306
  COMBINE_UNSPECIFIED = 0
307
307
 
308
308
  # Combine conditions using the logical `AND` operator. An
309
- # incident is created only if all conditions are met
309
+ # incident is created only if all the conditions are met
310
310
  # simultaneously. This combiner is satisfied if all conditions are
311
311
  # met, even if they are met on completely different resources.
312
312
  AND = 1
@@ -19,35 +19,37 @@ module Google
19
19
  # The protocol for the `CreateAlertPolicy` request.
20
20
  # @!attribute [rw] name
21
21
  # @return [String]
22
- # Required. The project in which to create the alerting policy. The format is
23
- # `projects/[PROJECT_ID]`.
22
+ # Required. The project in which to create the alerting policy. The format is:
23
+ #
24
+ # projects/[PROJECT_ID_OR_NUMBER]
24
25
  #
25
26
  # Note that this field names the parent container in which the alerting
26
27
  # policy will be written, not the name of the created policy. The alerting
27
28
  # policy that is returned will have a name that contains a normalized
28
29
  # representation of this name as a prefix but adds a suffix of the form
29
- # `/alertPolicies/[POLICY_ID]`, identifying the policy in the container.
30
+ # `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the
31
+ # container.
30
32
  # @!attribute [rw] alert_policy
31
33
  # @return [Google::Monitoring::V3::AlertPolicy]
32
34
  # Required. The requested alerting policy. You should omit the `name` field in this
33
35
  # policy. The name will be returned in the new policy, including
34
- # a new [ALERT_POLICY_ID] value.
36
+ # a new `[ALERT_POLICY_ID]` value.
35
37
  class CreateAlertPolicyRequest; end
36
38
 
37
39
  # The protocol for the `GetAlertPolicy` request.
38
40
  # @!attribute [rw] name
39
41
  # @return [String]
40
- # Required. The alerting policy to retrieve. The format is
42
+ # Required. The alerting policy to retrieve. The format is:
41
43
  #
42
- # projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
44
+ # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
43
45
  class GetAlertPolicyRequest; end
44
46
 
45
47
  # The protocol for the `ListAlertPolicies` request.
46
48
  # @!attribute [rw] name
47
49
  # @return [String]
48
- # Required. The project whose alert policies are to be listed. The format is
50
+ # Required. The project whose alert policies are to be listed. The format is:
49
51
  #
50
- # projects/[PROJECT_ID]
52
+ # projects/[PROJECT_ID_OR_NUMBER]
51
53
  #
52
54
  # Note that this field names the parent container in which the alerting
53
55
  # policies to be listed are stored. To retrieve a single alerting policy
@@ -60,7 +62,7 @@ module Google
60
62
  # alert policies to be included in the response.
61
63
  #
62
64
  # For more details, see [sorting and
63
- # filtering](/monitoring/api/v3/sorting-and-filtering).
65
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
64
66
  # @!attribute [rw] order_by
65
67
  # @return [String]
66
68
  # A comma-separated list of fields by which to sort the result. Supports
@@ -68,7 +70,7 @@ module Google
68
70
  # prefixed with a minus sign to sort by the field in descending order.
69
71
  #
70
72
  # For more details, see [sorting and
71
- # filtering](/monitoring/api/v3/sorting-and-filtering).
73
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
72
74
  # @!attribute [rw] page_size
73
75
  # @return [Integer]
74
76
  # The maximum number of results to return in a single response.
@@ -87,7 +89,7 @@ module Google
87
89
  # @return [String]
88
90
  # If there might be more results than were returned, then this field is set
89
91
  # to a non-empty value. To see the additional results,
90
- # use that value as `pageToken` in the next call to this method.
92
+ # use that value as `page_token` in the next call to this method.
91
93
  class ListAlertPoliciesResponse; end
92
94
 
93
95
  # The protocol for the `UpdateAlertPolicy` request.
@@ -127,7 +129,7 @@ module Google
127
129
  # @return [String]
128
130
  # Required. The alerting policy to delete. The format is:
129
131
  #
130
- # projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
132
+ # projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
131
133
  #
132
134
  # For more information, see {Google::Monitoring::V3::AlertPolicy AlertPolicy}.
133
135
  class DeleteAlertPolicyRequest; end
@@ -19,32 +19,42 @@ module Google
19
19
  # The `ListGroup` request.
20
20
  # @!attribute [rw] name
21
21
  # @return [String]
22
- # Required. The project whose groups are to be listed. The format is
23
- # `"projects/{project_id_or_number}"`.
22
+ # Required. The project whose groups are to be listed. The format is:
23
+ #
24
+ # projects/[PROJECT_ID_OR_NUMBER]
24
25
  # @!attribute [rw] children_of_group
25
26
  # @return [String]
26
- # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
27
- # Returns groups whose `parentName` field contains the group
27
+ # A group name. The format is:
28
+ #
29
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
30
+ #
31
+ # Returns groups whose `parent_name` field contains the group
28
32
  # name. If no groups have this parent, the results are empty.
29
33
  # @!attribute [rw] ancestors_of_group
30
34
  # @return [String]
31
- # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
35
+ # A group name. The format is:
36
+ #
37
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
38
+ #
32
39
  # Returns groups that are ancestors of the specified group.
33
40
  # The groups are returned in order, starting with the immediate parent and
34
41
  # ending with the most distant ancestor. If the specified group has no
35
42
  # immediate parent, the results are empty.
36
43
  # @!attribute [rw] descendants_of_group
37
44
  # @return [String]
38
- # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
45
+ # A group name. The format is:
46
+ #
47
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
48
+ #
39
49
  # Returns the descendants of the specified group. This is a superset of
40
- # the results returned by the `childrenOfGroup` filter, and includes
50
+ # the results returned by the `children_of_group` filter, and includes
41
51
  # children-of-children, and so forth.
42
52
  # @!attribute [rw] page_size
43
53
  # @return [Integer]
44
54
  # A positive number that is the maximum number of results to return.
45
55
  # @!attribute [rw] page_token
46
56
  # @return [String]
47
- # If this field is not empty then it must contain the `nextPageToken` value
57
+ # If this field is not empty then it must contain the `next_page_token` value
48
58
  # returned by a previous call to this method. Using this field causes the
49
59
  # method to return additional results from the previous method call.
50
60
  class ListGroupsRequest; end
@@ -57,21 +67,23 @@ module Google
57
67
  # @return [String]
58
68
  # If there are more results than have been returned, then this field is set
59
69
  # to a non-empty value. To see the additional results,
60
- # use that value as `pageToken` in the next call to this method.
70
+ # use that value as `page_token` in the next call to this method.
61
71
  class ListGroupsResponse; end
62
72
 
63
73
  # The `GetGroup` request.
64
74
  # @!attribute [rw] name
65
75
  # @return [String]
66
- # Required. The group to retrieve. The format is
67
- # `"projects/{project_id_or_number}/groups/{group_id}"`.
76
+ # Required. The group to retrieve. The format is:
77
+ #
78
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
68
79
  class GetGroupRequest; end
69
80
 
70
81
  # The `CreateGroup` request.
71
82
  # @!attribute [rw] name
72
83
  # @return [String]
73
- # Required. The project in which to create the group. The format is
74
- # `"projects/{project_id_or_number}"`.
84
+ # Required. The project in which to create the group. The format is:
85
+ #
86
+ # projects/[PROJECT_ID_OR_NUMBER]
75
87
  # @!attribute [rw] group
76
88
  # @return [Google::Monitoring::V3::Group]
77
89
  # Required. A group definition. It is an error to define the `name` field because
@@ -95,8 +107,9 @@ module Google
95
107
  # single group without any descendants.
96
108
  # @!attribute [rw] name
97
109
  # @return [String]
98
- # Required. The group to delete. The format is
99
- # `"projects/{project_id_or_number}/groups/{group_id}"`.
110
+ # Required. The group to delete. The format is:
111
+ #
112
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
100
113
  # @!attribute [rw] recursive
101
114
  # @return [true, false]
102
115
  # If this field is true, then the request means to delete a group with all
@@ -107,25 +120,27 @@ module Google
107
120
  # The `ListGroupMembers` request.
108
121
  # @!attribute [rw] name
109
122
  # @return [String]
110
- # Required. The group whose members are listed. The format is
111
- # `"projects/{project_id_or_number}/groups/{group_id}"`.
123
+ # Required. The group whose members are listed. The format is:
124
+ #
125
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
112
126
  # @!attribute [rw] page_size
113
127
  # @return [Integer]
114
128
  # A positive number that is the maximum number of results to return.
115
129
  # @!attribute [rw] page_token
116
130
  # @return [String]
117
- # If this field is not empty then it must contain the `nextPageToken` value
131
+ # If this field is not empty then it must contain the `next_page_token` value
118
132
  # returned by a previous call to this method. Using this field causes the
119
133
  # method to return additional results from the previous method call.
120
134
  # @!attribute [rw] filter
121
135
  # @return [String]
122
- # An optional [list filter](https://cloud.google.com/monitoring/api/learn_more#filtering) describing
123
- # the members to be returned. The filter may reference the type, labels, and
124
- # metadata of monitored resources that comprise the group.
125
- # For example, to return only resources representing Compute Engine VM
126
- # instances, use this filter:
136
+ # An optional [list
137
+ # filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
138
+ # describing the members to be returned. The filter may reference the type,
139
+ # labels, and metadata of monitored resources that comprise the group. For
140
+ # example, to return only resources representing Compute Engine VM instances,
141
+ # use this filter:
127
142
  #
128
- # resource.type = "gce_instance"
143
+ # `resource.type = "gce_instance"`
129
144
  # @!attribute [rw] interval
130
145
  # @return [Google::Monitoring::V3::TimeInterval]
131
146
  # An optional time interval for which results should be returned. Only
@@ -142,7 +157,7 @@ module Google
142
157
  # @return [String]
143
158
  # If there are more results than have been returned, then this field is
144
159
  # set to a non-empty value. To see the additional results, use that value as
145
- # `pageToken` in the next call to this method.
160
+ # `page_token` in the next call to this method.
146
161
  # @!attribute [rw] total_size
147
162
  # @return [Integer]
148
163
  # The total number of elements matching this request.
@@ -19,15 +19,15 @@ module Google
19
19
  # The `ListMonitoredResourceDescriptors` request.
20
20
  # @!attribute [rw] name
21
21
  # @return [String]
22
- # Required. The project on which to execute the request. The format is
23
- # `"projects/{project_id_or_number}"`.
22
+ # Required. The project on which to execute the request. The format is:
23
+ #
24
+ # projects/[PROJECT_ID_OR_NUMBER]
24
25
  # @!attribute [rw] filter
25
26
  # @return [String]
26
- # An optional [filter](https://cloud.google.com/monitoring/api/v3/filters) describing
27
- # the descriptors to be returned. The filter can reference
28
- # the descriptor's type and labels. For example, the
29
- # following filter returns only Google Compute Engine descriptors
30
- # that have an `id` label:
27
+ # An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
28
+ # describing the descriptors to be returned. The filter can reference the
29
+ # descriptor's type and labels. For example, the following filter returns
30
+ # only Google Compute Engine descriptors that have an `id` label:
31
31
  #
32
32
  # resource.type = starts_with("gce_") AND resource.label:id
33
33
  # @!attribute [rw] page_size
@@ -49,23 +49,26 @@ module Google
49
49
  # @return [String]
50
50
  # If there are more results than have been returned, then this field is set
51
51
  # to a non-empty value. To see the additional results,
52
- # use that value as `pageToken` in the next call to this method.
52
+ # use that value as `page_token` in the next call to this method.
53
53
  class ListMonitoredResourceDescriptorsResponse; end
54
54
 
55
55
  # The `GetMonitoredResourceDescriptor` request.
56
56
  # @!attribute [rw] name
57
57
  # @return [String]
58
- # Required. The monitored resource descriptor to get. The format is
59
- # `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
60
- # The `{resource_type}` is a predefined type, such as
58
+ # Required. The monitored resource descriptor to get. The format is:
59
+ #
60
+ # projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
61
+ #
62
+ # The `[RESOURCE_TYPE]` is a predefined type, such as
61
63
  # `cloudsql_database`.
62
64
  class GetMonitoredResourceDescriptorRequest; end
63
65
 
64
66
  # The `ListMetricDescriptors` request.
65
67
  # @!attribute [rw] name
66
68
  # @return [String]
67
- # Required. The project on which to execute the request. The format is
68
- # `"projects/{project_id_or_number}"`.
69
+ # Required. The project on which to execute the request. The format is:
70
+ #
71
+ # projects/[PROJECT_ID_OR_NUMBER]
69
72
  # @!attribute [rw] filter
70
73
  # @return [String]
71
74
  # If this field is empty, all custom and
@@ -95,23 +98,26 @@ module Google
95
98
  # @return [String]
96
99
  # If there are more results than have been returned, then this field is set
97
100
  # to a non-empty value. To see the additional results,
98
- # use that value as `pageToken` in the next call to this method.
101
+ # use that value as `page_token` in the next call to this method.
99
102
  class ListMetricDescriptorsResponse; end
100
103
 
101
104
  # The `GetMetricDescriptor` request.
102
105
  # @!attribute [rw] name
103
106
  # @return [String]
104
- # Required. The metric descriptor on which to execute the request. The format is
105
- # `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
106
- # An example value of `{metric_id}` is
107
+ # Required. The metric descriptor on which to execute the request. The format is:
108
+ #
109
+ # projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
110
+ #
111
+ # An example value of `[METRIC_ID]` is
107
112
  # `"compute.googleapis.com/instance/disk/read_bytes_count"`.
108
113
  class GetMetricDescriptorRequest; end
109
114
 
110
115
  # The `CreateMetricDescriptor` request.
111
116
  # @!attribute [rw] name
112
117
  # @return [String]
113
- # Required. The project on which to execute the request. The format is
114
- # `"projects/{project_id_or_number}"`.
118
+ # Required. The project on which to execute the request. The format is:
119
+ #
120
+ # projects/[PROJECT_ID_OR_NUMBER]
115
121
  # @!attribute [rw] metric_descriptor
116
122
  # @return [Google::Api::MetricDescriptor]
117
123
  # Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
@@ -121,23 +127,26 @@ module Google
121
127
  # The `DeleteMetricDescriptor` request.
122
128
  # @!attribute [rw] name
123
129
  # @return [String]
124
- # Required. The metric descriptor on which to execute the request. The format is
125
- # `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
126
- # An example of `{metric_id}` is:
130
+ # Required. The metric descriptor on which to execute the request. The format is:
131
+ #
132
+ # projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
133
+ #
134
+ # An example of `[METRIC_ID]` is:
127
135
  # `"custom.googleapis.com/my_test_metric"`.
128
136
  class DeleteMetricDescriptorRequest; end
129
137
 
130
138
  # The `ListTimeSeries` request.
131
139
  # @!attribute [rw] name
132
140
  # @return [String]
133
- # Required. The project on which to execute the request. The format is
134
- # "projects/\\{project_id_or_number}".
141
+ # Required. The project on which to execute the request. The format is:
142
+ #
143
+ # projects/[PROJECT_ID_OR_NUMBER]
135
144
  # @!attribute [rw] filter
136
145
  # @return [String]
137
- # Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that specifies which time
138
- # series should be returned. The filter must specify a single metric type,
139
- # and can additionally specify metric labels and other information. For
140
- # example:
146
+ # Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
147
+ # that specifies which time series should be returned. The filter must
148
+ # specify a single metric type, and can additionally specify metric labels
149
+ # and other information. For example:
141
150
  #
142
151
  # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
143
152
  # metric.labels.instance_name = "my-instance-name"
@@ -193,7 +202,7 @@ module Google
193
202
  # @return [String]
194
203
  # If there are more results than have been returned, then this field is set
195
204
  # to a non-empty value. To see the additional results,
196
- # use that value as `pageToken` in the next call to this method.
205
+ # use that value as `page_token` in the next call to this method.
197
206
  # @!attribute [rw] execution_errors
198
207
  # @return [Array<Google::Rpc::Status>]
199
208
  # Query execution errors that may have caused the time series data returned
@@ -203,8 +212,9 @@ module Google
203
212
  # The `CreateTimeSeries` request.
204
213
  # @!attribute [rw] name
205
214
  # @return [String]
206
- # Required. The project on which to execute the request. The format is
207
- # `"projects/{project_id_or_number}"`.
215
+ # Required. The project on which to execute the request. The format is:
216
+ #
217
+ # projects/[PROJECT_ID_OR_NUMBER]
208
218
  # @!attribute [rw] time_series
209
219
  # @return [Array<Google::Monitoring::V3::TimeSeries>]
210
220
  # Required. The new data to be added to a list of time series.
@@ -22,7 +22,7 @@ module Google
22
22
  # Required. The REST resource name of the parent from which to retrieve
23
23
  # the notification channel descriptors. The expected syntax is:
24
24
  #
25
- # projects/[PROJECT_ID]
25
+ # projects/[PROJECT_ID_OR_NUMBER]
26
26
  #
27
27
  # Note that this names the parent container in which to look for the
28
28
  # descriptors; to retrieve a single descriptor by name, use the
@@ -56,8 +56,9 @@ module Google
56
56
  # The `GetNotificationChannelDescriptor` response.
57
57
  # @!attribute [rw] name
58
58
  # @return [String]
59
- # Required. The channel type for which to execute the request. The format is
60
- # `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
59
+ # Required. The channel type for which to execute the request. The format is:
60
+ #
61
+ # projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
61
62
  class GetNotificationChannelDescriptorRequest; end
62
63
 
63
64
  # The `CreateNotificationChannel` request.
@@ -65,10 +66,10 @@ module Google
65
66
  # @return [String]
66
67
  # Required. The project on which to execute the request. The format is:
67
68
  #
68
- # projects/[PROJECT_ID]
69
+ # projects/[PROJECT_ID_OR_NUMBER]
69
70
  #
70
- # Note that this names the container into which the channel will be
71
- # written. This does not name the newly created channel. The resulting
71
+ # This names the container into which the channel will be
72
+ # written, this does not name the newly created channel. The resulting
72
73
  # channel's name will have a normalized version of this field as a prefix,
73
74
  # but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
74
75
  # @!attribute [rw] notification_channel
@@ -79,8 +80,11 @@ module Google
79
80
  # The `ListNotificationChannels` request.
80
81
  # @!attribute [rw] name
81
82
  # @return [String]
82
- # Required. The project on which to execute the request. The format is
83
- # `projects/[PROJECT_ID]`. That is, this names the container
83
+ # Required. The project on which to execute the request. The format is:
84
+ #
85
+ # projects/[PROJECT_ID_OR_NUMBER]
86
+ #
87
+ # This names the container
84
88
  # in which to look for the notification channels; it does not name a
85
89
  # specific channel. To query a specific channel by REST resource name, use
86
90
  # the
@@ -92,7 +96,7 @@ module Google
92
96
  # notification channels to be included in the response.
93
97
  #
94
98
  # For more details, see [sorting and
95
- # filtering](/monitoring/api/v3/sorting-and-filtering).
99
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
96
100
  # @!attribute [rw] order_by
97
101
  # @return [String]
98
102
  # A comma-separated list of fields by which to sort the result. Supports
@@ -100,7 +104,7 @@ module Google
100
104
  # a minus sign to sort in descending rather than ascending order.
101
105
  #
102
106
  # For more details, see [sorting and
103
- # filtering](/monitoring/api/v3/sorting-and-filtering).
107
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
104
108
  # @!attribute [rw] page_size
105
109
  # @return [Integer]
106
110
  # The maximum number of results to return in a single response. If
@@ -128,8 +132,9 @@ module Google
128
132
  # The `GetNotificationChannel` request.
129
133
  # @!attribute [rw] name
130
134
  # @return [String]
131
- # Required. The channel for which to execute the request. The format is
132
- # `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
135
+ # Required. The channel for which to execute the request. The format is:
136
+ #
137
+ # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
133
138
  class GetNotificationChannelRequest; end
134
139
 
135
140
  # The `UpdateNotificationChannel` request.
@@ -147,8 +152,9 @@ module Google
147
152
  # The `DeleteNotificationChannel` request.
148
153
  # @!attribute [rw] name
149
154
  # @return [String]
150
- # Required. The channel for which to execute the request. The format is
151
- # `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
155
+ # Required. The channel for which to execute the request. The format is:
156
+ #
157
+ # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
152
158
  # @!attribute [rw] force
153
159
  # @return [true, false]
154
160
  # If true, the notification channel will be deleted regardless of its
@@ -282,22 +282,32 @@ module Google
282
282
  # Lists the existing groups.
283
283
  #
284
284
  # @param name [String]
285
- # Required. The project whose groups are to be listed. The format is
286
- # `"projects/{project_id_or_number}"`.
285
+ # Required. The project whose groups are to be listed. The format is:
286
+ #
287
+ # projects/[PROJECT_ID_OR_NUMBER]
287
288
  # @param children_of_group [String]
288
- # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
289
- # Returns groups whose `parentName` field contains the group
289
+ # A group name. The format is:
290
+ #
291
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
292
+ #
293
+ # Returns groups whose `parent_name` field contains the group
290
294
  # name. If no groups have this parent, the results are empty.
291
295
  # @param ancestors_of_group [String]
292
- # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
296
+ # A group name. The format is:
297
+ #
298
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
299
+ #
293
300
  # Returns groups that are ancestors of the specified group.
294
301
  # The groups are returned in order, starting with the immediate parent and
295
302
  # ending with the most distant ancestor. If the specified group has no
296
303
  # immediate parent, the results are empty.
297
304
  # @param descendants_of_group [String]
298
- # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
305
+ # A group name. The format is:
306
+ #
307
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
308
+ #
299
309
  # Returns the descendants of the specified group. This is a superset of
300
- # the results returned by the `childrenOfGroup` filter, and includes
310
+ # the results returned by the `children_of_group` filter, and includes
301
311
  # children-of-children, and so forth.
302
312
  # @param page_size [Integer]
303
313
  # The maximum number of resources contained in the underlying API
@@ -358,8 +368,9 @@ module Google
358
368
  # Gets a single group.
359
369
  #
360
370
  # @param name [String]
361
- # Required. The group to retrieve. The format is
362
- # `"projects/{project_id_or_number}/groups/{group_id}"`.
371
+ # Required. The group to retrieve. The format is:
372
+ #
373
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
363
374
  # @param options [Google::Gax::CallOptions]
364
375
  # Overrides the default settings for this call, e.g, timeout,
365
376
  # retries, etc.
@@ -389,8 +400,9 @@ module Google
389
400
  # Creates a new group.
390
401
  #
391
402
  # @param name [String]
392
- # Required. The project in which to create the group. The format is
393
- # `"projects/{project_id_or_number}"`.
403
+ # Required. The project in which to create the group. The format is:
404
+ #
405
+ # projects/[PROJECT_ID_OR_NUMBER]
394
406
  # @param group [Google::Monitoring::V3::Group | Hash]
395
407
  # Required. A group definition. It is an error to define the `name` field because
396
408
  # the system assigns the name.
@@ -474,8 +486,9 @@ module Google
474
486
  # Deletes an existing group.
475
487
  #
476
488
  # @param name [String]
477
- # Required. The group to delete. The format is
478
- # `"projects/{project_id_or_number}/groups/{group_id}"`.
489
+ # Required. The group to delete. The format is:
490
+ #
491
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
479
492
  # @param recursive [true, false]
480
493
  # If this field is true, then the request means to delete a group with all
481
494
  # its descendants. Otherwise, the request means to delete a group only when
@@ -511,8 +524,9 @@ module Google
511
524
  # Lists the monitored resources that are members of a group.
512
525
  #
513
526
  # @param name [String]
514
- # Required. The group whose members are listed. The format is
515
- # `"projects/{project_id_or_number}/groups/{group_id}"`.
527
+ # Required. The group whose members are listed. The format is:
528
+ #
529
+ # projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
516
530
  # @param page_size [Integer]
517
531
  # The maximum number of resources contained in the underlying API
518
532
  # response. If page streaming is performed per-resource, this
@@ -520,13 +534,14 @@ module Google
520
534
  # performed per-page, this determines the maximum number of
521
535
  # resources in a page.
522
536
  # @param filter [String]
523
- # An optional [list filter](https://cloud.google.com/monitoring/api/learn_more#filtering) describing
524
- # the members to be returned. The filter may reference the type, labels, and
525
- # metadata of monitored resources that comprise the group.
526
- # For example, to return only resources representing Compute Engine VM
527
- # instances, use this filter:
537
+ # An optional [list
538
+ # filter](https://cloud.google.com/monitoring/api/learn_more#filtering)
539
+ # describing the members to be returned. The filter may reference the type,
540
+ # labels, and metadata of monitored resources that comprise the group. For
541
+ # example, to return only resources representing Compute Engine VM instances,
542
+ # use this filter:
528
543
  #
529
- # resource.type = "gce_instance"
544
+ # `resource.type = "gce_instance"`
530
545
  # @param interval [Google::Monitoring::V3::TimeInterval | Hash]
531
546
  # An optional time interval for which results should be returned. Only
532
547
  # members that were part of the group during the specified interval are
@@ -309,14 +309,14 @@ module Google
309
309
  # Lists monitored resource descriptors that match a filter. This method does not require a Stackdriver account.
310
310
  #
311
311
  # @param name [String]
312
- # Required. The project on which to execute the request. The format is
313
- # `"projects/{project_id_or_number}"`.
312
+ # Required. The project on which to execute the request. The format is:
313
+ #
314
+ # projects/[PROJECT_ID_OR_NUMBER]
314
315
  # @param filter [String]
315
- # An optional [filter](https://cloud.google.com/monitoring/api/v3/filters) describing
316
- # the descriptors to be returned. The filter can reference
317
- # the descriptor's type and labels. For example, the
318
- # following filter returns only Google Compute Engine descriptors
319
- # that have an `id` label:
316
+ # An optional [filter](https://cloud.google.com/monitoring/api/v3/filters)
317
+ # describing the descriptors to be returned. The filter can reference the
318
+ # descriptor's type and labels. For example, the following filter returns
319
+ # only Google Compute Engine descriptors that have an `id` label:
320
320
  #
321
321
  # resource.type = starts_with("gce_") AND resource.label:id
322
322
  # @param page_size [Integer]
@@ -374,9 +374,11 @@ module Google
374
374
  # Gets a single monitored resource descriptor. This method does not require a Stackdriver account.
375
375
  #
376
376
  # @param name [String]
377
- # Required. The monitored resource descriptor to get. The format is
378
- # `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
379
- # The `{resource_type}` is a predefined type, such as
377
+ # Required. The monitored resource descriptor to get. The format is:
378
+ #
379
+ # projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]
380
+ #
381
+ # The `[RESOURCE_TYPE]` is a predefined type, such as
380
382
  # `cloudsql_database`.
381
383
  # @param options [Google::Gax::CallOptions]
382
384
  # Overrides the default settings for this call, e.g, timeout,
@@ -407,8 +409,9 @@ module Google
407
409
  # Lists metric descriptors that match a filter. This method does not require a Stackdriver account.
408
410
  #
409
411
  # @param name [String]
410
- # Required. The project on which to execute the request. The format is
411
- # `"projects/{project_id_or_number}"`.
412
+ # Required. The project on which to execute the request. The format is:
413
+ #
414
+ # projects/[PROJECT_ID_OR_NUMBER]
412
415
  # @param filter [String]
413
416
  # If this field is empty, all custom and
414
417
  # system-defined metric descriptors are returned.
@@ -473,9 +476,11 @@ module Google
473
476
  # Gets a single metric descriptor. This method does not require a Stackdriver account.
474
477
  #
475
478
  # @param name [String]
476
- # Required. The metric descriptor on which to execute the request. The format is
477
- # `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
478
- # An example value of `{metric_id}` is
479
+ # Required. The metric descriptor on which to execute the request. The format is:
480
+ #
481
+ # projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
482
+ #
483
+ # An example value of `[METRIC_ID]` is
479
484
  # `"compute.googleapis.com/instance/disk/read_bytes_count"`.
480
485
  # @param options [Google::Gax::CallOptions]
481
486
  # Overrides the default settings for this call, e.g, timeout,
@@ -508,8 +513,9 @@ module Google
508
513
  # [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
509
514
  #
510
515
  # @param name [String]
511
- # Required. The project on which to execute the request. The format is
512
- # `"projects/{project_id_or_number}"`.
516
+ # Required. The project on which to execute the request. The format is:
517
+ #
518
+ # projects/[PROJECT_ID_OR_NUMBER]
513
519
  # @param metric_descriptor [Google::Api::MetricDescriptor | Hash]
514
520
  # Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
515
521
  # descriptor.
@@ -547,12 +553,15 @@ module Google
547
553
  end
548
554
 
549
555
  # Deletes a metric descriptor. Only user-created
550
- # [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be deleted.
556
+ # [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
557
+ # deleted.
551
558
  #
552
559
  # @param name [String]
553
- # Required. The metric descriptor on which to execute the request. The format is
554
- # `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
555
- # An example of `{metric_id}` is:
560
+ # Required. The metric descriptor on which to execute the request. The format is:
561
+ #
562
+ # projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]
563
+ #
564
+ # An example of `[METRIC_ID]` is:
556
565
  # `"custom.googleapis.com/my_test_metric"`.
557
566
  # @param options [Google::Gax::CallOptions]
558
567
  # Overrides the default settings for this call, e.g, timeout,
@@ -583,13 +592,14 @@ module Google
583
592
  # Lists time series that match a filter. This method does not require a Stackdriver account.
584
593
  #
585
594
  # @param name [String]
586
- # Required. The project on which to execute the request. The format is
587
- # "projects/\\{project_id_or_number}".
595
+ # Required. The project on which to execute the request. The format is:
596
+ #
597
+ # projects/[PROJECT_ID_OR_NUMBER]
588
598
  # @param filter [String]
589
- # Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) that specifies which time
590
- # series should be returned. The filter must specify a single metric type,
591
- # and can additionally specify metric labels and other information. For
592
- # example:
599
+ # Required. A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
600
+ # that specifies which time series should be returned. The filter must
601
+ # specify a single metric type, and can additionally specify metric labels
602
+ # and other information. For example:
593
603
  #
594
604
  # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
595
605
  # metric.labels.instance_name = "my-instance-name"
@@ -687,8 +697,9 @@ module Google
687
697
  # included in the error response.
688
698
  #
689
699
  # @param name [String]
690
- # Required. The project on which to execute the request. The format is
691
- # `"projects/{project_id_or_number}"`.
700
+ # Required. The project on which to execute the request. The format is:
701
+ #
702
+ # projects/[PROJECT_ID_OR_NUMBER]
692
703
  # @param time_series [Array<Google::Monitoring::V3::TimeSeries | Hash>]
693
704
  # Required. The new data to be added to a list of time series.
694
705
  # Adds at most one data point to each of several time series. The new data
@@ -325,7 +325,7 @@ module Google
325
325
  # Required. The REST resource name of the parent from which to retrieve
326
326
  # the notification channel descriptors. The expected syntax is:
327
327
  #
328
- # projects/[PROJECT_ID]
328
+ # projects/[PROJECT_ID_OR_NUMBER]
329
329
  #
330
330
  # Note that this names the parent container in which to look for the
331
331
  # descriptors; to retrieve a single descriptor by name, use the
@@ -385,8 +385,9 @@ module Google
385
385
  # are expected / permitted for a notification channel of the given type.
386
386
  #
387
387
  # @param name [String]
388
- # Required. The channel type for which to execute the request. The format is
389
- # `projects/[PROJECT_ID]/notificationChannelDescriptors/{channel_type}`.
388
+ # Required. The channel type for which to execute the request. The format is:
389
+ #
390
+ # projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[CHANNEL_TYPE]
390
391
  # @param options [Google::Gax::CallOptions]
391
392
  # Overrides the default settings for this call, e.g, timeout,
392
393
  # retries, etc.
@@ -416,8 +417,11 @@ module Google
416
417
  # Lists the notification channels that have been created for the project.
417
418
  #
418
419
  # @param name [String]
419
- # Required. The project on which to execute the request. The format is
420
- # `projects/[PROJECT_ID]`. That is, this names the container
420
+ # Required. The project on which to execute the request. The format is:
421
+ #
422
+ # projects/[PROJECT_ID_OR_NUMBER]
423
+ #
424
+ # This names the container
421
425
  # in which to look for the notification channels; it does not name a
422
426
  # specific channel. To query a specific channel by REST resource name, use
423
427
  # the
@@ -428,14 +432,14 @@ module Google
428
432
  # notification channels to be included in the response.
429
433
  #
430
434
  # For more details, see [sorting and
431
- # filtering](/monitoring/api/v3/sorting-and-filtering).
435
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
432
436
  # @param order_by [String]
433
437
  # A comma-separated list of fields by which to sort the result. Supports
434
438
  # the same set of fields as in `filter`. Entries can be prefixed with
435
439
  # a minus sign to sort in descending rather than ascending order.
436
440
  #
437
441
  # For more details, see [sorting and
438
- # filtering](/monitoring/api/v3/sorting-and-filtering).
442
+ # filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
439
443
  # @param page_size [Integer]
440
444
  # The maximum number of resources contained in the underlying API
441
445
  # response. If page streaming is performed per-resource, this
@@ -497,8 +501,9 @@ module Google
497
501
  # that was supplied in the call to the create method.
498
502
  #
499
503
  # @param name [String]
500
- # Required. The channel for which to execute the request. The format is
501
- # `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
504
+ # Required. The channel for which to execute the request. The format is:
505
+ #
506
+ # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
502
507
  # @param options [Google::Gax::CallOptions]
503
508
  # Overrides the default settings for this call, e.g, timeout,
504
509
  # retries, etc.
@@ -531,10 +536,10 @@ module Google
531
536
  # @param name [String]
532
537
  # Required. The project on which to execute the request. The format is:
533
538
  #
534
- # projects/[PROJECT_ID]
539
+ # projects/[PROJECT_ID_OR_NUMBER]
535
540
  #
536
- # Note that this names the container into which the channel will be
537
- # written. This does not name the newly created channel. The resulting
541
+ # This names the container into which the channel will be
542
+ # written, this does not name the newly created channel. The resulting
538
543
  # channel's name will have a normalized version of this field as a prefix,
539
544
  # but will add `/notificationChannels/[CHANNEL_ID]` to identify the channel.
540
545
  # @param notification_channel [Google::Monitoring::V3::NotificationChannel | Hash]
@@ -619,8 +624,9 @@ module Google
619
624
  # Deletes a notification channel.
620
625
  #
621
626
  # @param name [String]
622
- # Required. The channel for which to execute the request. The format is
623
- # `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
627
+ # Required. The channel for which to execute the request. The format is:
628
+ #
629
+ # projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
624
630
  # @param force [true, false]
625
631
  # If true, the notification channel will be deleted regardless of its
626
632
  # use in alert policies (the policies will be updated to remove the
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Monitoring
19
- VERSION = "0.35.0".freeze
19
+ VERSION = "0.35.1".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -45,10 +45,11 @@ module Google
45
45
  rpc :GetMetricDescriptor, GetMetricDescriptorRequest, Google::Api::MetricDescriptor
46
46
  # Creates a new metric descriptor.
47
47
  # User-created metric descriptors define
48
- # [custom metrics](/monitoring/custom-metrics).
48
+ # [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
49
49
  rpc :CreateMetricDescriptor, CreateMetricDescriptorRequest, Google::Api::MetricDescriptor
50
50
  # Deletes a metric descriptor. Only user-created
51
- # [custom metrics](/monitoring/custom-metrics) can be deleted.
51
+ # [custom metrics](https://cloud.google.com/monitoring/custom-metrics) can be
52
+ # deleted.
52
53
  rpc :DeleteMetricDescriptor, DeleteMetricDescriptorRequest, Google::Protobuf::Empty
53
54
  # Lists time series that match a filter. This method does not require a Stackdriver account.
54
55
  rpc :ListTimeSeries, ListTimeSeriesRequest, ListTimeSeriesResponse
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-monitoring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-04 00:00:00.000000000 Z
11
+ date: 2020-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax