google-cloud-monitoring 0.29.1 → 0.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/lib/google/cloud/monitoring.rb +4 -4
  4. data/lib/google/cloud/monitoring/v3.rb +4 -4
  5. data/lib/google/cloud/monitoring/v3/alert_policy_service_client.rb +19 -19
  6. data/lib/google/cloud/monitoring/v3/doc/google/api/distribution.rb +18 -18
  7. data/lib/google/cloud/monitoring/v3/doc/google/api/metric.rb +69 -48
  8. data/lib/google/cloud/monitoring/v3/doc/google/api/monitored_resource.rb +20 -21
  9. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert.rb +42 -42
  10. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/alert_service.rb +24 -24
  11. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/common.rb +21 -21
  12. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group.rb +9 -9
  13. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/group_service.rb +24 -24
  14. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric.rb +7 -7
  15. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/metric_service.rb +41 -41
  16. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification.rb +15 -15
  17. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/notification_service.rb +30 -30
  18. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime.rb +8 -8
  19. data/lib/google/cloud/monitoring/v3/doc/google/monitoring/v3/uptime_service.rb +21 -21
  20. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/any.rb +8 -8
  21. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/duration.rb +3 -3
  22. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/empty.rb +1 -1
  23. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/field_mask.rb +7 -7
  24. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/struct.rb +11 -11
  25. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/timestamp.rb +7 -7
  26. data/lib/google/cloud/monitoring/v3/doc/google/protobuf/wrappers.rb +18 -18
  27. data/lib/google/cloud/monitoring/v3/doc/google/rpc/status.rb +11 -11
  28. data/lib/google/cloud/monitoring/v3/group_service_client.rb +15 -15
  29. data/lib/google/cloud/monitoring/v3/metric_service_client.rb +20 -20
  30. data/lib/google/cloud/monitoring/v3/notification_channel_service_client.rb +11 -11
  31. data/lib/google/cloud/monitoring/v3/uptime_check_service_client.rb +14 -14
  32. metadata +3 -4
  33. data/lib/google/cloud/monitoring/v3/doc/overview.rb +0 -104
@@ -82,9 +82,9 @@ module Google
82
82
  # @return [Integer]
83
83
  # Signed fractions of a second at nanosecond resolution of the span
84
84
  # of time. Durations less than one second are represented with a 0
85
- # +seconds+ field and a positive or negative +nanos+ field. For durations
86
- # of one second or more, a non-zero value for the +nanos+ field must be
87
- # of the same sign as the +seconds+ field. Must be from -999,999,999
85
+ # `seconds` field and a positive or negative `nanos` field. For durations
86
+ # of one second or more, a non-zero value for the `nanos` field must be
87
+ # of the same sign as the `seconds` field. Must be from -999,999,999
88
88
  # to +999,999,999 inclusive.
89
89
  class Duration; end
90
90
  end
@@ -23,7 +23,7 @@ module Google
23
23
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
24
24
  # }
25
25
  #
26
- # The JSON representation for +Empty+ is empty JSON object +{}+.
26
+ # The JSON representation for `Empty` is empty JSON object `{}`.
27
27
  class Empty; end
28
28
  end
29
29
  end
@@ -15,14 +15,14 @@
15
15
 
16
16
  module Google
17
17
  module Protobuf
18
- # +FieldMask+ represents a set of symbolic field paths, for example:
18
+ # `FieldMask` represents a set of symbolic field paths, for example:
19
19
  #
20
20
  # paths: "f.a"
21
21
  # paths: "f.b.d"
22
22
  #
23
- # Here +f+ represents a field in some root message, +a+ and +b+
24
- # fields in the message found in +f+, and +d+ a field found in the
25
- # message in +f.b+.
23
+ # Here `f` represents a field in some root message, `a` and `b`
24
+ # fields in the message found in `f`, and `d` a field found in the
25
+ # message in `f.b`.
26
26
  #
27
27
  # Field masks are used to specify a subset of fields that should be
28
28
  # returned by a get operation or modified by an update operation.
@@ -85,7 +85,7 @@ module Google
85
85
  #
