google-api-client 0.9.20 → 0.9.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -4
  3. data/api_names.yaml +33179 -1058
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
  15. data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
  18. data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
  19. data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
  22. data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
  23. data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
  24. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
  26. data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
  27. data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
  28. data/generated/google/apis/appsactivity_v1.rb +1 -1
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +50 -6
  32. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  33. data/generated/google/apis/books_v1.rb +1 -1
  34. data/generated/google/apis/books_v1/classes.rb +7 -2
  35. data/generated/google/apis/books_v1/representations.rb +1 -0
  36. data/generated/google/apis/calendar_v3.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +74 -74
  39. data/generated/google/apis/classroom_v1/representations.rb +29 -29
  40. data/generated/google/apis/classroom_v1/service.rb +132 -28
  41. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
  43. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
  44. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  45. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  46. data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
  47. data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
  48. data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
  51. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
  52. data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
  53. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
  55. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
  57. data/generated/google/apis/compute_beta.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +352 -80
  59. data/generated/google/apis/compute_beta/representations.rb +132 -19
  60. data/generated/google/apis/compute_beta/service.rb +214 -0
  61. data/generated/google/apis/compute_v1.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +673 -73
  63. data/generated/google/apis/compute_v1/representations.rb +274 -9
  64. data/generated/google/apis/compute_v1/service.rb +1574 -2
  65. data/generated/google/apis/content_v2.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +7 -8
  67. data/generated/google/apis/content_v2/service.rb +125 -54
  68. data/generated/google/apis/dataflow_v1b3.rb +2 -3
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
  71. data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
  72. data/generated/google/apis/datastore_v1.rb +1 -1
  73. data/generated/google/apis/datastore_v1/classes.rb +5 -0
  74. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
  76. data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
  77. data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2/classes.rb +55 -21
  82. data/generated/google/apis/drive_v2/representations.rb +2 -0
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +41 -12
  85. data/generated/google/apis/drive_v3/representations.rb +2 -0
  86. data/generated/google/apis/fitness_v1.rb +31 -1
  87. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  88. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  89. data/generated/google/apis/games_management_v1management.rb +1 -1
  90. data/generated/google/apis/games_v1.rb +1 -1
  91. data/generated/google/apis/gmail_v1.rb +1 -1
  92. data/generated/google/apis/gmail_v1/classes.rb +32 -1
  93. data/generated/google/apis/gmail_v1/representations.rb +15 -0
  94. data/generated/google/apis/gmail_v1/service.rb +41 -2
  95. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  96. data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
  97. data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
  98. data/generated/google/apis/kgsearch_v1.rb +2 -3
  99. data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
  100. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  101. data/generated/google/apis/kgsearch_v1/service.rb +28 -26
  102. data/generated/google/apis/language_v1beta1.rb +1 -1
  103. data/generated/google/apis/language_v1beta1/classes.rb +166 -8
  104. data/generated/google/apis/language_v1beta1/representations.rb +50 -0
  105. data/generated/google/apis/language_v1beta1/service.rb +32 -0
  106. data/generated/google/apis/logging_v2beta1.rb +6 -6
  107. data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
  108. data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
  109. data/generated/google/apis/logging_v2beta1/service.rb +378 -211
  110. data/generated/google/apis/monitoring_v3.rb +1 -1
  111. data/generated/google/apis/monitoring_v3/classes.rb +110 -112
  112. data/generated/google/apis/monitoring_v3/service.rb +68 -73
  113. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  114. data/generated/google/apis/plus_domains_v1.rb +1 -1
  115. data/generated/google/apis/plus_v1.rb +1 -1
  116. data/generated/google/apis/pubsub_v1.rb +1 -1
  117. data/generated/google/apis/pubsub_v1/classes.rb +380 -327
  118. data/generated/google/apis/pubsub_v1/representations.rb +79 -79
  119. data/generated/google/apis/pubsub_v1/service.rb +424 -396
  120. data/generated/google/apis/sheets_v4.rb +1 -1
  121. data/generated/google/apis/sheets_v4/classes.rb +175 -53
  122. data/generated/google/apis/sheets_v4/representations.rb +48 -13
  123. data/generated/google/apis/site_verification_v1.rb +1 -1
  124. data/generated/google/apis/slides_v1.rb +1 -1
  125. data/generated/google/apis/slides_v1/classes.rb +149 -31
  126. data/generated/google/apis/slides_v1/representations.rb +52 -9
  127. data/generated/google/apis/slides_v1/service.rb +5 -5
  128. data/generated/google/apis/speech_v1beta1.rb +1 -1
  129. data/generated/google/apis/speech_v1beta1/service.rb +3 -1
  130. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  131. data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
  132. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
  133. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  134. data/generated/google/apis/storage_v1.rb +1 -1
  135. data/generated/google/apis/storage_v1/classes.rb +7 -0
  136. data/generated/google/apis/storage_v1/representations.rb +2 -0
  137. data/generated/google/apis/tagmanager_v1.rb +5 -5
  138. data/generated/google/apis/vision_v1.rb +1 -1
  139. data/generated/google/apis/vision_v1/classes.rb +63 -59
  140. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  141. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  142. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  143. data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
  146. data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
  147. data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/classes.rb +15 -2
  150. data/generated/google/apis/youtube_v3/representations.rb +3 -0
  151. data/generated/google/apis/youtube_v3/service.rb +4 -4
  152. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  153. data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
  154. data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
  155. data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
  156. data/lib/google/apis/version.rb +1 -1
  157. data/samples/cli/lib/samples/calendar.rb +1 -1
  158. data/samples/cli/lib/samples/gmail.rb +74 -0
  159. metadata +29 -29
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/monitoring/api/
28
28
  module MonitoringV3
