google-api-client 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -8
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +28 -184
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +56 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +18 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +116 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +2 -0
- data/generated/google/apis/cloudtrace_v1.rb +4 -5
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -4
- data/generated/google/apis/cloudtrace_v2.rb +4 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +18 -16
- data/generated/google/apis/cloudtrace_v2/service.rb +13 -16
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +335 -1
- data/generated/google/apis/container_v1beta1/representations.rb +107 -0
- data/generated/google/apis/container_v1beta1/service.rb +482 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +6 -3
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +8 -5
- data/generated/google/apis/dfareporting_v3_0.rb +40 -0
- data/generated/google/apis/dfareporting_v3_0/classes.rb +12117 -0
- data/generated/google/apis/dfareporting_v3_0/representations.rb +4336 -0
- data/generated/google/apis/dfareporting_v3_0/service.rb +9108 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +9 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +76 -3
- data/generated/google/apis/ml_v1/representations.rb +7 -0
- data/generated/google/apis/ml_v1/service.rb +53 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -5
- data/generated/google/apis/oslogin_v1alpha.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +2 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +2 -0
- data/generated/google/apis/people_v1/service.rb +0 -4
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +5 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -8
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -8
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +13 -14
- data/generated/google/apis/spanner_v1/service.rb +13 -13
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +70 -9
- data/generated/google/apis/tagmanager_v1/representations.rb +22 -3
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +7 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +434 -434
- data/generated/google/apis/vision_v1/representations.rb +178 -178
- data/generated/google/apis/vision_v1/service.rb +8 -8
- data/generated/google/apis/vision_v1p1beta1.rb +39 -0
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1800 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +728 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com/docs/dynamic-links/
|
|
26
26
|
module FirebasedynamiclinksV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171108'
|
|
29
29
|
|
|
30
30
|
# View and administer all your Firebase data and settings
|
|
31
31
|
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
|
@@ -186,6 +186,14 @@ module Google
|
|
|
186
186
|
# @return [String]
|
|
187
187
|
attr_accessor :language_code
|
|
188
188
|
|
|
189
|
+
# Device language code raw setting.
|
|
190
|
+
# iOS does returns language code in different format than iOS WebView.
|
|
191
|
+
# For example WebView returns en_US, but iOS returns en-US.
|
|
192
|
+
# Field below will return raw value returned by iOS.
|
|
193
|
+
# Corresponds to the JSON property `languageCodeRaw`
|
|
194
|
+
# @return [String]
|
|
195
|
+
attr_accessor :language_code_raw
|
|
196
|
+
|
|
189
197
|
# Device display resolution height.
|
|
190
198
|
# Corresponds to the JSON property `screenResolutionHeight`
|
|
191
199
|
# @return [Fixnum]
|
|
@@ -209,6 +217,7 @@ module Google
|
|
|
209
217
|
def update!(**args)
|
|
210
218
|
@device_model_name = args[:device_model_name] if args.key?(:device_model_name)
|
|
211
219
|
@language_code = args[:language_code] if args.key?(:language_code)
|
|
220
|
+
@language_code_raw = args[:language_code_raw] if args.key?(:language_code_raw)
|
|
212
221
|
@screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height)
|
|
213
222
|
@screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width)
|
|
214
223
|
@timezone = args[:timezone] if args.key?(:timezone)
|
|
@@ -183,6 +183,7 @@ module Google
|
|
|
183
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
184
184
|
property :device_model_name, as: 'deviceModelName'
|
|
185
185
|
property :language_code, as: 'languageCode'
|
|
186
|
+
property :language_code_raw, as: 'languageCodeRaw'
|
|
186
187
|
property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight'
|
|
187
188
|
property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth'
|
|
188
189
|
property :timezone, as: 'timezone'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/firestore
|
|
26
26
|
module FirestoreV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171107'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -522,6 +522,7 @@ module Google
|
|
|
522
522
|
|
|
523
523
|
# The list of transformations to apply to the fields of the document, in
|
|
524
524
|
# order.
|
|
525
|
+
# This must not be empty.
|
|
525
526
|
# Corresponds to the JSON property `fieldTransforms`
|
|
526
527
|
# @return [Array<Google::Apis::FirestoreV1beta1::FieldTransform>]
|
|
527
528
|
attr_accessor :field_transforms
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171105'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -297,11 +297,32 @@ module Google
|
|
|
297
297
|
# @return [String]
|
|
298
298
|
attr_accessor :error_message
|
|
299
299
|
|
|
300
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
|
301
|
+
# prevent simultaneous updates of a job from overwriting each other.
|
|
302
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
|
303
|
+
# read-modify-write cycle to perform job updates in order to avoid race
|
|
304
|
+
# conditions: An `etag` is returned in the response to `GetJob`, and
|
|
305
|
+
# systems are expected to put that etag in the request to `UpdateJob` to
|
|
306
|
+
# ensure that their change will be applied to the same version of the job.
|
|
307
|
+
# Corresponds to the JSON property `etag`
|
|
308
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
309
|
+
# @return [String]
|
|
310
|
+
attr_accessor :etag
|
|
311
|
+
|
|
300
312
|
# Required. The user-specified id of the job.
|
|
301
313
|
# Corresponds to the JSON property `jobId`
|
|
302
314
|
# @return [String]
|
|
303
315
|
attr_accessor :job_id
|
|
304
316
|
|
|
317
|
+
# Optional. One or more labels that you can add, to organize your jobs.
|
|
318
|
+
# Each label is a key-value pair, where both the key and the value are
|
|
319
|
+
# arbitrary strings that you supply.
|
|
320
|
+
# For more information, see the documentation on
|
|
321
|
+
# <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
|
|
322
|
+
# Corresponds to the JSON property `labels`
|
|
323
|
+
# @return [Hash<String,String>]
|
|
324
|
+
attr_accessor :labels
|
|
325
|
+
|
|
305
326
|
# Represents input parameters for a prediction job.
|
|
306
327
|
# Corresponds to the JSON property `predictionInput`
|
|
307
328
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput]
|
|
@@ -341,7 +362,9 @@ module Google
|
|
|
341
362
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
342
363
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
343
364
|
@error_message = args[:error_message] if args.key?(:error_message)
|
|
365
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
344
366
|
@job_id = args[:job_id] if args.key?(:job_id)
|
|
367
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
345
368
|
@prediction_input = args[:prediction_input] if args.key?(:prediction_input)
|
|
346
369
|
@prediction_output = args[:prediction_output] if args.key?(:prediction_output)
|
|
347
370
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
@@ -464,7 +487,6 @@ module Google
|
|
|
464
487
|
# information about all of the versions of a given model by calling
|
|
465
488
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
|
466
489
|
# versions/list).
|
|
467
|
-
# Next ID: 19
|
|
468
490
|
# LINT.IfChange
|
|
469
491
|
# Corresponds to the JSON property `defaultVersion`
|
|
470
492
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
|
@@ -475,6 +497,27 @@ module Google
|
|
|
475
497
|
# @return [String]
|
|
476
498
|
attr_accessor :description
|
|
477
499
|
|
|
500
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
|
501
|
+
# prevent simultaneous updates of a model from overwriting each other.
|
|
502
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
|
503
|
+
# read-modify-write cycle to perform model updates in order to avoid race
|
|
504
|
+
# conditions: An `etag` is returned in the response to `GetModel`, and
|
|
505
|
+
# systems are expected to put that etag in the request to `UpdateModel` to
|
|
506
|
+
# ensure that their change will be applied to the model as intended.
|
|
507
|
+
# Corresponds to the JSON property `etag`
|
|
508
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
509
|
+
# @return [String]
|
|
510
|
+
attr_accessor :etag
|
|
511
|
+
|
|
512
|
+
# Optional. One or more labels that you can add, to organize your models.
|
|
513
|
+
# Each label is a key-value pair, where both the key and the value are
|
|
514
|
+
# arbitrary strings that you supply.
|
|
515
|
+
# For more information, see the documentation on
|
|
516
|
+
# <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
|
|
517
|
+
# Corresponds to the JSON property `labels`
|
|
518
|
+
# @return [Hash<String,String>]
|
|
519
|
+
attr_accessor :labels
|
|
520
|
+
|
|
478
521
|
# Required. The name specified for the model when it was created.
|
|
479
522
|
# The model name must be unique within the project it is created in.
|
|
480
523
|
# Corresponds to the JSON property `name`
|
|
@@ -509,6 +552,8 @@ module Google
|
|
|
509
552
|
def update!(**args)
|
|
510
553
|
@default_version = args[:default_version] if args.key?(:default_version)
|
|
511
554
|
@description = args[:description] if args.key?(:description)
|
|
555
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
556
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
512
557
|
@name = args[:name] if args.key?(:name)
|
|
513
558
|
@online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging)
|
|
514
559
|
@regions = args[:regions] if args.key?(:regions)
|
|
@@ -535,6 +580,12 @@ module Google
|
|
|
535
580
|
attr_accessor :is_cancellation_requested
|
|
536
581
|
alias_method :is_cancellation_requested?, :is_cancellation_requested
|
|
537
582
|
|
|
583
|
+
# The user labels, inherited from the model or the model version being
|
|
584
|
+
# operated on.
|
|
585
|
+
# Corresponds to the JSON property `labels`
|
|
586
|
+
# @return [Hash<String,String>]
|
|
587
|
+
attr_accessor :labels
|
|
588
|
+
|
|
538
589
|
# Contains the name of the model associated with the operation.
|
|
539
590
|
# Corresponds to the JSON property `modelName`
|
|
540
591
|
# @return [String]
|
|
@@ -556,7 +607,6 @@ module Google
|
|
|
556
607
|
# information about all of the versions of a given model by calling
|
|
557
608
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
|
558
609
|
# versions/list).
|
|
559
|
-
# Next ID: 19
|
|
560
610
|
# LINT.IfChange
|
|
561
611
|
# Corresponds to the JSON property `version`
|
|
562
612
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
|
@@ -571,6 +621,7 @@ module Google
|
|
|
571
621
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
572
622
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
573
623
|
@is_cancellation_requested = args[:is_cancellation_requested] if args.key?(:is_cancellation_requested)
|
|
624
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
574
625
|
@model_name = args[:model_name] if args.key?(:model_name)
|
|
575
626
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
576
627
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
@@ -1232,7 +1283,6 @@ module Google
|
|
|
1232
1283
|
# information about all of the versions of a given model by calling
|
|
1233
1284
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
|
1234
1285
|
# versions/list).
|
|
1235
|
-
# Next ID: 19
|
|
1236
1286
|
# LINT.IfChange
|
|
1237
1287
|
class GoogleCloudMlV1Version
|
|
1238
1288
|
include Google::Apis::Core::Hashable
|
|
@@ -1273,6 +1323,18 @@ module Google
|
|
|
1273
1323
|
# @return [String]
|
|
1274
1324
|
attr_accessor :error_message
|
|
1275
1325
|
|
|
1326
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
|
1327
|
+
# prevent simultaneous updates of a model from overwriting each other.
|
|
1328
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
|
1329
|
+
# read-modify-write cycle to perform model updates in order to avoid race
|
|
1330
|
+
# conditions: An `etag` is returned in the response to `GetVersion`, and
|
|
1331
|
+
# systems are expected to put that etag in the request to `UpdateVersion` to
|
|
1332
|
+
# ensure that their change will be applied to the model as intended.
|
|
1333
|
+
# Corresponds to the JSON property `etag`
|
|
1334
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1335
|
+
# @return [String]
|
|
1336
|
+
attr_accessor :etag
|
|
1337
|
+
|
|
1276
1338
|
# Output only. If true, this version will be used to handle prediction
|
|
1277
1339
|
# requests that do not specify a version.
|
|
1278
1340
|
# You can change the default version by calling
|
|
@@ -1283,6 +1345,15 @@ module Google
|
|
|
1283
1345
|
attr_accessor :is_default
|
|
1284
1346
|
alias_method :is_default?, :is_default
|
|
1285
1347
|
|
|
1348
|
+
# Optional. One or more labels that you can add, to organize your model
|
|
1349
|
+
# versions. Each label is a key-value pair, where both the key and the value
|
|
1350
|
+
# are arbitrary strings that you supply.
|
|
1351
|
+
# For more information, see the documentation on
|
|
1352
|
+
# <a href="/ml-engine/docs/how-tos/resource-labels">using labels</a>.
|
|
1353
|
+
# Corresponds to the JSON property `labels`
|
|
1354
|
+
# @return [Hash<String,String>]
|
|
1355
|
+
attr_accessor :labels
|
|
1356
|
+
|
|
1286
1357
|
# Output only. The time the version was last used for prediction.
|
|
1287
1358
|
# Corresponds to the JSON property `lastUseTime`
|
|
1288
1359
|
# @return [String]
|
|
@@ -1321,7 +1392,9 @@ module Google
|
|
|
1321
1392
|
@deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
|
|
1322
1393
|
@description = args[:description] if args.key?(:description)
|
|
1323
1394
|
@error_message = args[:error_message] if args.key?(:error_message)
|
|
1395
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1324
1396
|
@is_default = args[:is_default] if args.key?(:is_default)
|
|
1397
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1325
1398
|
@last_use_time = args[:last_use_time] if args.key?(:last_use_time)
|
|
1326
1399
|
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
|
|
1327
1400
|
@name = args[:name] if args.key?(:name)
|
|
@@ -294,7 +294,9 @@ module Google
|
|
|
294
294
|
property :create_time, as: 'createTime'
|
|
295
295
|
property :end_time, as: 'endTime'
|
|
296
296
|
property :error_message, as: 'errorMessage'
|
|
297
|
+
property :etag, :base64 => true, as: 'etag'
|
|
297
298
|
property :job_id, as: 'jobId'
|
|
299
|
+
hash :labels, as: 'labels'
|
|
298
300
|
property :prediction_input, as: 'predictionInput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput::Representation
|
|
299
301
|
|
|
300
302
|
property :prediction_output, as: 'predictionOutput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionOutput::Representation
|
|
@@ -348,6 +350,8 @@ module Google
|
|
|
348
350
|
property :default_version, as: 'defaultVersion', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation
|
|
349
351
|
|
|
350
352
|
property :description, as: 'description'
|
|
353
|
+
property :etag, :base64 => true, as: 'etag'
|
|
354
|
+
hash :labels, as: 'labels'
|
|
351
355
|
property :name, as: 'name'
|
|
352
356
|
property :online_prediction_logging, as: 'onlinePredictionLogging'
|
|
353
357
|
collection :regions, as: 'regions'
|
|
@@ -360,6 +364,7 @@ module Google
|
|
|
360
364
|
property :create_time, as: 'createTime'
|
|
361
365
|
property :end_time, as: 'endTime'
|
|
362
366
|
property :is_cancellation_requested, as: 'isCancellationRequested'
|
|
367
|
+
hash :labels, as: 'labels'
|
|
363
368
|
property :model_name, as: 'modelName'
|
|
364
369
|
property :operation_type, as: 'operationType'
|
|
365
370
|
property :start_time, as: 'startTime'
|
|
@@ -461,7 +466,9 @@ module Google
|
|
|
461
466
|
property :deployment_uri, as: 'deploymentUri'
|
|
462
467
|
property :description, as: 'description'
|
|
463
468
|
property :error_message, as: 'errorMessage'
|
|
469
|
+
property :etag, :base64 => true, as: 'etag'
|
|
464
470
|
property :is_default, as: 'isDefault'
|
|
471
|
+
hash :labels, as: 'labels'
|
|
465
472
|
property :last_use_time, as: 'lastUseTime'
|
|
466
473
|
property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation
|
|
467
474
|
|
|
@@ -288,6 +288,59 @@ module Google
|
|
|
288
288
|
execute_or_queue_command(command, &block)
|
|
289
289
|
end
|
|
290
290
|
|
|
291
|
+
# Updates a specific job resource.
|
|
292
|
+
# Currently the only supported fields to update are `labels`.
|
|
293
|
+
# @param [String] name
|
|
294
|
+
# Required. The job name.
|
|
295
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_object
|
|
296
|
+
# @param [String] update_mask
|
|
297
|
+
# Required. Specifies the path, relative to `Job`, of the field to update.
|
|
298
|
+
# To adopt etag mechanism, include `etag` field in the mask, and include the
|
|
299
|
+
# `etag` value in your job resource.
|
|
300
|
+
# For example, to change the labels of a job, the `update_mask` parameter
|
|
301
|
+
# would be specified as `labels`, `etag`, and the
|
|
302
|
+
# `PATCH` request body would specify the new value, as follows:
|
|
303
|
+
# `
|
|
304
|
+
# "labels": `
|
|
305
|
+
# "owner": "Google",
|
|
306
|
+
# "color": "Blue"
|
|
307
|
+
# `
|
|
308
|
+
# "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
|
|
309
|
+
# `
|
|
310
|
+
# If `etag` matches the one on the server, the labels of the job will be
|
|
311
|
+
# replaced with the given ones, and the server end `etag` will be
|
|
312
|
+
# recalculated.
|
|
313
|
+
# Currently the only supported update masks are `labels` and `etag`.
|
|
314
|
+
# @param [String] fields
|
|
315
|
+
# Selector specifying which fields to include in a partial response.
|
|
316
|
+
# @param [String] quota_user
|
|
317
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
318
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
319
|
+
# @param [Google::Apis::RequestOptions] options
|
|
320
|
+
# Request-specific options
|
|
321
|
+
#
|
|
322
|
+
# @yield [result, err] Result & error if block supplied
|
|
323
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Job] parsed result object
|
|
324
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
325
|
+
#
|
|
326
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Job]
|
|
327
|
+
#
|
|
328
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
329
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
330
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
331
|
+
def patch_project_job(name, google_cloud_ml_v1__job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
332
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
333
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
|
334
|
+
command.request_object = google_cloud_ml_v1__job_object
|
|
335
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Job::Representation
|
|
336
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Job
|
|
337
|
+
command.params['name'] = name unless name.nil?
|
|
338
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
339
|
+
command.query['fields'] = fields unless fields.nil?
|
|
340
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
341
|
+
execute_or_queue_command(command, &block)
|
|
342
|
+
end
|
|
343
|
+
|
|
291
344
|
# Sets the access control policy on the specified resource. Replaces any
|
|
292
345
|
# existing policy.
|
|
293
346
|
# @param [String] resource
|
|
@@ -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 = '
|
|
30
|
+
REVISION = '20171105'
|
|
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'
|
|
@@ -846,9 +846,6 @@ module Google
|
|
|
846
846
|
# when creating the uptime check configuration; on create, the resource name is
|
|
847
847
|
# assigned by the server and included in the response.
|
|
848
848
|
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
|
|
849
|
-
# @param [String] name1
|
|
850
|
-
# The uptime check configuration to update. The format isprojects/[PROJECT_ID]/
|
|
851
|
-
# uptimeCheckConfigs/[UPTIME_CHECK_ID].
|
|
852
849
|
# @param [String] update_mask
|
|
853
850
|
# Optional. If present, only the listed fields in the current uptime check
|
|
854
851
|
# configuration are updated with values from the new configuration. If this
|
|
@@ -871,14 +868,13 @@ module Google
|
|
|
871
868
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
872
869
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
873
870
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
874
|
-
def patch_project_uptime_check_config(name, uptime_check_config_object = nil,
|
|
871
|
+
def patch_project_uptime_check_config(name, uptime_check_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
875
872
|
command = make_simple_command(:patch, 'v3/{+name}', options)
|
|
876
873
|
command.request_representation = Google::Apis::MonitoringV3::UptimeCheckConfig::Representation
|
|
877
874
|
command.request_object = uptime_check_config_object
|
|
878
875
|
command.response_representation = Google::Apis::MonitoringV3::UptimeCheckConfig::Representation
|
|
879
876
|
command.response_class = Google::Apis::MonitoringV3::UptimeCheckConfig
|
|
880
877
|
command.params['name'] = name unless name.nil?
|
|
881
|
-
command.query['name1'] = name1 unless name1.nil?
|
|
882
878
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
883
879
|
command.query['fields'] = fields unless fields.nil?
|
|
884
880
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -20,12 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Google Cloud OS Login API
|
|
22
22
|
#
|
|
23
|
-
# Manages OS login configuration for
|
|
23
|
+
# Manages OS login configuration for Google account users.
|
|
24
24
|
#
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
|
26
26
|
module OsloginV1alpha
|
|
27
27
|
VERSION = 'V1alpha'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171108'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,12 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Google Cloud OS Login API
|
|
22
22
|
#
|
|
23
|
-
# Manages OS login configuration for
|
|
23
|
+
# Manages OS login configuration for Google account users.
|
|
24
24
|
#
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
|
26
26
|
module OsloginV1beta
|
|
27
27
|
VERSION = 'V1beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171108'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -833,6 +833,7 @@ module Google
|
|
|
833
833
|
end
|
|
834
834
|
|
|
835
835
|
# One of the person's interests.
|
|
836
|
+
# **DEPRECATED** (Message will not be returned.)
|
|
836
837
|
class Interest
|
|
837
838
|
include Google::Apis::Core::Hashable
|
|
838
839
|
|
|
@@ -1388,6 +1389,7 @@ module Google
|
|
|
1388
1389
|
attr_accessor :im_clients
|
|
1389
1390
|
|
|
1390
1391
|
# The person's interests.
|
|
1392
|
+
# **DEPRECATED** (No values will be returned.)
|
|
1391
1393
|
# Corresponds to the JSON property `interests`
|
|
1392
1394
|
# @return [Array<Google::Apis::PeopleV1::Interest>]
|
|
1393
1395
|
attr_accessor :interests
|
|
@@ -375,7 +375,6 @@ module Google
|
|
|
375
375
|
# * events
|
|
376
376
|
# * genders
|
|
377
377
|
# * imClients
|
|
378
|
-
# * interests
|
|
379
378
|
# * locales
|
|
380
379
|
# * memberships
|
|
381
380
|
# * metadata
|
|
@@ -443,7 +442,6 @@ module Google
|
|
|
443
442
|
# * events
|
|
444
443
|
# * genders
|
|
445
444
|
# * imClients
|
|
446
|
-
# * interests
|
|
447
445
|
# * locales
|
|
448
446
|
# * memberships
|
|
449
447
|
# * metadata
|
|
@@ -529,7 +527,6 @@ module Google
|
|
|
529
527
|
# * events
|
|
530
528
|
# * genders
|
|
531
529
|
# * imClients
|
|
532
|
-
# * interests
|
|
533
530
|
# * locales
|
|
534
531
|
# * names
|
|
535
532
|
# * nicknames
|
|
@@ -594,7 +591,6 @@ module Google
|
|
|
594
591
|
# * events
|
|
595
592
|
# * genders
|
|
596
593
|
# * imClients
|
|
597
|
-
# * interests
|
|
598
594
|
# * locales
|
|
599
595
|
# * memberships
|
|
600
596
|
# * metadata
|