86
86
  # If a repeated field is specified for an update operation, the existing
87
87
  # repeated values in the target resource will be overwritten by the new values.
88
- # Note that a repeated field is only allowed in the last position of a +paths+
88
+ # Note that a repeated field is only allowed in the last position of a `paths`
89
89
  # string.
90
90
  #
91
91
  # If a sub-message is specified in the last position of the field mask for an
@@ -177,7 +177,7 @@ module Google
177
177
  # string address = 2;
178
178
  # }
179
179
  #
180
- # In proto a field mask for +Profile+ may look as such:
180
+ # In proto a field mask for `Profile` may look as such:
181
181
  #
182
182
  # mask {
183
183
  # paths: "user.display_name"
@@ -221,7 +221,7 @@ module Google
221
221
  #
222
222
  # The implementation of any API method which has a FieldMask type field in the
223
223
  # request should verify the included field paths, and return an
224
- # +INVALID_ARGUMENT+ error if any path is duplicated or unmappable.
224
+ # `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
225
225
  # @!attribute [rw] paths
226
226
  # @return [Array<String>]
227
227
  # The set of field mask paths.
@@ -15,25 +15,25 @@
15
15
 
16
16
  module Google
17
17
  module Protobuf
18
- # +Struct+ represents a structured data value, consisting of fields
19
- # which map to dynamically typed values. In some languages, +Struct+
18
+ # `Struct` represents a structured data value, consisting of fields
19
+ # which map to dynamically typed values. In some languages, `Struct`
20
20
  # might be supported by a native representation. For example, in
21
21
  # scripting languages like JS a struct is represented as an
22
22
  # object. The details of that representation are described together
23
23
  # with the proto support for the language.
24
24
  #
25
- # The JSON representation for +Struct+ is JSON object.
25
+ # The JSON representation for `Struct` is JSON object.
26
26
  # @!attribute [rw] fields
27
27
  # @return [Hash{String => Google::Protobuf::Value}]
28
28
  # Unordered map of dynamically typed values.
29
29
  class Struct; end
30
30
 
31
- # +Value+ represents a dynamically typed value which can be either
31
+ # `Value` represents a dynamically typed value which can be either
32
32
  # null, a number, a string, a boolean, a recursive struct value, or a
33
33
  # list of values. A producer of value is expected to set one of that
34
34
  # variants, absence of any variant indicates an error.
35
35
  #
36
- # The JSON representation for +Value+ is JSON value.
36
+ # The JSON representation for `Value` is JSON value.
37
37
  # @!attribute [rw] null_value
38
38
  # @return [Google::Protobuf::NullValue]
39
39
  # Represents a null value.
@@ -51,21 +51,21 @@ module Google
51
51
  # Represents a structured value.
52
52
  # @!attribute [rw] list_value
53
53
  # @return [Google::Protobuf::ListValue]
54
- # Represents a repeated +Value+.
54
+ # Represents a repeated `Value`.
55
55
  class Value; end
56
56
 
57
- # +ListValue+ is a wrapper around a repeated field of values.
57
+ # `ListValue` is a wrapper around a repeated field of values.
58
58
  #
59
- # The JSON representation for +ListValue+ is JSON array.
59
+ # The JSON representation for `ListValue` is JSON array.
60
60
  # @!attribute [rw] values
61
61
  # @return [Array<Google::Protobuf::Value>]
62
62
  # Repeated field of dynamically typed values.
63
63
  class ListValue; end
64
64
 
65
- # +NullValue+ is a singleton enumeration to represent the null value for the
66
- # +Value+ type union.
65
+ # `NullValue` is a singleton enumeration to represent the null value for the
66
+ # `Value` type union.
67
67
  #
68
- # The JSON representation for +NullValue+ is JSON +null+.
68
+ # The JSON representation for `NullValue` is JSON `null`.
69
69
  module NullValue
70
70
  # Null value.
71
71
  NULL_VALUE = 0
@@ -29,13 +29,13 @@ module Google
29
29
  #
30
30
  # = Examples
31
31
  #
32
- # Example 1: Compute Timestamp from POSIX +time()+.
32
+ # Example 1: Compute Timestamp from POSIX `time()`.
33
33
  #
