google-apis-monitoring_v3 0.1.0 → 0.6.0

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: 4a862c398a72f5ca0191ecb52e0c2ae7d008e6c7369d1bd29c74a55e540217c9
4
- data.tar.gz: 07c873b7abddd7c07c7e7a724ff9fde02cca458563fc16ad44d5a57bff6accd3
3
+ metadata.gz: 15ffb90c07209678cbf13545119eaadb00bf08e14565781f81c645dfb78575a1
4
+ data.tar.gz: 9aaf6800330cf60a77683d30896cd5a7a1f09a75868f9c23504dbac86b3b9313
5
5
  SHA512:
6
- metadata.gz: 40b95414d1cfa78ed7411c5cd08734e1429389b6588f4c3eeb08b7da289cd7db6c70464c58b2868ee8459b43d4278ea6f3611290d3036b026382cdd2feaf2332
7
- data.tar.gz: 42513a2df6d82907ad8a4a610c748fd514cd111c6f67f1bd8ce710a29615696c4066cf59650b17258a49f9ca487980a818585e5c7fb08a29f3184886e736f621
6
+ metadata.gz: 721a9b04cb1f53f7a4eefec15f8bac76a4be8df16af6a1dce008645429337deafb7755ee2ed87b44a4205064d1db66698be2ca0a14b0046f4393a359e8d3a651
7
+ data.tar.gz: c2093a18ce78e133250cc35514799e87b566a906eabd9083bdbf1820483708af28bdab7bf21e152bbb2dcbbb340cd026df63407c278e3bf67416cbedf263ca82
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release history for google-apis-monitoring_v3
2
2
 
3
+ ### v0.6.0 (2021-04-30)
4
+
5
+ * Regenerated from discovery document revision 20210427
6
+
7
+ ### v0.5.0 (2021-04-02)
8
+
9
+ * Regenerated from discovery document revision 20210326
10
+
11
+ ### v0.4.0 (2021-03-26)
12
+
13
+ * Regenerated from discovery document revision 20210322
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.3.0 (2021-03-05)
17
+
18
+ * Regenerated from discovery document revision 20210227
19
+ * Unspecified changes
20
+
21
+ ### v0.2.0 (2021-01-29)
22
+
23
+ * Regenerated from discovery document revision 20210124
24
+ * Regenerated using generator version 0.1.2
25
+
3
26
  ### v0.1.0 (2021-01-07)
4
27
 
5
28
  * Regenerated using generator version 0.1.1
@@ -33,7 +33,7 @@ module Google
33
33
  # This is NOT the gem version.
34
34
  VERSION = 'V3'
35
35
 
36
- # View and manage your data across Google Cloud Platform services
36
+ # See, edit, configure, and delete your Google Cloud Platform data
37
37
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
38
38
 
39
39
  # View and write monitoring data for all of your Google and third-party Cloud and API projects
@@ -1592,6 +1592,44 @@ module Google
1592
1592
  end
1593
1593
  end
1594
1594
 
1595
+ # Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.
1596
+ # 8 will have their services ingested as this type.
1597
+ class IstioCanonicalService
1598
+ include Google::Apis::Core::Hashable
1599
+
1600
+ # The name of the canonical service underlying this service. Corresponds to the
1601
+ # destination_canonical_service_name metric label in label in Istio metrics (
1602
+ # https://cloud.google.com/monitoring/api/metrics_istio).
1603
+ # Corresponds to the JSON property `canonicalService`
1604
+ # @return [String]
1605
+ attr_accessor :canonical_service
1606
+
1607
+ # The namespace of the canonical service underlying this service. Corresponds to
1608
+ # the destination_canonical_service_namespace metric label in Istio metrics (
1609
+ # https://cloud.google.com/monitoring/api/metrics_istio).
1610
+ # Corresponds to the JSON property `canonicalServiceNamespace`
1611
+ # @return [String]
1612
+ attr_accessor :canonical_service_namespace
1613
+
1614
+ # Identifier for the Istio mesh in which this canonical service is defined.
1615
+ # Corresponds to the mesh_uid metric label in Istio metrics (https://cloud.
1616
+ # google.com/monitoring/api/metrics_istio).
1617
+ # Corresponds to the JSON property `meshUid`
1618
+ # @return [String]
1619
+ attr_accessor :mesh_uid
1620
+
1621
+ def initialize(**args)
1622
+ update!(**args)
1623
+ end
1624
+
1625
+ # Update properties of this object
1626
+ def update!(**args)
1627
+ @canonical_service = args[:canonical_service] if args.key?(:canonical_service)
1628
+ @canonical_service_namespace = args[:canonical_service_namespace] if args.key?(:canonical_service_namespace)
1629
+ @mesh_uid = args[:mesh_uid] if args.key?(:mesh_uid)
1630
+ end
1631
+ end
1632
+
1595
1633
  # A description of a label.
1596
1634
  class LabelDescriptor
1597
1635
  include Google::Apis::Core::Hashable
@@ -2172,20 +2210,21 @@ module Google
2172
2210
  attr_accessor :aggregations
2173
2211
 
2174
2212
  # The amount of time that a time series must fail to report new data to be
2175
- # considered failing. Currently, only values that are a multiple of a minute--e.
2176
- # g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an
2177
- # error will be returned. The Duration.nanos field is ignored.
2213
+ # considered failing. The minimum value of this field is 120 seconds. Larger
2214
+ # values that are a multiple of a minute--for example, 240 or 300 seconds--are
2215
+ # supported. If an invalid value is given, an error will be returned. The
2216
+ # Duration.nanos field is ignored.
2178
2217
  # Corresponds to the JSON property `duration`
2179
2218
  # @return [String]
2180
2219
  attr_accessor :duration
2181
2220
 
