google-api-client 0.13.4 → 0.13.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +4 -3
  5. data/generated/google/apis/admin_directory_v1.rb +1 -1
  6. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  7. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  8. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +33 -0
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +16 -0
  12. data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +10 -1
  17. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  18. data/generated/google/apis/cloudkms_v1.rb +1 -1
  19. data/generated/google/apis/cloudkms_v1/classes.rb +6 -253
  20. data/generated/google/apis/cloudkms_v1/representations.rb +1 -99
  21. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  22. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  23. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  24. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  25. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  26. data/generated/google/apis/cloudtrace_v2/classes.rb +12 -6
  27. data/generated/google/apis/cloudtrace_v2/representations.rb +2 -1
  28. data/generated/google/apis/container_v1.rb +1 -1
  29. data/generated/google/apis/container_v1/classes.rb +72 -15
  30. data/generated/google/apis/container_v1/representations.rb +7 -0
  31. data/generated/google/apis/container_v1beta1.rb +1 -1
  32. data/generated/google/apis/container_v1beta1/classes.rb +58 -15
  33. data/generated/google/apis/container_v1beta1/representations.rb +5 -0
  34. data/generated/google/apis/content_v2.rb +1 -1
  35. data/generated/google/apis/content_v2/classes.rb +16 -0
  36. data/generated/google/apis/content_v2/representations.rb +3 -0
  37. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  38. data/generated/google/apis/dataflow_v1b3/classes.rb +87 -0
  39. data/generated/google/apis/dataflow_v1b3/representations.rb +46 -0
  40. data/generated/google/apis/datastore_v1beta1.rb +38 -0
  41. data/generated/google/apis/datastore_v1beta1/classes.rb +567 -0
  42. data/generated/google/apis/datastore_v1beta1/representations.rb +191 -0
  43. data/generated/google/apis/datastore_v1beta1/service.rb +137 -0
  44. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  46. data/generated/google/apis/dlp_v2beta1/classes.rb +1 -1
  47. data/generated/google/apis/dlp_v2beta1/service.rb +142 -7
  48. data/generated/google/apis/dns_v2beta1.rb +1 -1
  49. data/generated/google/apis/drive_v2.rb +1 -1
  50. data/generated/google/apis/drive_v2/classes.rb +6 -0
  51. data/generated/google/apis/drive_v2/representations.rb +1 -0
  52. data/generated/google/apis/drive_v2/service.rb +6 -6
  53. data/generated/google/apis/drive_v3.rb +1 -1
  54. data/generated/google/apis/drive_v3/classes.rb +6 -0
  55. data/generated/google/apis/drive_v3/representations.rb +1 -0
  56. data/generated/google/apis/drive_v3/service.rb +6 -6
  57. data/generated/google/apis/firebaseremoteconfig_v1.rb +32 -0
  58. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +180 -0
  59. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +87 -0
  60. data/generated/google/apis/firebaseremoteconfig_v1/service.rb +153 -0
  61. data/generated/google/apis/games_management_v1management.rb +1 -1
  62. data/generated/google/apis/gmail_v1.rb +1 -1
  63. data/generated/google/apis/logging_v2.rb +1 -1
  64. data/generated/google/apis/logging_v2/classes.rb +444 -18
  65. data/generated/google/apis/logging_v2/representations.rb +119 -0
  66. data/generated/google/apis/logging_v2/service.rb +808 -1
  67. data/generated/google/apis/logging_v2beta1.rb +1 -1
  68. data/generated/google/apis/logging_v2beta1/classes.rb +367 -18
  69. data/generated/google/apis/logging_v2beta1/representations.rb +88 -0
  70. data/generated/google/apis/logging_v2beta1/service.rb +4 -1
  71. data/generated/google/apis/ml_v1.rb +1 -1
  72. data/generated/google/apis/ml_v1/classes.rb +1 -254
  73. data/generated/google/apis/ml_v1/representations.rb +0 -99
  74. data/generated/google/apis/monitoring_v3.rb +1 -1
  75. data/generated/google/apis/monitoring_v3/classes.rb +213 -0
  76. data/generated/google/apis/monitoring_v3/representations.rb +61 -0
  77. data/generated/google/apis/monitoring_v3/service.rb +4 -4
  78. data/generated/google/apis/people_v1.rb +1 -1
  79. data/generated/google/apis/people_v1/classes.rb +37 -0
  80. data/generated/google/apis/people_v1/representations.rb +18 -0
  81. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  82. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  83. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  84. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  85. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +4 -4
  86. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  87. data/generated/google/apis/servicecontrol_v1/classes.rb +13 -3
  88. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  89. data/generated/google/apis/slides_v1.rb +1 -1
  90. data/generated/google/apis/slides_v1/classes.rb +10 -1
  91. data/generated/google/apis/speech_v1.rb +1 -1
  92. data/generated/google/apis/speech_v1/classes.rb +1 -1
  93. data/generated/google/apis/speech_v1beta1.rb +1 -1
  94. data/generated/google/apis/speech_v1beta1/classes.rb +1 -1
  95. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  96. data/generated/google/apis/storagetransfer_v1/classes.rb +5 -3
  97. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  98. data/generated/google/apis/toolresults_v1beta3/service.rb +48 -0
  99. data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
  100. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +48 -0
  101. data/generated/google/apis/vault_v1.rb +1 -1
  102. data/generated/google/apis/vault_v1/classes.rb +2 -2
  103. data/generated/google/apis/vault_v1/service.rb +2 -2
  104. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  105. data/generated/google/apis/youtube_partner_v1/classes.rb +137 -0
  106. data/generated/google/apis/youtube_partner_v1/representations.rb +62 -0
  107. data/generated/google/apis/youtube_partner_v1/service.rb +80 -0
  108. data/lib/google/apis/version.rb +1 -1
  109. metadata +10 -2