34
34
  # Timestamp timestamp;
35
35
  # timestamp.set_seconds(time(NULL));
36
36
  # timestamp.set_nanos(0);
37
37
  #
38
- # Example 2: Compute Timestamp from POSIX +gettimeofday()+.
38
+ # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
39
39
  #
40
40
  # struct timeval tv;
41
41
  # gettimeofday(&tv, NULL);
@@ -44,7 +44,7 @@ module Google
44
44
  # timestamp.set_seconds(tv.tv_sec);
45
45
  # timestamp.set_nanos(tv.tv_usec * 1000);
46
46
  #
47
- # Example 3: Compute Timestamp from Win32 +GetSystemTimeAsFileTime()+.
47
+ # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
48
48
  #
49
49
  # FILETIME ft;
50
50
  # GetSystemTimeAsFileTime(&ft);
@@ -56,7 +56,7 @@ module Google
56
56
  # timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
57
57
  # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
58
58
  #
59
- # Example 4: Compute Timestamp from Java +System.currentTimeMillis()+.
59
+ # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
60
60
  #
61
61
  # long millis = System.currentTimeMillis();
62
62
  #
@@ -87,10 +87,10 @@ module Google
87
87
  #
88
88
  # In JavaScript, one can convert a Date object to this format using the
89
89
  # standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
90
- # method. In Python, a standard +datetime.datetime+ object can be converted
91
- # to this format using [+strftime+](https://docs.python.org/2/library/time.html#time.strftime)
90
+ # method. In Python, a standard `datetime.datetime` object can be converted
91
+ # to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
92
92
  # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
93
- # can use the Joda Time's [+ISODateTimeFormat.dateTime()+](
93
+ # can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
94
94
  # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
95
95
  # ) to obtain a formatter capable of generating timestamps in this format.
96
96
  # @!attribute [rw] seconds
@@ -15,73 +15,73 @@
15
15
 
16
16
  module Google
17
17
  module Protobuf
18
- # Wrapper message for +double+.
18
+ # Wrapper message for `double`.
19
19
  #
20
- # The JSON representation for +DoubleValue+ is JSON number.
20
+ # The JSON representation for `DoubleValue` is JSON number.
21
21
  # @!attribute [rw] value
22
22
  # @return [Float]
23
23
  # The double value.
24
24
  class DoubleValue; end
25
25
 
26
- # Wrapper message for +float+.
26
+ # Wrapper message for `float`.
27
27
  #
28
- # The JSON representation for +FloatValue+ is JSON number.
28
+ # The JSON representation for `FloatValue` is JSON number.
29
29
  # @!attribute [rw] value
30
30
  # @return [Float]
31
31
  # The float value.
32
32
  class FloatValue; end
33
33
 
34
- # Wrapper message for +int64+.
34
+ # Wrapper message for `int64`.
35
35
  #
36
- # The JSON representation for +Int64Value+ is JSON string.
36
+ # The JSON representation for `Int64Value` is JSON string.
37
37
  # @!attribute [rw] value
38
38
  # @return [Integer]
39
39
  # The int64 value.
40
40
  class Int64Value; end
41
41
 
42
- # Wrapper message for +uint64+.
42
+ # Wrapper message for `uint64`.
43
43
  #
44
- # The JSON representation for +UInt64Value+ is JSON string.
44
+ # The JSON representation for `UInt64Value` is JSON string.
45
45
  # @!attribute [rw] value
46
46
  # @return [Integer]
47
47
  # The uint64 value.
48
48
  class UInt64Value; end
49
49
 
50
- # Wrapper message for +int32+.
50
+ # Wrapper message for `int32`.
51
51
  #
52
- # The JSON representation for +Int32Value+ is JSON number.
52
+ # The JSON representation for `Int32Value` is JSON number.
53
53
  # @!attribute [rw] value
54
54
  # @return [Integer]
55
55
  # The int32 value.
56
56
  class Int32Value; end
57
57
 
58
- # Wrapper message for +uint32+.
58
+ # Wrapper message for `uint32`.
59
59
  #