29
29
  VERSION = 'V3'
30
- REVISION = '20161031'
30
+ REVISION = '20170114'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -123,14 +123,14 @@ module Google
123
123
  # group contains the monitored resources that match its filter and the filters
124
124
  # of all the group's ancestors. A group without a parent can contain any
125
125
  # monitored resource.For example, consider an infrastructure running a set of
126
- # instances with two user-defined tags: "environment" and "role&
127
- # quot;. A parent group has a filter, environment="production". A
128
- # child of that parent group has a filter, role="transcoder". The
129
- # parent group contains all instances in the production environment, regardless
130
- # of their roles. The child group contains instances that have the transcoder
131
- # role and are in the production environment.The monitored resources contained
132
- # in a group can change at any moment, depending on what resources exist and
133
- # what filters are associated with the group and its ancestors.
126
+ # instances with two user-defined tags: "environment" and "role". A parent group
127
+ # has a filter, environment="production". A child of that parent group has a
128
+ # filter, role="transcoder". The parent group contains all instances in the
129
+ # production environment, regardless of their roles. The child group contains
130
+ # instances that have the transcoder role and are in the production environment.
131
+ # The monitored resources contained in a group can change at any moment,
132
+ # depending on what resources exist and what filters are associated with the
133
+ # group and its ancestors.
134
134
  class Group
135
135
  include Google::Apis::Core::Hashable
136
136
 
@@ -139,9 +139,9 @@ module Google
139
139
  # @return [String]
140
140
  attr_accessor :display_name
141
141
 
142
- # The name of the group's parent, if it has one. The format is "projects/`
143
- # project_id_or_number`/groups/`group_id`". For groups with no parent,
144
- # parentName is the empty string, "".
142
+ # The name of the group's parent, if it has one. The format is "projects/`
143
+ # project_id_or_number`/groups/`group_id`". For groups with no parent,
144
+ # parentName is the empty string, "".
145
145
  # Corresponds to the JSON property `parentName`
146
146
  # @return [String]
147
147
  attr_accessor :parent_name
@@ -158,11 +158,10 @@ module Google
158
158
  # @return [String]
159
159
  attr_accessor :filter
160
160
 
161
- # Output only. The name of this group. The format is "projects/`
162
- # project_id_or_number`/groups/`group_id`". When creating a group, this
163
- # field is ignored and a new name is created consisting of the project specified
164
- # in the call to CreateGroup and a unique `group_id` that is generated
165
- # automatically.
161
+ # Output only. The name of this group. The format is "projects/`
162
+ # project_id_or_number`/groups/`group_id`". When creating a group, this field is
163
+ # ignored and a new name is created consisting of the project specified in the
164
+ # call to CreateGroup and a unique `group_id` that is generated automatically.
166
165
  # Corresponds to the JSON property `name`
167
166
  # @return [String]
168
167
  attr_accessor :name
@@ -245,7 +244,7 @@ module Google
245
244
  attr_accessor :value
246
245
 
247
246
  # The data source for the collectd value. For example there are two data sources
248
- # for network measurements: "rx" and "tx".
247
+ # for network measurements: "rx" and "tx".
249
248
  # Corresponds to the JSON property `dataSourceName`
250
249
  # @return [String]
251
250
  attr_accessor :data_source_name
@@ -306,11 +305,11 @@ module Google
306
305
  # Information in the labels field identifies the actual resource and its
307
306
  # attributes according to the schema. For example, a particular Compute Engine
308
307
  # VM instance could be represented by the following object, because the
309
- # MonitoredResourceDescriptor for "gce_instance" has labels "
310
- # instance_id" and "zone":
311
- # ` "type": "gce_instance",
312
- # "labels": ` "instance_id": "12345678901234",
313
- # "zone": "us-central1-a" ``
308
+ # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
309
+ # zone":
310
+ # ` "type": "gce_instance",
311
+ # "labels": ` "instance_id": "12345678901234",
312
+ # "zone": "us-central1-a" ``
314
313
  # Corresponds to the JSON property `resource`
315
314
  # @return [Google::Apis::MonitoringV3::MonitoredResource]
316
315
  attr_accessor :resource
@@ -385,13 +384,12 @@ module Google
385
384
  # / division (as an infix operator, e.g. 1/s).
386
385
  # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
387
386
  # as follows:
388
- # Expression = Component ` "." Component ` ` "/" Component `
389
- # ;
387
+ # Expression = Component ` "." Component ` ` "/" Component ` ;
390
388
  # Component = [ PREFIX ] UNIT [ Annotation ]
391
389
  # | Annotation
392
- # | "1"
390
+ # | "1"
393
391
  # ;
394
- # Annotation = "`" NAME "`" ;
392
+ # Annotation = "`" NAME "`" ;
395
393
  # Notes:
396
394
  # Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
397
395
  # it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
@@ -433,19 +431,19 @@ module Google
433
431
  # the name typically includes: (1) the parent resource name that defines the
434
432
  # scope of the metric type or of its data; and (2) the metric's URL-encoded type,
435
433
  # which also appears in the type field of this descriptor. For example,
436
- # following is the resource name of a custom metric within the GCP project
437
- # 123456789:
438
- # "projects/123456789/metricDescriptors/custom.googleapis.com%2Finvoice%
439
- # 2Fpaid%2Famount"
434
+ # following is the resource name of a custom metric within the GCP project my-
435
+ # project-id:
436
+ # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
437
+ # 2Fpaid%2Famount"
440
438
  # Corresponds to the JSON property `name`