@@ -154,24 +154,6 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class GoogleIamV1LogConfigCloudAuditOptions
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class GoogleIamV1LogConfigCounterOptions
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
- class GoogleIamV1LogConfigDataAccessOptions
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
157
  class GoogleIamV1AuditConfig
176
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
159
 
@@ -190,30 +172,12 @@ module Google
190
172
  include Google::Apis::Core::JsonObjectSupport
191
173
  end
192
174
 
193
- class GoogleIamV1Condition
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
- class GoogleIamV1LogConfig
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
175
  class GoogleIamV1Policy
206
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
177
 
208
178
  include Google::Apis::Core::JsonObjectSupport
209
179
  end
210
180
 
211
- class GoogleIamV1Rule
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
181
  class GoogleIamV1SetIamPolicyRequest
218
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
183
 
@@ -507,28 +471,6 @@ module Google
507
471
  end
508
472
  end
509
473
 
510
- class GoogleIamV1LogConfigCloudAuditOptions
511
- # @private
512
- class Representation < Google::Apis::Core::JsonRepresentation
513
- property :log_name, as: 'logName'
514
- end
515
- end
516
-
517
- class GoogleIamV1LogConfigCounterOptions
518
- # @private
519
- class Representation < Google::Apis::Core::JsonRepresentation
520
- property :field, as: 'field'
521
- property :metric, as: 'metric'
522
- end
523
- end
524
-
525
- class GoogleIamV1LogConfigDataAccessOptions
526
- # @private
527
- class Representation < Google::Apis::Core::JsonRepresentation
528
- property :log_mode, as: 'logMode'
529
- end
530
- end
531
-
532
474
  class GoogleIamV1AuditConfig
533
475
  # @private
534
476
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -557,30 +499,6 @@ module Google
557
499
  end
558
500
  end
559
501
 