2182
- # A filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies
2183
- # which time series should be compared with the threshold.The filter is similar
2184
- # to the one that is specified in the ListTimeSeries request (https://cloud.
2185
- # google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call
2186
- # is useful to verify the time series that will be retrieved / processed). The
2187
- # filter must specify the metric type and the resource type. Optionally, it can
2188
- # specify resource labels and metric labels. This field must not exceed 2048
2221
+ # Required. A filter (https://cloud.google.com/monitoring/api/v3/filters) that
2222
+ # identifies which time series should be compared with the threshold.The filter
2223
+ # is similar to the one that is specified in the ListTimeSeries request (https://
2224
+ # cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that
2225
+ # call is useful to verify the time series that will be retrieved / processed).
2226
+ # The filter must specify the metric type and the resource type. Optionally, it
2227
+ # can specify resource labels and metric labels. This field must not exceed 2048
2189
2228
  # Unicode characters in length.
2190
2229
  # Corresponds to the JSON property `filter`
2191
2230
  # @return [String]
@@ -2279,11 +2318,11 @@ module Google
2279
2318
 
2280
2319
  # The units in which the metric value is reported. It is only applicable if the
2281
2320
  # value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the
2282
- # representation of the stored metric values.Different systems may scale the
2283
- # values to be more easily displayed (so a value of 0.02KBy might be displayed
2284
- # as 20By, and a value of 3523KBy might be displayed as 3.5MBy). However, if the
2285
- # unit is KBy, then the value of the metric is always in thousands of bytes, no
2286
- # matter how it may be displayed..If you want a custom metric to record the
2321
+ # representation of the stored metric values.Different systems might scale the
2322
+ # values to be more easily displayed (so a value of 0.02kBy might be displayed
2323
+ # as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if the
2324
+ # unit is kBy, then the value of the metric is always in thousands of bytes, no
2325
+ # matter how it might be displayed.If you want a custom metric to record the
2287
2326
  # exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE
2288
2327
  # metric whose unit is s`CPU` (or equivalently 1s`CPU` or just s). If the job
2289
2328
  # uses 12,005 CPU-seconds, then the value is written as 12005.Alternatively, if
@@ -2291,7 +2330,7 @@ module Google
2291
2330
  # a DOUBLE CUMULATIVE metric whose unit is ks`CPU`, and then write the value 12.
2292
2331
  # 005 (which is 12005/1000), or use Kis`CPU` and write 11.723 (which is 12005/
2293
2332
  # 1024).The supported units are a subset of The Unified Code for Units of
2294
- # Measure (http://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit
2333
+ # Measure (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit
2295
2334
  # bit By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX)
2296
2335
  # k kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa (
2297
2336
  # 10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n nano (
@@ -2476,13 +2515,13 @@ module Google
2476
2515
  # @return [String]
2477
2516
  attr_accessor :duration
2478
2517
 
2479
- # A filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies
2480
- # which time series should be compared with the threshold.The filter is similar
2481
- # to the one that is specified in the ListTimeSeries request (https://cloud.
2482
- # google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call
2483
- # is useful to verify the time series that will be retrieved / processed). The
2484
- # filter must specify the metric type and the resource type. Optionally, it can
2485
- # specify resource labels and metric labels. This field must not exceed 2048
2518
+ # Required. A filter (https://cloud.google.com/monitoring/api/v3/filters) that
2519
+ # identifies which time series should be compared with the threshold.The filter
2520
+ # is similar to the one that is specified in the ListTimeSeries request (https://
2521
+ # cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that
2522
+ # call is useful to verify the time series that will be retrieved / processed).
2523
+ # The filter must specify the metric type and the resource type. Optionally, it
2524
+ # can specify resource labels and metric labels. This field must not exceed 2048
2486
2525
  # Unicode characters in length.
2487
2526
  # Corresponds to the JSON property `filter`
2488
2527
  # @return [String]
@@ -2729,6 +2768,11 @@ module Google
2729
2768
  class NotificationChannel
2730
2769
  include Google::Apis::Core::Hashable
2731
2770
 
2771
+ # Describes a change made to a configuration.
2772
+ # Corresponds to the JSON property `creationRecord`
2773
+ # @return [Google::Apis::MonitoringV3::MutationRecord]
2774
+ attr_accessor :creation_record
2775
+
2732
2776
  # An optional human-readable description of this notification channel. This
2733
2777
  # description may provide additional details, beyond the display name, for the
2734
2778
  # channel. This may not exceed 1024 Unicode characters.
@@ -2762,6 +2806,11 @@ module Google
2762
2806
  # @return [Hash<String,String>]
2763
2807
  attr_accessor :labels
2764
2808
 
2809
+ # Records of the modification of this channel.
2810
+ # Corresponds to the JSON property `mutationRecords`
2811
+ # @return [Array<Google::Apis::MonitoringV3::MutationRecord>]
2812
+ attr_accessor :mutation_records
2813
+
2765
2814
  # The full REST resource name for this channel. The format is: projects/[
2766
2815
  # PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is
2767
2816
  # automatically assigned by the server on creation.
@@ -2807,10 +2856,12 @@ module Google
2807
2856
 
2808
2857
  # Update properties of this object
2809
2858
  def update!(**args)
2859
+ @creation_record = args[:creation_record] if args.key?(:creation_record)
2810
2860
  @description = args[:description] if args.key?(:description)
2811
2861
  @display_name = args[:display_name] if args.key?(:display_name)
2812
2862
  @enabled = args[:enabled] if args.key?(:enabled)
2813
2863
  @labels = args[:labels] if args.key?(:labels)
2864
+ @mutation_records = args[:mutation_records] if args.key?(:mutation_records)
2814
2865
  @name = args[:name] if args.key?(:name)
2815
2866
  @type = args[:type] if args.key?(:type)
2816
2867
  @user_labels = args[:user_labels] if args.key?(:user_labels)
@@ -3254,6 +3305,12 @@ module Google
3254
3305
  # @return [String]
3255
3306
  attr_accessor :display_name
3256
3307
 
3308
+ # Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.
3309
+ # 8 will have their services ingested as this type.
3310
+ # Corresponds to the JSON property `istioCanonicalService`
3311
+ # @return [Google::Apis::MonitoringV3::IstioCanonicalService]
3312
+ attr_accessor :istio_canonical_service
3313
+
3257
3314
  # Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8
3258
3315
  # will have their services ingested as this type.
3259
3316
  # Corresponds to the JSON property `meshIstio`