441
439
  # @return [String]
442
440
  attr_accessor :name
443
441
 
444
442
  # The metric type, including its DNS name prefix. The type is not URL-encoded.
445
- # All user-defined metric types have the DNS name custom.googleapis.com. Metric
446
- # types should use a natural hierarchical grouping. For example:
447
- # "custom.googleapis.com/invoice/paid/amount"
448
- # "appengine.googleapis.com/http/server/response_latencies"
443
+ # All user-defined custom metric types have the DNS name custom.googleapis.com.
444
+ # Metric types should use a natural hierarchical grouping. For example:
445
+ # "custom.googleapis.com/invoice/paid/amount"
446
+ # "appengine.googleapis.com/http/server/response_latencies"
449
447
  # Corresponds to the JSON property `type`
450
448
  # @return [String]
451
449
  attr_accessor :type
@@ -470,9 +468,9 @@ module Google
470
468
  # Specify a sequence of buckets that have a width that is proportional to the
471
469
  # value of the lower bound. Each bucket represents a constant relative
472
470
  # uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (=
473
- # N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1)
474
- # : scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (
475
- # growth_factor ^ (i - 1)).
471
+ # N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1):
472
+ # scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor
473
+ # ^ (i - 1)).
476
474
  class Exponential
477
475
  include Google::Apis::Core::Hashable
478
476
 
@@ -504,11 +502,10 @@ module Google
504
502
  end
505
503
 
506
504
  # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
507
- # with these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): boundsi
508
- # Lower bound (1 &lt;= i &lt; N); boundsi - 1There must be at least one element
509
- # in bounds. If bounds has only one element, there are no finite buckets, and
510
- # that single element is the common boundary of the overflow and underflow
511
- # buckets.
505
+ # with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower
506
+ # bound (1 <= i < N); boundsi - 1There must be at least one element in bounds.
507
+ # If bounds has only one element, there are no finite buckets, and that single
508
+ # element is the common boundary of the overflow and underflow buckets.
512
509
  class Explicit
513
510
  include Google::Apis::Core::Hashable
514
511
 
@@ -530,8 +527,8 @@ module Google
530
527
  # Specify a sequence of buckets that all have the same width (except overflow
531
528
  # and underflow). Each bucket represents a constant absolute uncertainty on the
532
529
  # specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with
533
- # these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): offset + (
534
- # width * i). Lower bound (1 &lt;= i &lt; N): offset + (width * (i - 1)).
530
+ # these boundaries for bucket i:Upper bound (0 <= i < N-1): offset + (width * i).
531
+ # Lower bound (1 <= i < N): offset + (width * (i - 1)).
535
532
  class Linear
536
533
  include Google::Apis::Core::Hashable
537
534
 
@@ -572,7 +569,7 @@ module Google
572
569
  # @return [String]
573
570
  attr_accessor :end_time
574
571
 
575
- # The measurement metadata. Example: &quot;process_id&quot; -&gt; 12345
572
+ # The measurement metadata. Example: "process_id" -> 12345
576
573
  # Corresponds to the JSON property `metadata`
577
574
  # @return [Hash<String,Google::Apis::MonitoringV3::TypedValue>]
578
575
  attr_accessor :metadata
@@ -583,7 +580,7 @@ module Google
583
580
  # @return [Array<Google::Apis::MonitoringV3::CollectdValue>]
584
581
  attr_accessor :values
585
582
 
586
- # The instance name of the plugin Example: &quot;hdcl&quot;.
583
+ # The instance name of the plugin Example: "hdcl".
587
584
  # Corresponds to the JSON property `pluginInstance`
588
585
  # @return [String]
589
586
  attr_accessor :plugin_instance
@@ -593,17 +590,17 @@ module Google
593
590
  # @return [String]
594
591
  attr_accessor :start_time
595
592
 
596
- # The measurement type instance. Example: &quot;used&quot;.
593
+ # The measurement type instance. Example: "used".
597
594
  # Corresponds to the JSON property `typeInstance`
598
595
  # @return [String]
599
596
  attr_accessor :type_instance
600
597
 
601
- # The measurement type. Example: &quot;memory&quot;.
598
+ # The measurement type. Example: "memory".
602
599
  # Corresponds to the JSON property `type`
603
600
  # @return [String]
604
601
  attr_accessor :type
605
602
 
606
- # The name of the plugin. Example: &quot;disk&quot;.
603
+ # The name of the plugin. Example: "disk".
607
604
  # Corresponds to the JSON property `plugin`
608
605
  # @return [String]
609
606
  attr_accessor :plugin
@@ -687,14 +684,14 @@ module Google
687
684
  # The sequence of N buckets for a Distribution consists of an underflow bucket (
688
685
  # number 0), zero or more finite buckets (number 1 through N - 2) and an
689
686
  # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
690
- # bucket i (i &gt; 0) is the same as the upper bound of bucket i - 1. The
691
- # buckets span the whole range of finite values: lower bound of the underflow
692
- # bucket is -infinity and the upper bound of the overflow bucket is +infinity.
693
- # The finite buckets are so-called because both bounds are finite.BucketOptions
694
- # describes bucket boundaries in one of three ways. Two describe the boundaries
695
- # by giving parameters for a formula to generate boundaries and one gives the
696
- # bucket boundaries explicitly.If bucket_options is not given, then no
697
- # bucket_counts may be given.
687
+ # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
688
+ # span the whole range of finite values: lower bound of the underflow bucket is -
689
+ # infinity and the upper bound of the overflow bucket is +infinity. The finite
690
+ # buckets are so-called because both bounds are finite.BucketOptions describes
691
+ # bucket boundaries in one of three ways. Two describe the boundaries by giving
692
+ # parameters for a formula to generate boundaries and one gives the bucket
693
+ # boundaries explicitly.If bucket_options is not given, then no bucket_counts
694
+ # may be given.
698
695
  # Corresponds to the JSON property `bucketOptions`