560
- class GoogleIamV1Condition
561
- # @private
562
- class Representation < Google::Apis::Core::JsonRepresentation
563
- property :iam, as: 'iam'
564
- property :op, as: 'op'
565
- property :svc, as: 'svc'
566
- property :sys, as: 'sys'
567
- property :value, as: 'value'
568
- collection :values, as: 'values'
569
- end
570
- end
571
-
572
- class GoogleIamV1LogConfig
573
- # @private
574
- class Representation < Google::Apis::Core::JsonRepresentation
575
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigCloudAuditOptions::Representation
576
-
577
- property :counter, as: 'counter', class: Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigCounterOptions::Representation
578
-
579
- property :data_access, as: 'dataAccess', class: Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions, decorator: Google::Apis::MlV1::GoogleIamV1LogConfigDataAccessOptions::Representation
580
-
581
- end
582
- end
583
-
584
502
  class GoogleIamV1Policy
585
503
  # @private
586
504
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -590,27 +508,10 @@ module Google
590
508
 
591
509
  property :etag, :base64 => true, as: 'etag'
592
510
  property :iam_owned, as: 'iamOwned'
593
- collection :rules, as: 'rules', class: Google::Apis::MlV1::GoogleIamV1Rule, decorator: Google::Apis::MlV1::GoogleIamV1Rule::Representation
594
-
595
511
  property :version, as: 'version'
596
512
  end
597
513
  end
598
514
 
599
- class GoogleIamV1Rule
600
- # @private
601
- class Representation < Google::Apis::Core::JsonRepresentation
602
- property :action, as: 'action'
603
- collection :conditions, as: 'conditions', class: Google::Apis::MlV1::GoogleIamV1Condition, decorator: Google::Apis::MlV1::GoogleIamV1Condition::Representation
604
-
605
- property :description, as: 'description'
606
- collection :in, as: 'in'
607
- collection :log_config, as: 'logConfig', class: Google::Apis::MlV1::GoogleIamV1LogConfig, decorator: Google::Apis::MlV1::GoogleIamV1LogConfig::Representation
608
-
609
- collection :not_in, as: 'notIn'
610
- collection :permissions, as: 'permissions'
611
- end
612
- end
613
-
614
515
  class GoogleIamV1SetIamPolicyRequest
615
516
  # @private
616
517
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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 = '20170806'
30
+ REVISION = '20170830'
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'
@@ -143,6 +143,72 @@ module Google
143
143
  end
144
144
  end
145
145
 
146
+ # Describes the error status for payloads that were not written.
147
+ class CollectdPayloadError
148
+ include Google::Apis::Core::Hashable
149
+
150
+ # The Status type defines a logical error model that is suitable for different
151
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
152
+ # (https://github.com/grpc). The error model is designed to be:
153
+ # Simple to use and understand for most users
154
+ # Flexible enough to meet unexpected needsOverviewThe Status message contains
155
+ # three pieces of data: error code, error message, and error details. The error
156
+ # code should be an enum value of google.rpc.Code, but it may accept additional
157
+ # error codes if needed. The error message should be a developer-facing English
158
+ # message that helps developers understand and resolve the error. If a localized
159
+ # user-facing error message is needed, put the localized message in the error
160
+ # details or localize it in the client. The optional error details may contain
161
+ # arbitrary information about the error. There is a predefined set of error
162
+ # detail types in the package google.rpc that can be used for common error
163
+ # conditions.Language mappingThe Status message is the logical representation of
164
+ # the error model, but it is not necessarily the actual wire format. When the
165
+ # Status message is exposed in different client libraries and different wire
166
+ # protocols, it can be mapped differently. For example, it will likely be mapped
167
+ # to some exceptions in Java, but more likely mapped to some error codes in C.
168
+ # Other usesThe error model and the Status message can be used in a variety of
169
+ # environments, either with or without APIs, to provide a consistent developer
170
+ # experience across different environments.Example uses of this error model
171
+ # include:
172
+ # Partial errors. If a service needs to return partial errors to the client, it
173
+ # may embed the Status in the normal response to indicate the partial errors.
174
+ # Workflow errors. A typical workflow has multiple steps. Each step may have a
175
+ # Status message for error reporting.
176
+ # Batch operations. If a client uses batch request and batch response, the
177
+ # Status message should be used directly inside batch response, one for each
178
+ # error sub-response.
179
+ # Asynchronous operations. If an API call embeds asynchronous operation results
180
+ # in its response, the status of those operations should be represented directly
181
+ # using the Status message.
182
+ # Logging. If some API errors are stored in logs, the message Status could be
183
+ # used directly after any stripping needed for security/privacy reasons.
184
+ # Corresponds to the JSON property `error`
185
+ # @return [Google::Apis::MonitoringV3::Status]
186
+ attr_accessor :error
187
+
188
+ # The zero-based index in CreateCollectdTimeSeriesRequest.collectd_payloads.
189
+ # Corresponds to the JSON property `index`
190
+ # @return [Fixnum]
191
+ attr_accessor :index
192
+
193
+ # Records the error status for values that were not written due to an error.
194
+ # Failed payloads for which nothing is written will not include partial value
195
+ # errors.
196
+ # Corresponds to the JSON property `valueErrors`
197
+ # @return [Array<Google::Apis::MonitoringV3::CollectdValueError>]
198
+ attr_accessor :value_errors
199
+
200
+ def initialize(**args)
201
+ update!(**args)
202
+ end
203
+
204
+ # Update properties of this object
205
+ def update!(**args)
206
+ @error = args[:error] if args.key?(:error)
207
+ @index = args[:index] if args.key?(:index)
208
+ @value_errors = args[:value_errors] if args.key?(:value_errors)
209
+ end
210
+ end
211
+
146
212
  # A single data point from a collectd-based plugin.