60
- # The JSON representation for +UInt32Value+ is JSON number.
60
+ # The JSON representation for `UInt32Value` is JSON number.
61
61
  # @!attribute [rw] value
62
62
  # @return [Integer]
63
63
  # The uint32 value.
64
64
  class UInt32Value; end
65
65
 
66
- # Wrapper message for +bool+.
66
+ # Wrapper message for `bool`.
67
67
  #
68
- # The JSON representation for +BoolValue+ is JSON +true+ and +false+.
68
+ # The JSON representation for `BoolValue` is JSON `true` and `false`.
69
69
  # @!attribute [rw] value
70
70
  # @return [true, false]
71
71
  # The bool value.
72
72
  class BoolValue; end
73
73
 
74
- # Wrapper message for +string+.
74
+ # Wrapper message for `string`.
75
75
  #
76
- # The JSON representation for +StringValue+ is JSON string.
76
+ # The JSON representation for `StringValue` is JSON string.
77
77
  # @!attribute [rw] value
78
78
  # @return [String]
79
79
  # The string value.
80
80
  class StringValue; end
81
81
 
82
- # Wrapper message for +bytes+.
82
+ # Wrapper message for `bytes`.
83
83
  #
84
- # The JSON representation for +BytesValue+ is JSON string.
84
+ # The JSON representation for `BytesValue` is JSON string.
85
85
  # @!attribute [rw] value
86
86
  # @return [String]
87
87
  # The bytes value.
@@ -15,7 +15,7 @@
15
15
 
16
16
  module Google
17
17
  module Rpc
18
- # The +Status+ type defines a logical error model that is suitable for different
18
+ # The `Status` type defines a logical error model that is suitable for different
19
19
  # programming environments, including REST APIs and RPC APIs. It is used by
20
20
  # [gRPC](https://github.com/grpc). The error model is designed to be:
21
21
  #
@@ -24,7 +24,7 @@ module Google
24
24
  #
25
25
  # = Overview
26
26
  #
27
- # The +Status+ message contains three pieces of data: error code, error message,
27
+ # The `Status` message contains three pieces of data: error code, error message,
28
28
  # and error details. The error code should be an enum value of
29
29
  # {Google::Rpc::Code}, but it may accept additional error codes if needed. The
30
30
  # error message should be a developer-facing English message that helps
@@ -32,40 +32,40 @@ module Google
32
32
  # error message is needed, put the localized message in the error details or
33
33
  # localize it in the client. The optional error details may contain arbitrary
34
34
  # information about the error. There is a predefined set of error detail types
35
- # in the package +google.rpc+ that can be used for common error conditions.
35
+ # in the package `google.rpc` that can be used for common error conditions.
36
36
  #
37
37
  # = Language mapping
38
38
  #
39
- # The +Status+ message is the logical representation of the error model, but it
40
- # is not necessarily the actual wire format. When the +Status+ message is
39
+ # The `Status` message is the logical representation of the error model, but it
40
+ # is not necessarily the actual wire format. When the `Status` message is
41
41
  # exposed in different client libraries and different wire protocols, it can be
42
42
  # mapped differently. For example, it will likely be mapped to some exceptions
43
43
  # in Java, but more likely mapped to some error codes in C.
44
44
  #
45
45
  # = Other uses
46
46
  #
47
- # The error model and the +Status+ message can be used in a variety of
47
+ # The error model and the `Status` message can be used in a variety of
48
48
  # environments, either with or without APIs, to provide a
49
49
  # consistent developer experience across different environments.
50
50
  #
51
51
  # Example uses of this error model include:
52
52
  #
53
53
  # * Partial errors. If a service needs to return partial errors to the client,
54
- # it may embed the +Status+ in the normal response to indicate the partial
54
+ # it may embed the `Status` in the normal response to indicate the partial
55
55
  # errors.
56
56
  #
57
57
  # * Workflow errors. A typical workflow has multiple steps. Each step may
58
- # have a +Status+ message for error reporting.
58
+ # have a `Status` message for error reporting.
59
59
  #
60
60
  # * Batch operations. If a client uses batch request and batch response, the