699
696
  # @return [Google::Apis::MonitoringV3::BucketOptions]
700
697
  attr_accessor :bucket_options
@@ -747,24 +744,24 @@ module Google
747
744
  # Information in the labels field identifies the actual resource and its
748
745
  # attributes according to the schema. For example, a particular Compute Engine
749
746
  # VM instance could be represented by the following object, because the
750
- # MonitoredResourceDescriptor for &quot;gce_instance&quot; has labels &quot;
751
- # instance_id&quot; and &quot;zone&quot;:
752
- # ` &quot;type&quot;: &quot;gce_instance&quot;,
753
- # &quot;labels&quot;: ` &quot;instance_id&quot;: &quot;12345678901234&quot;,
754
- # &quot;zone&quot;: &quot;us-central1-a&quot; ``
747
+ # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
748
+ # zone":
749
+ # ` "type": "gce_instance",
750
+ # "labels": ` "instance_id": "12345678901234",
751
+ # "zone": "us-central1-a" ``
755
752
  class MonitoredResource
756
753
  include Google::Apis::Core::Hashable
757
754
 
758
755
  # Required. Values for all of the labels listed in the associated monitored
759
- # resource descriptor. For example, Cloud SQL databases use the labels &quot;
760
- # database_id&quot; and &quot;zone&quot;.
756
+ # resource descriptor. For example, Cloud SQL databases use the labels "
757
+ # database_id" and "zone".
761
758
  # Corresponds to the JSON property `labels`
762
759
  # @return [Hash<String,String>]
763
760
  attr_accessor :labels
764
761
 
765
762
  # Required. The monitored resource type. This field must match the type field of
766
763
  # a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL
767
- # database is &quot;cloudsql_database&quot;.
764
+ # database is "cloudsql_database".
768
765
  # Corresponds to the JSON property `type`
769
766
  # @return [String]
770
767
  attr_accessor :type
@@ -813,18 +810,17 @@ module Google
813
810
 
814
811
  # An object that describes the schema of a MonitoredResource object using a type
815
812
  # name and a set of labels. For example, the monitored resource descriptor for
816
- # Google Compute Engine VM instances has a type of &quot;gce_instance&quot; and
817
- # specifies the use of the labels &quot;instance_id&quot; and &quot;zone&quot;
818
- # to identify particular VM instances.Different APIs can support different
819
- # monitored resource types. APIs generally provide a list method that returns
820
- # the monitored resource descriptors used by the API.
813
+ # Google Compute Engine VM instances has a type of "gce_instance" and specifies
814
+ # the use of the labels "instance_id" and "zone" to identify particular VM
815
+ # instances.Different APIs can support different monitored resource types. APIs
816
+ # generally provide a list method that returns the monitored resource
817
+ # descriptors used by the API.
821
818
  class MonitoredResourceDescriptor
822
819
  include Google::Apis::Core::Hashable
823
820
 
824
821
  # Optional. A concise name for the monitored resource type that might be
825
822
  # displayed in user interfaces. It should be a Title Cased Noun Phrase, without
826
- # any article or other determiners. For example, &quot;Google Cloud SQL Database&
827
- # quot;.
823
+ # any article or other determiners. For example, "Google Cloud SQL Database".
828
824
  # Corresponds to the JSON property `displayName`
829
825
  # @return [String]
830
826
  attr_accessor :display_name
@@ -837,25 +833,24 @@ module Google
837
833
 
838
834
  # Required. A set of labels used to describe instances of this monitored
839
835
  # resource type. For example, an individual Google Cloud SQL database is
840
- # identified by values for the labels &quot;database_id&quot; and &quot;zone&
841
- # quot;.
836
+ # identified by values for the labels "database_id" and "zone".
842
837
  # Corresponds to the JSON property `labels`
843
838
  # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
844
839
  attr_accessor :labels
845
840
 
846
- # Required. The monitored resource type. For example, the type &quot;
847
- # cloudsql_database&quot; represents databases in Google Cloud SQL. The maximum
841
+ # Required. The monitored resource type. For example, the type "
842
+ # cloudsql_database" represents databases in Google Cloud SQL. The maximum
848
843
  # length of this value is 256 characters.
849
844
  # Corresponds to the JSON property `type`
850
845
  # @return [String]
851
846
  attr_accessor :type
852
847
 
853
- # Optional. The resource name of the monitored resource descriptor: &quot;
854
- # projects/`project_id`/monitoredResourceDescriptors/`type`&quot; where `type`
855
- # is the value of the type field in this object and `project_id` is a project ID
856
- # that provides API-specific context for accessing the type. APIs that do not
857
- # use project information can use the resource name format &quot;
858
- # monitoredResourceDescriptors/`type`&quot;.
848
+ # Optional. The resource name of the monitored resource descriptor: "projects/`
849
+ # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
850
+ # the type field in this object and `project_id` is a project ID that provides
851
+ # API-specific context for accessing the type. APIs that do not use project
852
+ # information can use the resource name format "monitoredResourceDescriptors/`
853
+ # type`".
859
854
  # Corresponds to the JSON property `name`