147
213
  class CollectdValue
148
214
  include Google::Apis::Core::Hashable
@@ -175,6 +241,65 @@ module Google
175
241
  end
176
242
  end
177
243
 
244
+ # Describes the error status for values that were not written.
245
+ class CollectdValueError
246
+ include Google::Apis::Core::Hashable
247
+
248
+ # The Status type defines a logical error model that is suitable for different
249
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
250
+ # (https://github.com/grpc). The error model is designed to be:
251
+ # Simple to use and understand for most users
252
+ # Flexible enough to meet unexpected needsOverviewThe Status message contains
253
+ # three pieces of data: error code, error message, and error details. The error
254
+ # code should be an enum value of google.rpc.Code, but it may accept additional
255
+ # error codes if needed. The error message should be a developer-facing English
256
+ # message that helps developers understand and resolve the error. If a localized
257
+ # user-facing error message is needed, put the localized message in the error
258
+ # details or localize it in the client. The optional error details may contain
259
+ # arbitrary information about the error. There is a predefined set of error
260
+ # detail types in the package google.rpc that can be used for common error
261
+ # conditions.Language mappingThe Status message is the logical representation of
262
+ # the error model, but it is not necessarily the actual wire format. When the
263
+ # Status message is exposed in different client libraries and different wire
264
+ # protocols, it can be mapped differently. For example, it will likely be mapped
265
+ # to some exceptions in Java, but more likely mapped to some error codes in C.
266
+ # Other usesThe error model and the Status message can be used in a variety of
267
+ # environments, either with or without APIs, to provide a consistent developer
268
+ # experience across different environments.Example uses of this error model
269
+ # include:
270
+ # Partial errors. If a service needs to return partial errors to the client, it
271
+ # may embed the Status in the normal response to indicate the partial errors.
272
+ # Workflow errors. A typical workflow has multiple steps. Each step may have a
273
+ # Status message for error reporting.
274
+ # Batch operations. If a client uses batch request and batch response, the
275
+ # Status message should be used directly inside batch response, one for each
276
+ # error sub-response.
277
+ # Asynchronous operations. If an API call embeds asynchronous operation results
278
+ # in its response, the status of those operations should be represented directly
279
+ # using the Status message.
280
+ # Logging. If some API errors are stored in logs, the message Status could be
281
+ # used directly after any stripping needed for security/privacy reasons.
282
+ # Corresponds to the JSON property `error`
283
+ # @return [Google::Apis::MonitoringV3::Status]
284
+ attr_accessor :error
285
+
286
+ # The zero-based index in CollectdPayload.values within the parent
287
+ # CreateCollectdTimeSeriesRequest.collectd_payloads.
288
+ # Corresponds to the JSON property `index`
289
+ # @return [Fixnum]
290
+ attr_accessor :index
291
+
292
+ def initialize(**args)
293
+ update!(**args)
294
+ end
295
+
296
+ # Update properties of this object
297
+ def update!(**args)
298
+ @error = args[:error] if args.key?(:error)
299
+ @index = args[:index] if args.key?(:index)
300
+ end
301
+ end
302
+
178
303
  # The CreateCollectdTimeSeries request.