61
- # +Status+ message should be used directly inside batch response, one for
61
+ # `Status` message should be used directly inside batch response, one for
62
62
  # each error sub-response.
63
63
  #
64
64
  # * Asynchronous operations. If an API call embeds asynchronous operation
65
65
  # results in its response, the status of those operations should be
66
- # represented directly using the +Status+ message.
66
+ # represented directly using the `Status` message.
67
67
  #
68
- # * Logging. If some API errors are stored in logs, the message +Status+ could
68
+ # * Logging. If some API errors are stored in logs, the message `Status` could
69
69
  # be used directly after any stripping needed for security/privacy reasons.
70
70
  # @!attribute [rw] code
71
71
  # @return [Integer]
@@ -258,21 +258,21 @@ module Google
258
258
  #
259
259
  # @param name [String]
260
260
  # The project whose groups are to be listed. The format is
261
- # +"projects/\\{project_id_or_number}"+.
261
+ # `"projects/{project_id_or_number}"`.
262
262
  # @param children_of_group [String]
263
- # A group name: +"projects/\\{project_id_or_number}/groups/\\{group_id}"+.
264
- # Returns groups whose +parentName+ field contains the group
263
+ # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
264
+ # Returns groups whose `parentName` field contains the group
265
265
  # name. If no groups have this parent, the results are empty.
266
266
  # @param ancestors_of_group [String]
267
- # A group name: +"projects/\\{project_id_or_number}/groups/\\{group_id}"+.
267
+ # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
268
268
  # Returns groups that are ancestors of the specified group.
269
269
  # The groups are returned in order, starting with the immediate parent and
270
270
  # ending with the most distant ancestor. If the specified group has no
271
271
  # immediate parent, the results are empty.
272
272
  # @param descendants_of_group [String]
273
- # A group name: +"projects/\\{project_id_or_number}/groups/\\{group_id}"+.
273
+ # A group name: `"projects/{project_id_or_number}/groups/{group_id}"`.
274
274
  # Returns the descendants of the specified group. This is a superset of
275
- # the results returned by the +childrenOfGroup+ filter, and includes
275
+ # the results returned by the `childrenOfGroup` filter, and includes
276
276
  # children-of-children, and so forth.
277
277
  # @param page_size [Integer]
278
278
  # The maximum number of resources contained in the underlying API
@@ -334,7 +334,7 @@ module Google
334
334
  #
335
335
  # @param name [String]
336
336
  # The group to retrieve. The format is
337
- # +"projects/\\{project_id_or_number}/groups/\\{group_id}"+.
337
+ # `"projects/{project_id_or_number}/groups/{group_id}"`.
338
338
  # @param options [Google::Gax::CallOptions]
339
339
  # Overrides the default settings for this call, e.g, timeout,
340
340
  # retries, etc.
@@ -365,9 +365,9 @@ module Google
365
365
  #
366
366
  # @param name [String]
367
367
  # The project in which to create the group. The format is
368
- # +"projects/\\{project_id_or_number}"+.
368
+ # `"projects/{project_id_or_number}"`.
369
369
  # @param group [Google::Monitoring::V3::Group | Hash]
370
- # A group definition. It is an error to define the +name+ field because
370
+ # A group definition. It is an error to define the `name` field because
371
371
  # the system assigns the name.
372
372
  # A hash of the same form as `Google::Monitoring::V3::Group`
373
373
  # can also be provided.
@@ -387,7 +387,7 @@ module Google
387
387
  # group_service_client = Google::Cloud::Monitoring::Group.new(version: :v3)
388
388
  # formatted_name = Google::Cloud::Monitoring::V3::GroupServiceClient.project_path("[PROJECT]")
389
389
  #
390
- # # TODO: Initialize +group+:
390
+ # # TODO: Initialize `group`:
391
391
  # group = {}
392
392
  # response = group_service_client.create_group(formatted_name, group)
393
393
 
@@ -407,11 +407,11 @@ module Google
407
407
  end
408
408
 
409
409
  # Updates an existing group.
410
- # You can change any group attributes except +name+.
410
+ # You can change any group attributes except `name`.
411
411
  #