860
855
  # @return [String]
861
856
  attr_accessor :name
@@ -989,7 +984,7 @@ module Google
989
984
  attr_accessor :cardinality
990
985
 
991
986
  # The field type URL, without the scheme, for message or enumeration types.
992
- # Example: &quot;type.googleapis.com/google.protobuf.Timestamp&quot;.
987
+ # Example: "type.googleapis.com/google.protobuf.Timestamp".
993
988
  # Corresponds to the JSON property `typeUrl`
994
989
  # @return [String]
995
990
  attr_accessor :type_url
@@ -1039,12 +1034,18 @@ module Google
1039
1034
  class Option
1040
1035
  include Google::Apis::Core::Hashable
1041
1036
 
1042
- # The option's value. For example, &quot;com.google.protobuf&quot;.
1037
+ # The option's value packed in an Any message. If the value is a primitive, the
1038
+ # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
1039
+ # used. If the value is an enum, it should be stored as an int32 value using the
1040
+ # google.protobuf.Int32Value type.
1043
1041
  # Corresponds to the JSON property `value`
1044
1042
  # @return [Hash<String,Object>]
1045
1043
  attr_accessor :value
1046
1044
 
1047
- # The option's name. For example, &quot;java_package&quot;.
1045
+ # The option's name. For protobuf built-in options (options defined in
1046
+ # descriptor.proto), this is the short name. For example, "map_entry". For
1047
+ # custom options, it should be the fully-qualified name. For example, "google.
1048
+ # api.http".
1048
1049
  # Corresponds to the JSON property `name`
1049
1050
  # @return [String]
1050
1051
  attr_accessor :name
@@ -1085,8 +1086,7 @@ module Google
1085
1086
  include Google::Apis::Core::Hashable
1086
1087
 
1087
1088
  # The path-qualified name of the .proto file that contained the associated
1088
- # protobuf element. For example: &quot;google/protobuf/source_context.proto&quot;
1089
- # .
1089
+ # protobuf element. For example: "google/protobuf/source_context.proto".
1090
1090
  # Corresponds to the JSON property `fileName`
1091
1091
  # @return [String]
1092
1092
  attr_accessor :file_name
@@ -1158,23 +1158,22 @@ module Google
1158
1158
  # The sequence of N buckets for a Distribution consists of an underflow bucket (
1159
1159
  # number 0), zero or more finite buckets (number 1 through N - 2) and an
1160
1160
  # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
1161
- # bucket i (i &gt; 0) is the same as the upper bound of bucket i - 1. The
1162
- # buckets span the whole range of finite values: lower bound of the underflow
1163
- # bucket is -infinity and the upper bound of the overflow bucket is +infinity.
1164
- # The finite buckets are so-called because both bounds are finite.BucketOptions
1165
- # describes bucket boundaries in one of three ways. Two describe the boundaries
1166
- # by giving parameters for a formula to generate boundaries and one gives the
1167
- # bucket boundaries explicitly.If bucket_options is not given, then no
1168
- # bucket_counts may be given.
1161
+ # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
1162
+ # span the whole range of finite values: lower bound of the underflow bucket is -
1163
+ # infinity and the upper bound of the overflow bucket is +infinity. The finite
1164
+ # buckets are so-called because both bounds are finite.BucketOptions describes
1165
+ # bucket boundaries in one of three ways. Two describe the boundaries by giving
1166
+ # parameters for a formula to generate boundaries and one gives the bucket
1167
+ # boundaries explicitly.If bucket_options is not given, then no bucket_counts
1168
+ # may be given.
1169
1169
  class BucketOptions
1170
1170
  include Google::Apis::Core::Hashable
1171
1171
 
1172
1172
  # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
1173
- # with these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): boundsi
1174
- # Lower bound (1 &lt;= i &lt; N); boundsi - 1There must be at least one element
1175
- # in bounds. If bounds has only one element, there are no finite buckets, and
1176
- # that single element is the common boundary of the overflow and underflow
1177
- # buckets.
1173
+ # with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower
1174
+ # bound (1 <= i < N); boundsi - 1There must be at least one element in bounds.
1175
+ # If bounds has only one element, there are no finite buckets, and that single
1176
+ # element is the common boundary of the overflow and underflow buckets.
1178
1177
  # Corresponds to the JSON property `explicitBuckets`
1179
1178
  # @return [Google::Apis::MonitoringV3::Explicit]
1180
1179
  attr_accessor :explicit_buckets
@@ -1182,9 +1181,9 @@ module Google
1182
1181
  # Specify a sequence of buckets that have a width that is proportional to the
1183
1182
  # value of the lower bound. Each bucket represents a constant relative
1184
1183
  # uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (=
1185
- # N) buckets with these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1)
1186
- # : scale * (growth_factor ^ i). Lower bound (1 &lt;= i &lt; N): scale * (
1187
- # growth_factor ^ (i - 1)).
1184
+ # N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1):
1185
+ # scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor
1186
+ # ^ (i - 1)).
1188
1187
  # Corresponds to the JSON property `exponentialBuckets`
1189
1188
  # @return [Google::Apis::MonitoringV3::Exponential]
1190
1189
  attr_accessor :exponential_buckets
@@ -1192,8 +1191,8 @@ module Google
1192
1191
  # Specify a sequence of buckets that all have the same width (except overflow
1193
1192
  # and underflow). Each bucket represents a constant absolute uncertainty on the
1194
1193
  # specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with