179
304
  class CreateCollectdTimeSeriesRequest
180
305
  include Google::Apis::Core::Hashable
@@ -220,6 +345,27 @@ module Google
220
345
  end
221
346
  end
222
347
 
348
+ # The CreateCollectdTimeSeries response.
349
+ class CreateCollectdTimeSeriesResponse
350
+ include Google::Apis::Core::Hashable
351
+
352
+ # Records the error status for points that were not written due to an error.
353
+ # Failed requests for which nothing is written will return an error response
354
+ # instead.
355
+ # Corresponds to the JSON property `payloadErrors`
356
+ # @return [Array<Google::Apis::MonitoringV3::CollectdPayloadError>]
357
+ attr_accessor :payload_errors
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @payload_errors = args[:payload_errors] if args.key?(:payload_errors)
366
+ end
367
+ end
368
+
223
369
  # The CreateTimeSeries request.
224
370
  class CreateTimeSeriesRequest
225
371
  include Google::Apis::Core::Hashable
@@ -1122,6 +1268,73 @@ module Google
1122
1268
  end
1123
1269
  end
1124
1270
 
1271
+ # The Status type defines a logical error model that is suitable for different
1272
+ # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1273
+ # (https://github.com/grpc). The error model is designed to be:
1274
+ # Simple to use and understand for most users
1275
+ # Flexible enough to meet unexpected needsOverviewThe Status message contains
1276
+ # three pieces of data: error code, error message, and error details. The error
1277
+ # code should be an enum value of google.rpc.Code, but it may accept additional
1278
+ # error codes if needed. The error message should be a developer-facing English
1279
+ # message that helps developers understand and resolve the error. If a localized
1280
+ # user-facing error message is needed, put the localized message in the error
1281
+ # details or localize it in the client. The optional error details may contain
1282
+ # arbitrary information about the error. There is a predefined set of error
1283
+ # detail types in the package google.rpc that can be used for common error
1284
+ # conditions.Language mappingThe Status message is the logical representation of
1285
+ # the error model, but it is not necessarily the actual wire format. When the
1286
+ # Status message is exposed in different client libraries and different wire
1287
+ # protocols, it can be mapped differently. For example, it will likely be mapped
1288
+ # to some exceptions in Java, but more likely mapped to some error codes in C.
1289
+ # Other usesThe error model and the Status message can be used in a variety of
1290
+ # environments, either with or without APIs, to provide a consistent developer
1291
+ # experience across different environments.Example uses of this error model
1292
+ # include:
1293
+ # Partial errors. If a service needs to return partial errors to the client, it
1294
+ # may embed the Status in the normal response to indicate the partial errors.
1295
+ # Workflow errors. A typical workflow has multiple steps. Each step may have a
1296
+ # Status message for error reporting.
1297
+ # Batch operations. If a client uses batch request and batch response, the
1298
+ # Status message should be used directly inside batch response, one for each
1299
+ # error sub-response.
1300
+ # Asynchronous operations. If an API call embeds asynchronous operation results
1301
+ # in its response, the status of those operations should be represented directly
1302
+ # using the Status message.
1303
+ # Logging. If some API errors are stored in logs, the message Status could be
1304
+ # used directly after any stripping needed for security/privacy reasons.
1305
+ class Status
1306
+ include Google::Apis::Core::Hashable
1307
+
1308
+ # The status code, which should be an enum value of google.rpc.Code.
1309
+ # Corresponds to the JSON property `code`
1310
+ # @return [Fixnum]
1311
+ attr_accessor :code
1312
+
1313
+ # A list of messages that carry the error details. There is a common set of
1314
+ # message types for APIs to use.
1315
+ # Corresponds to the JSON property `details`
1316
+ # @return [Array<Hash<String,Object>>]
1317
+ attr_accessor :details
1318
+
1319
+ # A developer-facing error message, which should be in English. Any user-facing
1320
+ # error message should be localized and sent in the google.rpc.Status.details
1321
+ # field, or localized by the client.
1322
+ # Corresponds to the JSON property `message`
1323
+ # @return [String]
1324
+ attr_accessor :message
1325
+
1326
+ def initialize(**args)
1327
+ update!(**args)
1328
+ end
1329
+
1330
+ # Update properties of this object
1331
+ def update!(**args)
1332
+ @code = args[:code] if args.key?(:code)
1333
+ @details = args[:details] if args.key?(:details)
1334
+ @message = args[:message] if args.key?(:message)
1335
+ end
1336
+ end
1337
+
1125
1338
  # A time interval extending just after a start time through an end time. If the