@@ -3282,6 +3339,7 @@ module Google
3282
3339
  @cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio)
3283
3340
  @custom = args[:custom] if args.key?(:custom)
3284
3341
  @display_name = args[:display_name] if args.key?(:display_name)
3342
+ @istio_canonical_service = args[:istio_canonical_service] if args.key?(:istio_canonical_service)
3285
3343
  @mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio)
3286
3344
  @name = args[:name] if args.key?(:name)
3287
3345
  @telemetry = args[:telemetry] if args.key?(:telemetry)
@@ -3427,8 +3485,8 @@ module Google
3427
3485
  end
3428
3486
  end
3429
3487
 
3430
- # The context of a span, attached to Exemplars in Distribution values during
3431
- # aggregation.It contains the name of a span with format: projects/[
3488
+ # The context of a span. This is attached to an Exemplar in Distribution values
3489
+ # during aggregation.It contains the name of a span with format: projects/[
3432
3490
  # PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
3433
3491
  class SpanContext
3434
3492
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MonitoringV3
18
18
  # Version of the google-apis-monitoring_v3 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201213"
25
+ REVISION = "20210427"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class IstioCanonicalService
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class LabelDescriptor
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -972,6 +978,15 @@ module Google
972
978
  end
973
979
  end
974
980
 
981
+ class IstioCanonicalService
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ property :canonical_service, as: 'canonicalService'
985
+ property :canonical_service_namespace, as: 'canonicalServiceNamespace'
986
+ property :mesh_uid, as: 'meshUid'
987
+ end
988
+ end
989
+
975
990
  class LabelDescriptor
976
991
  # @private
977
992
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1254,10 +1269,14 @@ module Google
1254
1269
  class NotificationChannel
1255
1270
  # @private
1256
1271
  class Representation < Google::Apis::Core::JsonRepresentation
1272
+ property :creation_record, as: 'creationRecord', class: Google::Apis::MonitoringV3::MutationRecord, decorator: Google::Apis::MonitoringV3::MutationRecord::Representation
1273
+
1257
1274
  property :description, as: 'description'
1258
1275
  property :display_name, as: 'displayName'
1259
1276
  property :enabled, as: 'enabled'
1260
1277
  hash :labels, as: 'labels'
1278
+ collection :mutation_records, as: 'mutationRecords', class: Google::Apis::MonitoringV3::MutationRecord, decorator: Google::Apis::MonitoringV3::MutationRecord::Representation
1279
+
1261
1280
  property :name, as: 'name'
1262
1281
  property :type, as: 'type'
1263
1282
  hash :user_labels, as: 'userLabels'
@@ -1383,6 +1402,8 @@ module Google
1383
1402
  property :custom, as: 'custom', class: Google::Apis::MonitoringV3::Custom, decorator: Google::Apis::MonitoringV3::Custom::Representation
1384
1403
 
1385
1404
  property :display_name, as: 'displayName'
1405
+ property :istio_canonical_service, as: 'istioCanonicalService', class: Google::Apis::MonitoringV3::IstioCanonicalService, decorator: Google::Apis::MonitoringV3::IstioCanonicalService::Representation
1406
+
1386
1407
  property :mesh_istio, as: 'meshIstio', class: Google::Apis::MonitoringV3::MeshIstio, decorator: Google::Apis::MonitoringV3::MeshIstio::Representation
1387
1408
 
1388
1409
  property :name, as: 'name'
@@ -53,16 +53,346 @@ module Google
53
53
  @batch_path = 'batch'
54
54
  end
55
55
 