1195
- # these boundaries for bucket i:Upper bound (0 &lt;= i &lt; N-1): offset + (
1196
- # width * i). Lower bound (1 &lt;= i &lt; N): offset + (width * (i - 1)).
1194
+ # these boundaries for bucket i:Upper bound (0 <= i < N-1): offset + (width * i).
1195
+ # Lower bound (1 <= i < N): offset + (width * (i - 1)).
1197
1196
  # Corresponds to the JSON property `linearBuckets`
1198
1197
  # @return [Google::Apis::MonitoringV3::Linear]
1199
1198
  attr_accessor :linear_buckets
@@ -1222,8 +1221,7 @@ module Google
1222
1221
  # @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
1223
1222
  attr_accessor :collectd_payloads
1224
1223
 
1225
- # The version of collectd that collected the data. Example: &quot;5.3.0-192.el6&
1226
- # quot;.
1224
+ # The version of collectd that collected the data. Example: "5.3.0-192.el6".
1227
1225
  # Corresponds to the JSON property `collectdVersion`
1228
1226
  # @return [String]
1229
1227
  attr_accessor :collectd_version
@@ -1235,11 +1233,11 @@ module Google
1235
1233
  # Information in the labels field identifies the actual resource and its
1236
1234
  # attributes according to the schema. For example, a particular Compute Engine
1237
1235
  # VM instance could be represented by the following object, because the
1238
- # MonitoredResourceDescriptor for &quot;gce_instance&quot; has labels &quot;
1239
- # instance_id&quot; and &quot;zone&quot;:
1240
- # ` &quot;type&quot;: &quot;gce_instance&quot;,
1241
- # &quot;labels&quot;: ` &quot;instance_id&quot;: &quot;12345678901234&quot;,
1242
- # &quot;zone&quot;: &quot;us-central1-a&quot; ``
1236
+ # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
1237
+ # zone":
1238
+ # ` "type": "gce_instance",
1239
+ # "labels": ` "instance_id": "12345678901234",
1240
+ # "zone": "us-central1-a" ``
1243
1241
  # Corresponds to the JSON property `resource`
1244
1242
  # @return [Google::Apis::MonitoringV3::MonitoredResource]
1245
1243
  attr_accessor :resource
@@ -52,8 +52,8 @@ module Google
52
52
  # caution">This method is only for use by the Stackdriver Monitoring Agent. Use
53
53
  # projects.timeSeries.create instead.</aside>
54
54
  # @param [String] name
55
- # The project in which to create the time series. The format is &quot;projects/
56
- # PROJECT_ID_OR_NUMBER&quot;.
55
+ # The project in which to create the time series. The format is "projects/
56
+ # PROJECT_ID_OR_NUMBER".
57
57
  # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
58
58
  # @param [String] quota_user
59
59
  # Available to use for quota purposes for server-side applications. Can be any
@@ -86,11 +86,10 @@ module Google
86
86
 
87
87
  # Updates an existing group. You can change any group attributes except name.
88
88
  # @param [String] name
89
- # Output only. The name of this group. The format is &quot;projects/`
90
- # project_id_or_number`/groups/`group_id`&quot;. When creating a group, this
91
- # field is ignored and a new name is created consisting of the project specified
92
- # in the call to CreateGroup and a unique `group_id` that is generated
93
- # automatically.
89
+ # Output only. The name of this group. The format is "projects/`
90
+ # project_id_or_number`/groups/`group_id`". When creating a group, this field is
91
+ # ignored and a new name is created consisting of the project specified in the
92
+ # call to CreateGroup and a unique `group_id` that is generated automatically.
94
93
  # @param [Google::Apis::MonitoringV3::Group] group_object
95
94
  # @param [Boolean] validate_only
96
95
  # If true, validate this request but do not update the existing group.
@@ -126,8 +125,8 @@ module Google
126
125
 
127
126
  # Gets a single group.
128
127
  # @param [String] name
129
- # The group to retrieve. The format is &quot;projects/`project_id_or_number`/
130
- # groups/`group_id`&quot;.
128
+ # The group to retrieve. The format is "projects/`project_id_or_number`/groups/`
129
+ # group_id`".
131
130
  # @param [String] quota_user
132
131
  # Available to use for quota purposes for server-side applications. Can be any
133
132
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -157,8 +156,8 @@ module Google
157
156
 
158
157
  # Creates a new group.
159
158
  # @param [String] name
160
- # The project in which to create the group. The format is &quot;projects/`
161
- # project_id_or_number`&quot;.
159
+ # The project in which to create the group. The format is "projects/`
160
+ # project_id_or_number`".
162
161
  # @param [Google::Apis::MonitoringV3::Group] group_object
163
162
  # @param [Boolean] validate_only
164
163
  # If true, validate this request but do not create the group.
@@ -194,25 +193,24 @@ module Google
194
193
 
195
194
  # Lists the existing groups.
196
195
  # @param [String] name
197
- # The project whose groups are to be listed. The format is &quot;projects/`
198
- # project_id_or_number`&quot;.
196
+ # The project whose groups are to be listed. The format is "projects/`
197
+ # project_id_or_number`".
199
198
  # @param [String] descendants_of_group
200
- # A group name: &quot;projects/`project_id_or_number`/groups/`group_id`&quot;.
201
- # Returns the descendants of the specified group. This is a superset of the
202
- # results returned by the childrenOfGroup filter, and includes children-of-
203
- # children, and so forth.
199
+ # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the
200
+ # descendants of the specified group. This is a superset of the results returned
201
+ # by the childrenOfGroup filter, and includes children-of-children, and so forth.
204
202
  # @param [Fixnum] page_size