1126
1339
  # start time is the same as the end time, then the interval represents a single
1127
1340
  # point in time.
@@ -34,18 +34,36 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class CollectdPayloadError
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class CollectdValue
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class CollectdValueError
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class CreateCollectdTimeSeriesRequest
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class CreateCollectdTimeSeriesResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
49
67
  class CreateTimeSeriesRequest
50
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
69
 
@@ -178,6 +196,12 @@ module Google
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class Status
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
181
205
  class TimeInterval
182
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
207
 
@@ -230,6 +254,17 @@ module Google
230
254
  end
231
255
  end
232
256
 
257
+ class CollectdPayloadError
258
+ # @private
259
+ class Representation < Google::Apis::Core::JsonRepresentation
260
+ property :error, as: 'error', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
261
+
262
+ property :index, as: 'index'
263
+ collection :value_errors, as: 'valueErrors', class: Google::Apis::MonitoringV3::CollectdValueError, decorator: Google::Apis::MonitoringV3::CollectdValueError::Representation
264
+
265
+ end
266
+ end
267
+
233
268
  class CollectdValue
234
269
  # @private
235
270
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -240,6 +275,15 @@ module Google
240
275
  end
241
276
  end
242
277
 
278
+ class CollectdValueError
279
+ # @private
280
+ class Representation < Google::Apis::Core::JsonRepresentation
281
+ property :error, as: 'error', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
282
+
283
+ property :index, as: 'index'
284
+ end
285
+ end
286
+
243
287
  class CreateCollectdTimeSeriesRequest
244
288
  # @private
245
289
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -251,6 +295,14 @@ module Google
251
295
  end
252
296
  end
253
297
 
298
+ class CreateCollectdTimeSeriesResponse
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ collection :payload_errors, as: 'payloadErrors', class: Google::Apis::MonitoringV3::CollectdPayloadError, decorator: Google::Apis::MonitoringV3::CollectdPayloadError::Representation
302
+
303
+ end
304
+ end
305
+
254
306
  class CreateTimeSeriesRequest
255
307
  # @private
256
308
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -463,6 +515,15 @@ module Google
463
515
  end
464
516
  end
465
517
 
518
+ class Status
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :code, as: 'code'
522
+ collection :details, as: 'details'
523
+ property :message, as: 'message'
524
+ end
525
+ end
526
+
466
527
  class TimeInterval
467
528
  # @private
468
529
  class Representation < Google::Apis::Core::JsonRepresentation