56
+ # Lists time series that match a filter. This method does not require a
57
+ # Workspace.
58
+ # @param [String] name
59
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
60
+ # , organization or folder on which to execute the request. The format is:
61
+ # projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[
62
+ # FOLDER_ID]
63
+ # @param [String] aggregation_alignment_period
64
+ # The alignment_period specifies a time interval, in seconds, that is used to
65
+ # divide the data in all the time series into consistent blocks of time. This
66
+ # will be done before the per-series aligner can be applied to the data.The
67
+ # value must be at least 60 seconds. If a per-series aligner other than
68
+ # ALIGN_NONE is specified, this field is required or an error is returned. If no
69
+ # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
70
+ # this field is ignored.The maximum value of the alignment_period is 104 weeks (
71
+ # 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
72
+ # @param [String] aggregation_cross_series_reducer
73
+ # The reduction operation to be used to combine time series into a single time
74
+ # series, where the value of each data point in the resulting series is a
75
+ # function of all the already aligned values in the input time series.Not all
76
+ # reducer operations can be applied to all time series. The valid choices depend
77
+ # on the metric_kind and the value_type of the original time series. Reduction
78
+ # can yield a time series with a different metric_kind or value_type than the
79
+ # input time series.Time series data must first be aligned (see
80
+ # per_series_aligner) in order to perform cross-time series reduction. If
81
+ # cross_series_reducer is specified, then per_series_aligner must be specified,
82
+ # and must not be ALIGN_NONE. An alignment_period must also be specified;
83
+ # otherwise, an error is returned.
84
+ # @param [Array<String>, String] aggregation_group_by_fields
85
+ # The set of fields to preserve when cross_series_reducer is specified. The
86
+ # group_by_fields determine how the time series are partitioned into subsets
87
+ # prior to applying the aggregation operation. Each subset contains time series
88
+ # that have the same value for each of the grouping fields. Each individual time
89
+ # series is a member of exactly one subset. The cross_series_reducer is applied
90
+ # to each subset of time series. It is not possible to reduce across different
91
+ # resource types, so this field implicitly contains resource.type. Fields not
92
+ # specified in group_by_fields are aggregated away. If group_by_fields is not
93
+ # specified and all the time series have the same resource type, then the time
94
+ # series are aggregated into a single output time series. If
95
+ # cross_series_reducer is not defined, this field is ignored.
96
+ # @param [String] aggregation_per_series_aligner
97
+ # An Aligner describes how to bring the data points in a single time series into
98
+ # temporal alignment. Except for ALIGN_NONE, all alignments cause all the data
99
+ # points in an alignment_period to be mathematically grouped together, resulting
100
+ # in a single data point for each alignment_period with end timestamp at the end
101
+ # of the period.Not all alignment operations may be applied to all time series.
102
+ # The valid choices depend on the metric_kind and value_type of the original
103
+ # time series. Alignment can change the metric_kind or the value_type of the
104
+ # time series.Time series data must be aligned in order to perform cross-time
105
+ # series reduction. If cross_series_reducer is specified, then
106
+ # per_series_aligner must be specified and not equal to ALIGN_NONE and
107
+ # alignment_period must be specified; otherwise, an error is returned.
108
+ # @param [String] filter
109
+ # Required. A monitoring filter (https://cloud.google.com/monitoring/api/v3/
110
+ # filters) that specifies which time series should be returned. The filter must
111
+ # specify a single metric type, and can additionally specify metric labels and
112
+ # other information. For example: metric.type = "compute.googleapis.com/instance/
113
+ # cpu/usage_time" AND metric.labels.instance_name = "my-instance-name"
114
+ # @param [String] interval_end_time
115
+ # Required. The end of the time interval.
116
+ # @param [String] interval_start_time
117
+ # Optional. The beginning of the time interval. The default value for the start
118
+ # time is the end time. The start time must not be later than the end time.
119
+ # @param [String] order_by
120
+ # Unsupported: must be left blank. The points in each time series are currently
121
+ # returned in reverse time order (most recent to oldest).
122
+ # @param [Fixnum] page_size
123
+ # A positive number that is the maximum number of results to return. If
124
+ # page_size is empty or more than 100,000 results, the effective page_size is
125
+ # 100,000 results. If view is set to FULL, this is the maximum number of Points
126
+ # returned. If view is set to HEADERS, this is the maximum number of TimeSeries
127
+ # returned.
128
+ # @param [String] page_token
129
+ # If this field is not empty then it must contain the nextPageToken value
130
+ # returned by a previous call to this method. Using this field causes the method
131
+ # to return additional results from the previous method call.
132
+ # @param [String] secondary_aggregation_alignment_period
133
+ # The alignment_period specifies a time interval, in seconds, that is used to
134
+ # divide the data in all the time series into consistent blocks of time. This
135
+ # will be done before the per-series aligner can be applied to the data.The
136
+ # value must be at least 60 seconds. If a per-series aligner other than
137
+ # ALIGN_NONE is specified, this field is required or an error is returned. If no
138
+ # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
139
+ # this field is ignored.The maximum value of the alignment_period is 104 weeks (
140
+ # 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
141
+ # @param [String] secondary_aggregation_cross_series_reducer
142
+ # The reduction operation to be used to combine time series into a single time
143
+ # series, where the value of each data point in the resulting series is a
144
+ # function of all the already aligned values in the input time series.Not all
145
+ # reducer operations can be applied to all time series. The valid choices depend
146
+ # on the metric_kind and the value_type of the original time series. Reduction
147
+ # can yield a time series with a different metric_kind or value_type than the
148
+ # input time series.Time series data must first be aligned (see
149
+ # per_series_aligner) in order to perform cross-time series reduction. If
150
+ # cross_series_reducer is specified, then per_series_aligner must be specified,
151
+ # and must not be ALIGN_NONE. An alignment_period must also be specified;
152
+ # otherwise, an error is returned.
153
+ # @param [Array<String>, String] secondary_aggregation_group_by_fields
154
+ # The set of fields to preserve when cross_series_reducer is specified. The
155
+ # group_by_fields determine how the time series are partitioned into subsets
156
+ # prior to applying the aggregation operation. Each subset contains time series
157
+ # that have the same value for each of the grouping fields. Each individual time
158
+ # series is a member of exactly one subset. The cross_series_reducer is applied
159
+ # to each subset of time series. It is not possible to reduce across different
160
+ # resource types, so this field implicitly contains resource.type. Fields not
161
+ # specified in group_by_fields are aggregated away. If group_by_fields is not
162
+ # specified and all the time series have the same resource type, then the time
163
+ # series are aggregated into a single output time series. If
164
+ # cross_series_reducer is not defined, this field is ignored.
165
+ # @param [String] secondary_aggregation_per_series_aligner
166
+ # An Aligner describes how to bring the data points in a single time series into
167
+ # temporal alignment. Except for ALIGN_NONE, all alignments cause all the data
168
+ # points in an alignment_period to be mathematically grouped together, resulting
169
+ # in a single data point for each alignment_period with end timestamp at the end
170
+ # of the period.Not all alignment operations may be applied to all time series.
171
+ # The valid choices depend on the metric_kind and value_type of the original
172
+ # time series. Alignment can change the metric_kind or the value_type of the
173
+ # time series.Time series data must be aligned in order to perform cross-time
174
+ # series reduction. If cross_series_reducer is specified, then
175
+ # per_series_aligner must be specified and not equal to ALIGN_NONE and
176
+ # alignment_period must be specified; otherwise, an error is returned.
177
+ # @param [String] view
178
+ # Required. Specifies which information is returned about the time series.
179
+ # @param [String] fields
180
+ # Selector specifying which fields to include in a partial response.
181
+ # @param [String] quota_user
182
+ # Available to use for quota purposes for server-side applications. Can be any
183
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
184
+ # @param [Google::Apis::RequestOptions] options
185
+ # Request-specific options
186
+ #
187
+ # @yield [result, err] Result & error if block supplied
188
+ # @yieldparam result [Google::Apis::MonitoringV3::ListTimeSeriesResponse] parsed result object
189
+ # @yieldparam err [StandardError] error object if request failed
190
+ #
191
+ # @return [Google::Apis::MonitoringV3::ListTimeSeriesResponse]
192
+ #
193
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
196
+ def list_folder_time_series(name, aggregation_alignment_period: nil, aggregation_cross_series_reducer: nil, aggregation_group_by_fields: nil, aggregation_per_series_aligner: nil, filter: nil, interval_end_time: nil, interval_start_time: nil, order_by: nil, page_size: nil, page_token: nil, secondary_aggregation_alignment_period: nil, secondary_aggregation_cross_series_reducer: nil, secondary_aggregation_group_by_fields: nil, secondary_aggregation_per_series_aligner: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
197
+ command = make_simple_command(:get, 'v3/{+name}/timeSeries', options)
198
+ command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation
199
+ command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse
200
+ command.params['name'] = name unless name.nil?
201
+ command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil?
202
+ command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil?
203
+ command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil?
204
+ command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil?
205
+ command.query['filter'] = filter unless filter.nil?
206
+ command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
207
+ command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
208
+ command.query['orderBy'] = order_by unless order_by.nil?
209
+ command.query['pageSize'] = page_size unless page_size.nil?
210
+ command.query['pageToken'] = page_token unless page_token.nil?
211
+ command.query['secondaryAggregation.alignmentPeriod'] = secondary_aggregation_alignment_period unless secondary_aggregation_alignment_period.nil?
212
+ command.query['secondaryAggregation.crossSeriesReducer'] = secondary_aggregation_cross_series_reducer unless secondary_aggregation_cross_series_reducer.nil?
213
+ command.query['secondaryAggregation.groupByFields'] = secondary_aggregation_group_by_fields unless secondary_aggregation_group_by_fields.nil?
214
+ command.query['secondaryAggregation.perSeriesAligner'] = secondary_aggregation_per_series_aligner unless secondary_aggregation_per_series_aligner.nil?
215
+ command.query['view'] = view unless view.nil?
216
+ command.query['fields'] = fields unless fields.nil?
217
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
218
+ execute_or_queue_command(command, &block)
219
+ end
220
+
221
+ # Lists time series that match a filter. This method does not require a
222
+ # Workspace.
223
+ # @param [String] name
224
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
225
+ # , organization or folder on which to execute the request. The format is:
226
+ # projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[
227
+ # FOLDER_ID]
228
+ # @param [String] aggregation_alignment_period
229
+ # The alignment_period specifies a time interval, in seconds, that is used to
230
+ # divide the data in all the time series into consistent blocks of time. This
231
+ # will be done before the per-series aligner can be applied to the data.The
232
+ # value must be at least 60 seconds. If a per-series aligner other than
233
+ # ALIGN_NONE is specified, this field is required or an error is returned. If no
234
+ # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
235
+ # this field is ignored.The maximum value of the alignment_period is 104 weeks (
236
+ # 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
237
+ # @param [String] aggregation_cross_series_reducer
238
+ # The reduction operation to be used to combine time series into a single time
239
+ # series, where the value of each data point in the resulting series is a
240
+ # function of all the already aligned values in the input time series.Not all
241
+ # reducer operations can be applied to all time series. The valid choices depend
242
+ # on the metric_kind and the value_type of the original time series. Reduction
243
+ # can yield a time series with a different metric_kind or value_type than the
244
+ # input time series.Time series data must first be aligned (see
245
+ # per_series_aligner) in order to perform cross-time series reduction. If
246
+ # cross_series_reducer is specified, then per_series_aligner must be specified,
247
+ # and must not be ALIGN_NONE. An alignment_period must also be specified;
248
+ # otherwise, an error is returned.
249
+ # @param [Array<String>, String] aggregation_group_by_fields
250
+ # The set of fields to preserve when cross_series_reducer is specified. The
251
+ # group_by_fields determine how the time series are partitioned into subsets
252
+ # prior to applying the aggregation operation. Each subset contains time series
253
+ # that have the same value for each of the grouping fields. Each individual time
254
+ # series is a member of exactly one subset. The cross_series_reducer is applied
255
+ # to each subset of time series. It is not possible to reduce across different
256
+ # resource types, so this field implicitly contains resource.type. Fields not
257
+ # specified in group_by_fields are aggregated away. If group_by_fields is not
258
+ # specified and all the time series have the same resource type, then the time
259
+ # series are aggregated into a single output time series. If
260
+ # cross_series_reducer is not defined, this field is ignored.
261
+ # @param [String] aggregation_per_series_aligner
262
+ # An Aligner describes how to bring the data points in a single time series into
263
+ # temporal alignment. Except for ALIGN_NONE, all alignments cause all the data
264
+ # points in an alignment_period to be mathematically grouped together, resulting
265
+ # in a single data point for each alignment_period with end timestamp at the end
266
+ # of the period.Not all alignment operations may be applied to all time series.
267
+ # The valid choices depend on the metric_kind and value_type of the original
268
+ # time series. Alignment can change the metric_kind or the value_type of the
269
+ # time series.Time series data must be aligned in order to perform cross-time
270
+ # series reduction. If cross_series_reducer is specified, then
271
+ # per_series_aligner must be specified and not equal to ALIGN_NONE and
272
+ # alignment_period must be specified; otherwise, an error is returned.
273
+ # @param [String] filter
274
+ # Required. A monitoring filter (https://cloud.google.com/monitoring/api/v3/
275
+ # filters) that specifies which time series should be returned. The filter must
276
+ # specify a single metric type, and can additionally specify metric labels and
277
+ # other information. For example: metric.type = "compute.googleapis.com/instance/
278
+ # cpu/usage_time" AND metric.labels.instance_name = "my-instance-name"
279
+ # @param [String] interval_end_time
280
+ # Required. The end of the time interval.
281
+ # @param [String] interval_start_time
282
+ # Optional. The beginning of the time interval. The default value for the start
283
+ # time is the end time. The start time must not be later than the end time.
284
+ # @param [String] order_by
285
+ # Unsupported: must be left blank. The points in each time series are currently
286
+ # returned in reverse time order (most recent to oldest).
287
+ # @param [Fixnum] page_size
288
+ # A positive number that is the maximum number of results to return. If
289
+ # page_size is empty or more than 100,000 results, the effective page_size is
290
+ # 100,000 results. If view is set to FULL, this is the maximum number of Points
291
+ # returned. If view is set to HEADERS, this is the maximum number of TimeSeries
292
+ # returned.
293
+ # @param [String] page_token
294
+ # If this field is not empty then it must contain the nextPageToken value
295
+ # returned by a previous call to this method. Using this field causes the method
296
+ # to return additional results from the previous method call.
297
+ # @param [String] secondary_aggregation_alignment_period
298
+ # The alignment_period specifies a time interval, in seconds, that is used to
299
+ # divide the data in all the time series into consistent blocks of time. This
300
+ # will be done before the per-series aligner can be applied to the data.The
301
+ # value must be at least 60 seconds. If a per-series aligner other than
302
+ # ALIGN_NONE is specified, this field is required or an error is returned. If no
303
+ # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then
304
+ # this field is ignored.The maximum value of the alignment_period is 104 weeks (
305
+ # 2 years) for charts, and 90,000 seconds (25 hours) for alerting policies.
306
+ # @param [String] secondary_aggregation_cross_series_reducer
307
+ # The reduction operation to be used to combine time series into a single time
308
+ # series, where the value of each data point in the resulting series is a
309
+ # function of all the already aligned values in the input time series.Not all
310
+ # reducer operations can be applied to all time series. The valid choices depend
311
+ # on the metric_kind and the value_type of the original time series. Reduction
312
+ # can yield a time series with a different metric_kind or value_type than the
313
+ # input time series.Time series data must first be aligned (see
314
+ # per_series_aligner) in order to perform cross-time series reduction. If
315
+ # cross_series_reducer is specified, then per_series_aligner must be specified,
316
+ # and must not be ALIGN_NONE. An alignment_period must also be specified;
317
+ # otherwise, an error is returned.
318
+ # @param [Array<String>, String] secondary_aggregation_group_by_fields
319
+ # The set of fields to preserve when cross_series_reducer is specified. The
320
+ # group_by_fields determine how the time series are partitioned into subsets
321
+ # prior to applying the aggregation operation. Each subset contains time series
322
+ # that have the same value for each of the grouping fields. Each individual time
323
+ # series is a member of exactly one subset. The cross_series_reducer is applied
324
+ # to each subset of time series. It is not possible to reduce across different
325
+ # resource types, so this field implicitly contains resource.type. Fields not
326
+ # specified in group_by_fields are aggregated away. If group_by_fields is not
327
+ # specified and all the time series have the same resource type, then the time
328
+ # series are aggregated into a single output time series. If
329
+ # cross_series_reducer is not defined, this field is ignored.
330
+ # @param [String] secondary_aggregation_per_series_aligner
331
+ # An Aligner describes how to bring the data points in a single time series into
332
+ # temporal alignment. Except for ALIGN_NONE, all alignments cause all the data
333
+ # points in an alignment_period to be mathematically grouped together, resulting
334
+ # in a single data point for each alignment_period with end timestamp at the end
335
+ # of the period.Not all alignment operations may be applied to all time series.
336
+ # The valid choices depend on the metric_kind and value_type of the original
337
+ # time series. Alignment can change the metric_kind or the value_type of the
338
+ # time series.Time series data must be aligned in order to perform cross-time
339
+ # series reduction. If cross_series_reducer is specified, then
340
+ # per_series_aligner must be specified and not equal to ALIGN_NONE and
341
+ # alignment_period must be specified; otherwise, an error is returned.
342
+ # @param [String] view
343
+ # Required. Specifies which information is returned about the time series.
344
+ # @param [String] fields
345
+ # Selector specifying which fields to include in a partial response.
346
+ # @param [String] quota_user
347
+ # Available to use for quota purposes for server-side applications. Can be any
348
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
349
+ # @param [Google::Apis::RequestOptions] options
350
+ # Request-specific options
351
+ #
352
+ # @yield [result, err] Result & error if block supplied
353
+ # @yieldparam result [Google::Apis::MonitoringV3::ListTimeSeriesResponse] parsed result object
354
+ # @yieldparam err [StandardError] error object if request failed
355
+ #
356
+ # @return [Google::Apis::MonitoringV3::ListTimeSeriesResponse]
357
+ #
358
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
359
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
360
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
361
+ def list_organization_time_series(name, aggregation_alignment_period: nil, aggregation_cross_series_reducer: nil, aggregation_group_by_fields: nil, aggregation_per_series_aligner: nil, filter: nil, interval_end_time: nil, interval_start_time: nil, order_by: nil, page_size: nil, page_token: nil, secondary_aggregation_alignment_period: nil, secondary_aggregation_cross_series_reducer: nil, secondary_aggregation_group_by_fields: nil, secondary_aggregation_per_series_aligner: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
362
+ command = make_simple_command(:get, 'v3/{+name}/timeSeries', options)
363
+ command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation
364
+ command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse
365
+ command.params['name'] = name unless name.nil?
366
+ command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil?
367
+ command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil?
368
+ command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil?
369
+ command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil?
370
+ command.query['filter'] = filter unless filter.nil?
371
+ command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
372
+ command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
373
+ command.query['orderBy'] = order_by unless order_by.nil?
374
+ command.query['pageSize'] = page_size unless page_size.nil?
375
+ command.query['pageToken'] = page_token unless page_token.nil?
376
+ command.query['secondaryAggregation.alignmentPeriod'] = secondary_aggregation_alignment_period unless secondary_aggregation_alignment_period.nil?
377
+ command.query['secondaryAggregation.crossSeriesReducer'] = secondary_aggregation_cross_series_reducer unless secondary_aggregation_cross_series_reducer.nil?
378
+ command.query['secondaryAggregation.groupByFields'] = secondary_aggregation_group_by_fields unless secondary_aggregation_group_by_fields.nil?
379
+ command.query['secondaryAggregation.perSeriesAligner'] = secondary_aggregation_per_series_aligner unless secondary_aggregation_per_series_aligner.nil?
380
+ command.query['view'] = view unless view.nil?
381
+ command.query['fields'] = fields unless fields.nil?
382
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
383
+ execute_or_queue_command(command, &block)
384
+ end
385
+
56
386
  # Creates a new alerting policy.
57
387
  # @param [String] name
58
- # Required. The project in which to create the alerting policy. The format is:
59
- # projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent
60
- # container in which the alerting policy will be written, not the name of the
61
- # created policy. |name| must be a host project of a workspace, otherwise
62
- # INVALID_ARGUMENT error will return. The alerting policy that is returned will
63
- # have a name that contains a normalized representation of this name as a prefix
64
- # but adds a suffix of the form /alertPolicies/[ALERT_POLICY_ID], identifying
65
- # the policy in the container.
388
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
389
+ # in which to create the alerting policy. The format is: projects/[
390
+ # PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which
391
+ # the alerting policy will be written, not the name of the created policy. |name|
392
+ # must be a host project of a workspace, otherwise INVALID_ARGUMENT error will
393
+ # return. The alerting policy that is returned will have a name that contains a
394
+ # normalized representation of this name as a prefix but adds a suffix of the
395
+ # form /alertPolicies/[ALERT_POLICY_ID], identifying the policy in the container.
66
396
  # @param [Google::Apis::MonitoringV3::AlertPolicy] alert_policy_object
67
397
  # @param [String] fields
68
398
  # Selector specifying which fields to include in a partial response.
@@ -158,10 +488,11 @@ module Google
158
488
 
159
489
  # Lists the existing alerting policies for the workspace.
160
490
  # @param [String] name
161
- # Required. The project whose alert policies are to be listed. The format is:
162
- # projects/[PROJECT_ID_OR_NUMBER] Note that this field names the parent
163
- # container in which the alerting policies to be listed are stored. To retrieve
164
- # a single alerting policy by name, use the GetAlertPolicy operation, instead.
491
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
492
+ # whose alert policies are to be listed. The format is: projects/[
493
+ # PROJECT_ID_OR_NUMBER] Note that this field names the parent container in which
494
+ # the alerting policies to be listed are stored. To retrieve a single alerting
495
+ # policy by name, use the GetAlertPolicy operation, instead.
165
496
  # @param [String] filter
166
497
  # If provided, this field specifies the criteria that must be met by alert
167
498
  # policies to be included in the response.For more details, see sorting and
@@ -270,8 +601,8 @@ module Google
270
601
  # only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.
271
602
  # create instead.
272
603
  # @param [String] name
273
- # The project in which to create the time series. The format is: projects/[
274
- # PROJECT_ID_OR_NUMBER]
604
+ # The project (https://cloud.google.com/monitoring/api/v3#project_name) in which
605
+ # to create the time series. The format is: projects/[PROJECT_ID_OR_NUMBER]
275
606
  # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
276
607
  # @param [String] fields
277
608
  # Selector specifying which fields to include in a partial response.
@@ -304,8 +635,8 @@ module Google
304
635
 
305
636
  # Creates a new group.
306
637
  # @param [String] name
307
- # Required. The project in which to create the group. The format is: projects/[
308
- # PROJECT_ID_OR_NUMBER]
638
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
639
+ # in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER]
309
640
  # @param [Google::Apis::MonitoringV3::Group] group_object
310
641
  # @param [Boolean] validate_only
311
642
  # If true, validate this request but do not create the group.
@@ -408,8 +739,8 @@ module Google
408
739
 
409
740
  # Lists the existing groups.
410
741
  # @param [String] name
411
- # Required. The project whose groups are to be listed. The format is: projects/[
412
- # PROJECT_ID_OR_NUMBER]
742
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
743
+ # whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]
413
744
  # @param [String] ancestors_of_group
414
745
  # A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
415
746
  # Returns groups that are ancestors of the specified group. The groups are
@@ -558,8 +889,9 @@ module Google
558
889
  # Creates a new metric descriptor. User-created metric descriptors define custom
559
890
  # metrics (https://cloud.google.com/monitoring/custom-metrics).
560
891
  # @param [String] name
561
- # Required. The project on which to execute the request. The format is: projects/
562
- # [PROJECT_ID_OR_NUMBER]
892
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
893
+ # on which to execute the request. The format is: 4 projects/
894
+ # PROJECT_ID_OR_NUMBER
563
895
  # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
564
896
  # @param [String] fields
565
897
  # Selector specifying which fields to include in a partial response.
@@ -659,8 +991,9 @@ module Google
659
991
  # Lists metric descriptors that match a filter. This method does not require a
660
992
  # Workspace.
661
993
  # @param [String] name
662
- # Required. The project on which to execute the request. The format is: projects/
663
- # [PROJECT_ID_OR_NUMBER]
994
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
995
+ # on which to execute the request. The format is: projects/[
996
+ # PROJECT_ID_OR_NUMBER]
664
997
  # @param [String] filter
665
998
  # If this field is empty, all custom and system-defined metric descriptors are
666
999
  # returned. Otherwise, the filter (https://cloud.google.com/monitoring/api/v3/
@@ -740,8 +1073,9 @@ module Google
740
1073
  # Lists monitored resource descriptors that match a filter. This method does not
741
1074
  # require a Workspace.
742
1075
  # @param [String] name
743
- # Required. The project on which to execute the request. The format is: projects/
744
- # [PROJECT_ID_OR_NUMBER]
1076
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1077
+ # on which to execute the request. The format is: projects/[
1078
+ # PROJECT_ID_OR_NUMBER]
745
1079
  # @param [String] filter
746
1080
  # An optional filter (https://cloud.google.com/monitoring/api/v3/filters)
747
1081
  # describing the descriptors to be returned. The filter can reference the
@@ -821,8 +1155,9 @@ module Google
821
1155
  # @param [String] name
822
1156
  # Required. The REST resource name of the parent from which to retrieve the
823
1157
  # notification channel descriptors. The expected syntax is: projects/[
824
- # PROJECT_ID_OR_NUMBER] Note that this names the parent container in which to
825
- # look for the descriptors; to retrieve a single descriptor by name, use the
1158
+ # PROJECT_ID_OR_NUMBER] Note that this names (https://cloud.google.com/
1159
+ # monitoring/api/v3#project_name) the parent container in which to look for the
1160
+ # descriptors; to retrieve a single descriptor by name, use the
826
1161
  # GetNotificationChannelDescriptor operation, instead.
827
1162
  # @param [Fixnum] page_size
828
1163
  # The maximum number of results to return in a single response. If not set to a
@@ -862,8 +1197,9 @@ module Google
862
1197
  # Creates a new notification channel, representing a single notification
863
1198
  # endpoint such as an email address, SMS number, or PagerDuty service.
864
1199
  # @param [String] name
865
- # Required. The project on which to execute the request. The format is: projects/
866
- # [PROJECT_ID_OR_NUMBER] This names the container into which the channel will be
1200
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1201
+ # on which to execute the request. The format is: projects/[
1202
+ # PROJECT_ID_OR_NUMBER] This names the container into which the channel will be
867
1203
  # written, this does not name the newly created channel. The resulting channel's
868
1204
  # name will have a normalized version of this field as a prefix, but will add /
869
1205
  # notificationChannels/[CHANNEL_ID] to identify the channel.
@@ -1023,8 +1359,9 @@ module Google
1023
1359
 
1024
1360
  # Lists the notification channels that have been created for the project.
1025
1361
  # @param [String] name
1026
- # Required. The project on which to execute the request. The format is: projects/
1027
- # [PROJECT_ID_OR_NUMBER] This names the container in which to look for the
1362
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1363
+ # on which to execute the request. The format is: projects/[
1364
+ # PROJECT_ID_OR_NUMBER] This names the container in which to look for the
1028
1365
  # notification channels; it does not name a specific channel. To query a
1029
1366
  # specific channel by REST resource name, use the GetNotificationChannel
1030
1367
  # operation.
@@ -1187,8 +1524,9 @@ module Google
1187
1524
  # time series in the request were written. If any time series could not be
1188
1525
  # written, a corresponding failure message is included in the error response.
1189
1526
  # @param [String] name
1190
- # Required. The project on which to execute the request. The format is: projects/
1191
- # [PROJECT_ID_OR_NUMBER]
1527
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1528
+ # on which to execute the request. The format is: projects/[
1529
+ # PROJECT_ID_OR_NUMBER]
1192
1530
  # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
1193
1531
  # @param [String] fields
1194
1532
  # Selector specifying which fields to include in a partial response.
@@ -1222,8 +1560,10 @@ module Google
1222
1560
  # Lists time series that match a filter. This method does not require a
1223
1561
  # Workspace.
1224
1562
  # @param [String] name
1225
- # Required. The project on which to execute the request. The format is: projects/
1226
- # [PROJECT_ID_OR_NUMBER]
1563
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1564
+ # , organization or folder on which to execute the request. The format is:
1565
+ # projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID] folders/[
1566
+ # FOLDER_ID]
1227
1567
  # @param [String] aggregation_alignment_period
1228
1568
  # The alignment_period specifies a time interval, in seconds, that is used to
1229
1569
  # divide the data in all the time series into consistent blocks of time. This
@@ -1385,8 +1725,9 @@ module Google
1385
1725
  # Queries time series using Monitoring Query Language. This method does not
1386
1726
  # require a Workspace.
1387
1727
  # @param [String] name
1388
- # Required. The project on which to execute the request. The format is: projects/
1389
- # [PROJECT_ID_OR_NUMBER]
1728
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1729
+ # on which to execute the request. The format is: projects/[
1730
+ # PROJECT_ID_OR_NUMBER]
1390
1731
  # @param [Google::Apis::MonitoringV3::QueryTimeSeriesRequest] query_time_series_request_object
1391
1732
  # @param [String] fields
1392
1733
  # Selector specifying which fields to include in a partial response.
@@ -1419,8 +1760,9 @@ module Google
1419
1760
 
1420
1761
  # Creates a new Uptime check configuration.
1421
1762
  # @param [String] parent
1422
- # Required. The project in which to create the Uptime check. The format is:
1423
- # projects/[PROJECT_ID_OR_NUMBER]
1763
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1764
+ # in which to create the Uptime check. The format is: projects/[
1765
+ # PROJECT_ID_OR_NUMBER]
1424
1766
  # @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
1425
1767
  # @param [String] fields
1426
1768
  # Selector specifying which fields to include in a partial response.
@@ -1518,8 +1860,9 @@ module Google
1518
1860
  # Lists the existing valid Uptime check configurations for the project (leaving
1519
1861
  # out any invalid configurations).
1520
1862
  # @param [String] parent
1521
- # Required. The project whose Uptime check configurations are listed. The format
1522
- # is: projects/[PROJECT_ID_OR_NUMBER]
1863
+ # Required. The project (https://cloud.google.com/monitoring/api/v3#project_name)
1864
+ # whose Uptime check configurations are listed. The format is: projects/[
1865
+ # PROJECT_ID_OR_NUMBER]
1523
1866
  # @param [Fixnum] page_size
1524
1867
  # The maximum number of results to return in a single response. The server may
1525
1868
  # further constrain the maximum number of results returned in a single page. If
@@ -1607,7 +1950,8 @@ module Google
1607
1950
 
1608
1951
  # Create a Service.
1609
1952
  # @param [String] parent
1610
- # Required. Resource name of the parent workspace. The format is: projects/[
1953
+ # Required. Resource name (https://cloud.google.com/monitoring/api/v3#
1954
+ # project_name) of the parent workspace. The format is: projects/[
1611
1955
  # PROJECT_ID_OR_NUMBER]
1612
1956
  # @param [Google::Apis::MonitoringV3::Service] service_object
1613
1957
  # @param [String] service_id
@@ -1708,8 +2052,9 @@ module Google
1708
2052
  # List Services for this workspace.
1709
2053
  # @param [String] parent
1710
2054
  # Required. Resource name of the parent containing the listed services, either a
1711
- # project or a Monitoring Workspace. The formats are: projects/[
1712
- # PROJECT_ID_OR_NUMBER] workspaces/[HOST_PROJECT_ID_OR_NUMBER]
2055
+ # project (https://cloud.google.com/monitoring/api/v3#project_name) or a
2056
+ # Monitoring Workspace. The formats are: projects/[PROJECT_ID_OR_NUMBER]
2057
+ # workspaces/[HOST_PROJECT_ID_OR_NUMBER]
1713
2058
  # @param [String] filter
1714
2059
  # A filter specifying what Services to return. The filter currently supports the
1715
2060
  # following fields: - `identifier_case` - `app_engine.module_id` - `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-monitoring_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v3/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v3
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Monitoring API V3