205
203
  # A positive number that is the maximum number of results to return.
206
204
  # @param [String] children_of_group
207
- # A group name: &quot;projects/`project_id_or_number`/groups/`group_id`&quot;.
208
- # Returns groups whose parentName field contains the group name. If no groups
209
- # have this parent, the results are empty.
205
+ # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
206
+ # groups whose parentName field contains the group name. If no groups have this
207
+ # parent, the results are empty.
210
208
  # @param [String] ancestors_of_group
211
- # A group name: &quot;projects/`project_id_or_number`/groups/`group_id`&quot;.
212
- # Returns groups that are ancestors of the specified group. The groups are
213
- # returned in order, starting with the immediate parent and ending with the most
214
- # distant ancestor. If the specified group has no immediate parent, the results
215
- # are empty.
209
+ # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
210
+ # groups that are ancestors of the specified group. The groups are returned in
211
+ # order, starting with the immediate parent and ending with the most distant
212
+ # ancestor. If the specified group has no immediate parent, the results are
213
+ # empty.
216
214
  # @param [String] page_token
217
215
  # If this field is not empty then it must contain the nextPageToken value
218
216
  # returned by a previous call to this method. Using this field causes the method
@@ -251,8 +249,8 @@ module Google
251
249
 
252
250
  # Deletes an existing group.
253
251
  # @param [String] name
254
- # The group to delete. The format is &quot;projects/`project_id_or_number`/
255
- # groups/`group_id`&quot;.
252
+ # The group to delete. The format is "projects/`project_id_or_number`/groups/`
253
+ # group_id`".
256
254
  # @param [String] quota_user
257
255
  # Available to use for quota purposes for server-side applications. Can be any
258
256
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -282,15 +280,14 @@ module Google
282
280
 
283
281
  # Lists the monitored resources that are members of a group.
284
282
  # @param [String] name
285
- # The group whose members are listed. The format is &quot;projects/`
286
- # project_id_or_number`/groups/`group_id`&quot;.
283
+ # The group whose members are listed. The format is "projects/`
284
+ # project_id_or_number`/groups/`group_id`".
287
285
  # @param [String] filter
288
- # An optional list filter (/monitoring/api/learn_more#filtering) describing the
289
- # members to be returned. The filter may reference the type, labels, and
290
- # metadata of monitored resources that comprise the group. For example, to
291
- # return only resources representing Compute Engine VM instances, use this
292
- # filter:
293
- # resource.type = &quot;gce_instance&quot;
286
+ # An optional list filter describing the members to be returned. The filter may
287
+ # reference the type, labels, and metadata of monitored resources that comprise
288
+ # the group. For example, to return only resources representing Compute Engine
289
+ # VM instances, use this filter:
290
+ # resource.type = "gce_instance"
294
291
  # @param [String] interval_end_time
295
292
  # Required. The end of the time interval.
296
293
  # @param [String] interval_start_time
@@ -337,10 +334,9 @@ module Google
337
334
  # Gets a single metric descriptor. This method does not require a Stackdriver
338
335
  # account.
339
336
  # @param [String] name
340
- # The metric descriptor on which to execute the request. The format is &quot;
341
- # projects/`project_id_or_number`/metricDescriptors/`metric_id`&quot;. An
342
- # example value of `metric_id` is &quot;compute.googleapis.com/instance/disk/
343
- # read_bytes_count&quot;.
337
+ # The metric descriptor on which to execute the request. The format is "projects/
338
+ # `project_id_or_number`/metricDescriptors/`metric_id`". An example value of `
339
+ # metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count".
344
340
  # @param [String] quota_user
345
341
  # Available to use for quota purposes for server-side applications. Can be any
346
342
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -369,10 +365,10 @@ module Google
369
365
  end
370
366
 
371
367
  # Creates a new metric descriptor. User-created metric descriptors define custom
372
- # metrics (/monitoring/custom-metrics).
368
+ # metrics.
373
369
  # @param [String] name
374
- # The project on which to execute the request. The format is &quot;projects/`
375
- # project_id_or_number`&quot;.
370
+ # The project on which to execute the request. The format is "projects/`
371
+ # project_id_or_number`".
376
372
  # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
377
373
  # @param [String] quota_user
378
374
  # Available to use for quota purposes for server-side applications. Can be any
@@ -406,16 +402,15 @@ module Google
406
402
  # Lists metric descriptors that match a filter. This method does not require a
407
403
  # Stackdriver account.
408
404
  # @param [String] name
409
- # The project on which to execute the request. The format is &quot;projects/`
410
- # project_id_or_number`&quot;.
405
+ # The project on which to execute the request. The format is "projects/`
406
+ # project_id_or_number`".
411
407
  # @param [Fixnum] page_size
412
408
  # A positive number that is the maximum number of results to return.
413
409
  # @param [String] filter
414
410
  # If this field is empty, all custom and system-defined metric descriptors are
415
- # returned. Otherwise, the filter (/monitoring/api/v3/filters) specifies which
416
- # metric descriptors are to be returned. For example, the following filter
417
- # matches all custom metrics (/monitoring/custom-metrics):
418
- # metric.type = starts_with(&quot;custom.googleapis.com/&quot;)
411
+ # returned. Otherwise, the filter specifies which metric descriptors are to be
412
+ # returned. For example, the following filter matches all custom metrics:
413
+ # metric.type = starts_with("custom.googleapis.com/")
419
414
  # @param [String] page_token
420
415
  # If this field is not empty then it must contain the nextPageToken value
421
416
  # returned by a previous call to this method. Using this field causes the method