412
412
  # @param group [Google::Monitoring::V3::Group | Hash]
413
413
  # The new definition of the group. All fields of the existing group,
414
- # excepting +name+, are replaced with the corresponding fields of this group.
414
+ # excepting `name`, are replaced with the corresponding fields of this group.
415
415
  # A hash of the same form as `Google::Monitoring::V3::Group`
416
416
  # can also be provided.
417
417
  # @param validate_only [true, false]
@@ -429,7 +429,7 @@ module Google
429
429
  #
430
430
  # group_service_client = Google::Cloud::Monitoring::Group.new(version: :v3)
431
431
  #
432
- # # TODO: Initialize +group+:
432
+ # # TODO: Initialize `group`:
433
433
  # group = {}
434
434
  # response = group_service_client.update_group(group)
435
435
 
@@ -450,7 +450,7 @@ module Google
450
450
  #
451
451
  # @param name [String]
452
452
  # The group to delete. The format is
453
- # +"projects/\\{project_id_or_number}/groups/\\{group_id}"+.
453
+ # `"projects/{project_id_or_number}/groups/{group_id}"`.
454
454
  # @param options [Google::Gax::CallOptions]
455
455
  # Overrides the default settings for this call, e.g, timeout,
456
456
  # retries, etc.
@@ -481,7 +481,7 @@ module Google
481
481
  #
482
482
  # @param name [String]
483
483
  # The group whose members are listed. The format is
484
- # +"projects/\\{project_id_or_number}/groups/\\{group_id}"+.
484
+ # `"projects/{project_id_or_number}/groups/{group_id}"`.
485
485
  # @param page_size [Integer]
486
486
  # The maximum number of resources contained in the underlying API
487
487
  # response. If page streaming is performed per-resource, this
@@ -279,13 +279,13 @@ module Google
279
279
  #
280
280
  # @param name [String]
281
281
  # The project on which to execute the request. The format is
282
- # +"projects/\\{project_id_or_number}"+.
282
+ # `"projects/{project_id_or_number}"`.
283
283
  # @param filter [String]
284
284
  # An optional [filter](https://cloud.google.com/monitoring/api/v3/filters) describing
285
285
  # the descriptors to be returned. The filter can reference
286
286
  # the descriptor's type and labels. For example, the
287
287
  # following filter returns only Google Compute Engine descriptors
288
- # that have an +id+ label:
288
+ # that have an `id` label:
289
289
  #
290
290
  # resource.type = starts_with("gce_") AND resource.label:id
291
291
  # @param page_size [Integer]
@@ -344,9 +344,9 @@ module Google
344
344
  #
345
345
  # @param name [String]
346
346
  # The monitored resource descriptor to get. The format is
347
- # +"projects/\\{project_id_or_number}/monitoredResourceDescriptors/\\{resource_type}"+.
348
- # The +\\{resource_type}+ is a predefined type, such as
349
- # +cloudsql_database+.
347
+ # `"projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"`.
348
+ # The `{resource_type}` is a predefined type, such as
349
+ # `cloudsql_database`.
350
350
  # @param options [Google::Gax::CallOptions]
351
351
  # Overrides the default settings for this call, e.g, timeout,
352
352
  # retries, etc.
@@ -377,7 +377,7 @@ module Google
377
377
  #
378
378
  # @param name [String]
379
379
  # The project on which to execute the request. The format is
380
- # +"projects/\\{project_id_or_number}"+.
380
+ # `"projects/{project_id_or_number}"`.
381
381
  # @param filter [String]
382
382
  # If this field is empty, all custom and
383
383
  # system-defined metric descriptors are returned.
@@ -443,9 +443,9 @@ module Google
443
443
  #
444
444
  # @param name [String]
445
445
  # The metric descriptor on which to execute the request. The format is
446
- # +"projects/\\{project_id_or_number}/metricDescriptors/\\{metric_id}"+.
447
- # An example value of +\\{metric_id}+ is
448
- # +"compute.googleapis.com/instance/disk/read_bytes_count"+.
446
+ # `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
447
+ # An example value of `{metric_id}` is
448
+ # `"compute.googleapis.com/instance/disk/read_bytes_count"`.
449
449
  # @param options [Google::Gax::CallOptions]