@@ -450,12 +445,11 @@ module Google
450
445
  execute_or_queue_command(command, &block)
451
446
  end
452
447
 
453
- # Deletes a metric descriptor. Only user-created custom metrics (/monitoring/
454
- # custom-metrics) can be deleted.
448
+ # Deletes a metric descriptor. Only user-created custom metrics can be deleted.
455
449
  # @param [String] name
456
- # The metric descriptor on which to execute the request. The format is &quot;
457
- # projects/`project_id_or_number`/metricDescriptors/`metric_id`&quot;. An
458
- # example of `metric_id` is: &quot;custom.googleapis.com/my_test_metric&quot;.
450
+ # The metric descriptor on which to execute the request. The format is "projects/
451
+ # `project_id_or_number`/metricDescriptors/`metric_id`". An example of `
452
+ # metric_id` is: "custom.googleapis.com/my_test_metric".
459
453
  # @param [String] quota_user
460
454
  # Available to use for quota purposes for server-side applications. Can be any
461
455
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -487,8 +481,8 @@ module Google
487
481
  # time series in the request were written. If any time series could not be
488
482
  # written, a corresponding failure message is included in the error response.
489
483
  # @param [String] name
490
- # The project on which to execute the request. The format is &quot;projects/`
491
- # project_id_or_number`&quot;.
484
+ # The project on which to execute the request. The format is "projects/`
485
+ # project_id_or_number`".
492
486
  # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
493
487
  # @param [String] quota_user
494
488
  # Available to use for quota purposes for server-side applications. Can be any
@@ -525,21 +519,23 @@ module Google
525
519
  # The project on which to execute the request. The format is "projects/`
526
520
  # project_id_or_number`".
527
521
  # @param [String] filter
528
- # A monitoring filter (/monitoring/api/v3/filters) that specifies which time
529
- # series should be returned. The filter must specify a single metric type, and
530
- # can additionally specify metric labels and other information. For example:
531
- # metric.type = &quot;compute.googleapis.com/instance/cpu/usage_time&quot; AND
532
- # metric.label.instance_name = &quot;my-instance-name&quot;
522
+ # A monitoring filter that specifies which time series should be returned. The
523
+ # filter must specify a single metric type, and can additionally specify metric
524
+ # labels and other information. For example:
525
+ # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
526
+ # metric.label.instance_name = "my-instance-name"
533
527
  # @param [Array<String>, String] aggregation_group_by_fields
534
528
  # The set of fields to preserve when crossSeriesReducer is specified. The
535
529
  # groupByFields determine how the time series are partitioned into subsets prior
536
530
  # to applying the aggregation function. Each subset contains time series that
537
531
  # have the same value for each of the grouping fields. Each individual time
538
532
  # series is a member of exactly one subset. The crossSeriesReducer is applied to
539
- # each subset of time series. Fields not specified in groupByFields are
540
- # aggregated away. If groupByFields is not specified, the time series are
541
- # aggregated into a single output time series. If crossSeriesReducer is not
542
- # defined, this field is ignored.
533
+ # each subset of time series. It is not possible to reduce across different
534
+ # resource types, so this field implicitly contains resource.type. Fields not
535
+ # specified in groupByFields are aggregated away. If groupByFields is not
536
+ # specified and all the time series have the same resource type, then the time
537
+ # series are aggregated into a single output time series. If crossSeriesReducer
538
+ # is not defined, this field is ignored.
543
539
  # @param [String] aggregation_cross_series_reducer
544
540
  # The approach to be used to combine time series. Not all reducer functions may
545
541
  # be applied to all time series, depending on the metric type and the value type
@@ -622,8 +618,8 @@ module Google
622
618
  # Gets a single monitored resource descriptor. This method does not require a
623
619
  # Stackdriver account.
624
620
  # @param [String] name
625
- # The monitored resource descriptor to get. The format is &quot;projects/`
626
- # project_id_or_number`/monitoredResourceDescriptors/`resource_type`&quot;. The `
621
+ # The monitored resource descriptor to get. The format is "projects/`
622
+ # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The `
627
623
  # resource_type` is a predefined type, such as cloudsql_database.
628
624
  # @param [String] quota_user
629
625
  # Available to use for quota purposes for server-side applications. Can be any
@@ -655,16 +651,15 @@ module Google
655
651
  # Lists monitored resource descriptors that match a filter. This method does not
656
652
  # require a Stackdriver account.
657
653
  # @param [String] name
658
- # The project on which to execute the request. The format is &quot;projects/`
659
- # project_id_or_number`&quot;.
654
+ # The project on which to execute the request. The format is "projects/`
655
+ # project_id_or_number`".
660
656
  # @param [Fixnum] page_size
661
657
  # A positive number that is the maximum number of results to return.
662
658
  # @param [String] filter
663
- # An optional filter (/monitoring/api/v3/filters) describing the descriptors to
664
- # be returned. The filter can reference the descriptor's type and labels. For
665
- # example, the following filter returns only Google Compute Engine descriptors
666
- # that have an id label:
667
- # resource.type = starts_with(&quot;gce_&quot;) AND resource.label:id
659
+ # An optional filter describing the descriptors to be returned. The filter can
660
+ # reference the descriptor's type and labels. For example, the following filter
661
+ # returns only Google Compute Engine descriptors that have an id label:
662
+ # resource.type = starts_with("gce_") AND resource.label:id
668
663
  # @param [String] page_token
669
664
  # If this field is not empty then it must contain the nextPageToken value
670
665
  # returned by a previous call to this method. Using this field causes the method