450
450
  # Overrides the default settings for this call, e.g, timeout,
451
451
  # retries, etc.
@@ -478,7 +478,7 @@ module Google
478
478
  #
479
479
  # @param name [String]
480
480
  # The project on which to execute the request. The format is
481
- # +"projects/\\{project_id_or_number}"+.
481
+ # `"projects/{project_id_or_number}"`.
482
482
  # @param metric_descriptor [Google::Api::MetricDescriptor | Hash]
483
483
  # The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
484
484
  # descriptor.
@@ -498,7 +498,7 @@ module Google
498
498
  # metric_service_client = Google::Cloud::Monitoring::Metric.new(version: :v3)
499
499
  # formatted_name = Google::Cloud::Monitoring::V3::MetricServiceClient.project_path("[PROJECT]")
500
500
  #
501
- # # TODO: Initialize +metric_descriptor+:
501
+ # # TODO: Initialize `metric_descriptor`:
502
502
  # metric_descriptor = {}
503
503
  # response = metric_service_client.create_metric_descriptor(formatted_name, metric_descriptor)
504
504
 
@@ -520,9 +520,9 @@ module Google
520
520
  #
521
521
  # @param name [String]
522
522
  # The metric descriptor on which to execute the request. The format is
523
- # +"projects/\\{project_id_or_number}/metricDescriptors/\\{metric_id}"+.
524
- # An example of +\\{metric_id}+ is:
525
- # +"custom.googleapis.com/my_test_metric"+.
523
+ # `"projects/{project_id_or_number}/metricDescriptors/{metric_id}"`.
524
+ # An example of `{metric_id}` is:
525
+ # `"custom.googleapis.com/my_test_metric"`.
526
526
  # @param options [Google::Gax::CallOptions]
527
527
  # Overrides the default settings for this call, e.g, timeout,
528
528
  # retries, etc.
@@ -603,13 +603,13 @@ module Google
603
603
  # metric_service_client = Google::Cloud::Monitoring::Metric.new(version: :v3)
604
604
  # formatted_name = Google::Cloud::Monitoring::V3::MetricServiceClient.project_path("[PROJECT]")
605
605
  #
606
- # # TODO: Initialize +filter+:
606
+ # # TODO: Initialize `filter`:
607
607
  # filter = ''
608
608
  #
609
- # # TODO: Initialize +interval+:
609
+ # # TODO: Initialize `interval`:
610
610
  # interval = {}
611
611
  #
612
- # # TODO: Initialize +view+:
612
+ # # TODO: Initialize `view`:
613
613
  # view = :FULL
614
614
  #
615
615
  # # Iterate over all results.
@@ -655,12 +655,12 @@ module Google
655
655
  #
656
656
  # @param name [String]
657
657
  # The project on which to execute the request. The format is
658
- # +"projects/\\{project_id_or_number}"+.
658
+ # `"projects/{project_id_or_number}"`.
659
659
  # @param time_series [Array<Google::Monitoring::V3::TimeSeries | Hash>]
660
660
  # The new data to be added to a list of time series.
661
661
  # Adds at most one data point to each of several time series. The new data
662
662
  # point must be more recent than any other point in its time series. Each
663
- # +TimeSeries+ value must fully specify a unique time series by supplying
663
+ # `TimeSeries` value must fully specify a unique time series by supplying
664
664
  # all label values for the metric and the monitored resource.
665
665
  # A hash of the same form as `Google::Monitoring::V3::TimeSeries`
666
666
  # can also be provided.
@@ -677,7 +677,7 @@ module Google
677
677
  # metric_service_client = Google::Cloud::Monitoring::Metric.new(version: :v3)
678
678
  # formatted_name = Google::Cloud::Monitoring::V3::MetricServiceClient.project_path("[PROJECT]")
679
679
  #
680
- # # TODO: Initialize +time_series+:
680
+ # # TODO: Initialize `time_series`:
681
681
  # time_series = []
682
682
  # metric_service_client.create_time_series(formatted_name, time_series)
683
683