google-api-client 0.30.4 → 0.30.5
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 +44 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +50 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +18 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +22 -85
- data/generated/google/apis/bigtableadmin_v2/service.rb +6 -105
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +14 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -2
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/content_v2/service.rb +4 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -2
- data/generated/google/apis/content_v2_1/representations.rb +18 -0
- data/generated/google/apis/content_v2_1/service.rb +12 -7
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +23 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +20 -9
- data/generated/google/apis/dfareporting_v3_3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +173 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +17 -16
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +11 -10
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +1 -2
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +11 -10
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +4 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +107 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +46 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +306 -51
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +28 -0
- data/generated/google/apis/iap_v1/representations.rb +15 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +28 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +0 -33
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1/service.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +28 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +15 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -8
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -8
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +4 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +44 -66
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +24 -26
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +52 -78
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +24 -26
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
|
27
27
|
module BinaryauthorizationV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190628'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -231,6 +231,11 @@ module Google
|
|
|
231
231
|
# @param [String] resource
|
|
232
232
|
# REQUIRED: The resource for which the policy is being requested.
|
|
233
233
|
# See the operation documentation for the appropriate value for this field.
|
|
234
|
+
# @param [Fixnum] options_requested_policy_version
|
|
235
|
+
# Optional. The policy format version to be returned.
|
|
236
|
+
# Acceptable values are 0 and 1.
|
|
237
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
|
238
|
+
# returned.
|
|
234
239
|
# @param [String] fields
|
|
235
240
|
# Selector specifying which fields to include in a partial response.
|
|
236
241
|
# @param [String] quota_user
|
|
@@ -248,11 +253,12 @@ module Google
|
|
|
248
253
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
249
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
250
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
251
|
-
def get_project_attestor_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
256
|
+
def get_project_attestor_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
252
257
|
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
|
253
258
|
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::IamPolicy::Representation
|
|
254
259
|
command.response_class = Google::Apis::BinaryauthorizationV1beta1::IamPolicy
|
|
255
260
|
command.params['resource'] = resource unless resource.nil?
|
|
261
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
256
262
|
command.query['fields'] = fields unless fields.nil?
|
|
257
263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
258
264
|
execute_or_queue_command(command, &block)
|
|
@@ -414,6 +420,11 @@ module Google
|
|
|
414
420
|
# @param [String] resource
|
|
415
421
|
# REQUIRED: The resource for which the policy is being requested.
|
|
416
422
|
# See the operation documentation for the appropriate value for this field.
|
|
423
|
+
# @param [Fixnum] options_requested_policy_version
|
|
424
|
+
# Optional. The policy format version to be returned.
|
|
425
|
+
# Acceptable values are 0 and 1.
|
|
426
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
|
427
|
+
# returned.
|
|
417
428
|
# @param [String] fields
|
|
418
429
|
# Selector specifying which fields to include in a partial response.
|
|
419
430
|
# @param [String] quota_user
|
|
@@ -431,11 +442,12 @@ module Google
|
|
|
431
442
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
432
443
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
433
444
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
434
|
-
def get_project_policy_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
445
|
+
def get_project_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
435
446
|
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
|
436
447
|
command.response_representation = Google::Apis::BinaryauthorizationV1beta1::IamPolicy::Representation
|
|
437
448
|
command.response_class = Google::Apis::BinaryauthorizationV1beta1::IamPolicy
|
|
438
449
|
command.params['resource'] = resource unless resource.nil?
|
|
450
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
439
451
|
command.query['fields'] = fields unless fields.nil?
|
|
440
452
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
441
453
|
execute_or_queue_command(command, &block)
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
|
26
26
|
module CloudbuildV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190629'
|
|
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'
|
|
@@ -793,12 +793,15 @@ module Google
|
|
|
793
793
|
# @return [Fixnum]
|
|
794
794
|
attr_accessor :installation_id
|
|
795
795
|
|
|
796
|
-
# Name of the repository.
|
|
796
|
+
# Name of the repository. For example: The name for
|
|
797
|
+
# https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
|
|
797
798
|
# Corresponds to the JSON property `name`
|
|
798
799
|
# @return [String]
|
|
799
800
|
attr_accessor :name
|
|
800
801
|
|
|
801
|
-
# Owner of the repository.
|
|
802
|
+
# Owner of the repository. For example: The owner for
|
|
803
|
+
# https://github.com/googlecloudplatform/cloud-builders is
|
|
804
|
+
# "googlecloudplatform".
|
|
802
805
|
# Corresponds to the JSON property `owner`
|
|
803
806
|
# @return [String]
|
|
804
807
|
attr_accessor :owner
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190701'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -568,12 +568,18 @@ module Google
|
|
|
568
568
|
class GetIamPolicyRequest
|
|
569
569
|
include Google::Apis::Core::Hashable
|
|
570
570
|
|
|
571
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
572
|
+
# Corresponds to the JSON property `options`
|
|
573
|
+
# @return [Google::Apis::CloudresourcemanagerV1::GetPolicyOptions]
|
|
574
|
+
attr_accessor :options
|
|
575
|
+
|
|
571
576
|
def initialize(**args)
|
|
572
577
|
update!(**args)
|
|
573
578
|
end
|
|
574
579
|
|
|
575
580
|
# Update properties of this object
|
|
576
581
|
def update!(**args)
|
|
582
|
+
@options = args[:options] if args.key?(:options)
|
|
577
583
|
end
|
|
578
584
|
end
|
|
579
585
|
|
|
@@ -596,6 +602,28 @@ module Google
|
|
|
596
602
|
end
|
|
597
603
|
end
|
|
598
604
|
|
|
605
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
606
|
+
class GetPolicyOptions
|
|
607
|
+
include Google::Apis::Core::Hashable
|
|
608
|
+
|
|
609
|
+
# Optional. The policy format version to be returned.
|
|
610
|
+
# Acceptable values are 0 and 1.
|
|
611
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
|
612
|
+
# returned.
|
|
613
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
614
|
+
# @return [Fixnum]
|
|
615
|
+
attr_accessor :requested_policy_version
|
|
616
|
+
|
|
617
|
+
def initialize(**args)
|
|
618
|
+
update!(**args)
|
|
619
|
+
end
|
|
620
|
+
|
|
621
|
+
# Update properties of this object
|
|
622
|
+
def update!(**args)
|
|
623
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
|
624
|
+
end
|
|
625
|
+
end
|
|
626
|
+
|
|
599
627
|
# A Lien represents an encumbrance on the actions that can be performed on a
|
|
600
628
|
# resource.
|
|
601
629
|
class Lien
|
|
@@ -124,6 +124,12 @@ module Google
|
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
+
class GetPolicyOptions
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
127
133
|
class Lien
|
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
135
|
|
|
@@ -408,6 +414,8 @@ module Google
|
|
|
408
414
|
class GetIamPolicyRequest
|
|
409
415
|
# @private
|
|
410
416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
417
|
+
property :options, as: 'options', class: Google::Apis::CloudresourcemanagerV1::GetPolicyOptions, decorator: Google::Apis::CloudresourcemanagerV1::GetPolicyOptions::Representation
|
|
418
|
+
|
|
411
419
|
end
|
|
412
420
|
end
|
|
413
421
|
|
|
@@ -418,6 +426,13 @@ module Google
|
|
|
418
426
|
end
|
|
419
427
|
end
|
|
420
428
|
|
|
429
|
+
class GetPolicyOptions
|
|
430
|
+
# @private
|
|
431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
432
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
|
|
421
436
|
class Lien
|
|
422
437
|
# @private
|
|
423
438
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190701'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -372,12 +372,40 @@ module Google
|
|
|
372
372
|
class GetIamPolicyRequest
|
|
373
373
|
include Google::Apis::Core::Hashable
|
|
374
374
|
|
|
375
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
376
|
+
# Corresponds to the JSON property `options`
|
|
377
|
+
# @return [Google::Apis::CloudresourcemanagerV1beta1::GetPolicyOptions]
|
|
378
|
+
attr_accessor :options
|
|
379
|
+
|
|
380
|
+
def initialize(**args)
|
|
381
|
+
update!(**args)
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
# Update properties of this object
|
|
385
|
+
def update!(**args)
|
|
386
|
+
@options = args[:options] if args.key?(:options)
|
|
387
|
+
end
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
391
|
+
class GetPolicyOptions
|
|
392
|
+
include Google::Apis::Core::Hashable
|
|
393
|
+
|
|
394
|
+
# Optional. The policy format version to be returned.
|
|
395
|
+
# Acceptable values are 0 and 1.
|
|
396
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
|
397
|
+
# returned.
|
|
398
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
399
|
+
# @return [Fixnum]
|
|
400
|
+
attr_accessor :requested_policy_version
|
|
401
|
+
|
|
375
402
|
def initialize(**args)
|
|
376
403
|
update!(**args)
|
|
377
404
|
end
|
|
378
405
|
|
|
379
406
|
# Update properties of this object
|
|
380
407
|
def update!(**args)
|
|
408
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
|
381
409
|
end
|
|
382
410
|
end
|
|
383
411
|
|
|
@@ -88,6 +88,12 @@ module Google
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
+
class GetPolicyOptions
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
91
97
|
class ListOrganizationsResponse
|
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
99
|
|
|
@@ -245,6 +251,15 @@ module Google
|
|
|
245
251
|
class GetIamPolicyRequest
|
|
246
252
|
# @private
|
|
247
253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
254
|
+
property :options, as: 'options', class: Google::Apis::CloudresourcemanagerV1beta1::GetPolicyOptions, decorator: Google::Apis::CloudresourcemanagerV1beta1::GetPolicyOptions::Representation
|
|
255
|
+
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class GetPolicyOptions
|
|
260
|
+
# @private
|
|
261
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
262
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
|
248
263
|
end
|
|
249
264
|
end
|
|
250
265
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190701'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -351,12 +351,40 @@ module Google
|
|
|
351
351
|
class GetIamPolicyRequest
|
|
352
352
|
include Google::Apis::Core::Hashable
|
|
353
353
|
|
|
354
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
355
|
+
# Corresponds to the JSON property `options`
|
|
356
|
+
# @return [Google::Apis::CloudresourcemanagerV2::GetPolicyOptions]
|
|
357
|
+
attr_accessor :options
|
|
358
|
+
|
|
359
|
+
def initialize(**args)
|
|
360
|
+
update!(**args)
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# Update properties of this object
|
|
364
|
+
def update!(**args)
|
|
365
|
+
@options = args[:options] if args.key?(:options)
|
|
366
|
+
end
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
370
|
+
class GetPolicyOptions
|
|
371
|
+
include Google::Apis::Core::Hashable
|
|
372
|
+
|
|
373
|
+
# Optional. The policy format version to be returned.
|
|
374
|
+
# Acceptable values are 0 and 1.
|
|
375
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
|
376
|
+
# returned.
|
|
377
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
378
|
+
# @return [Fixnum]
|
|
379
|
+
attr_accessor :requested_policy_version
|
|
380
|
+
|
|
354
381
|
def initialize(**args)
|
|
355
382
|
update!(**args)
|
|
356
383
|
end
|
|
357
384
|
|
|
358
385
|
# Update properties of this object
|
|
359
386
|
def update!(**args)
|
|
387
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
|
360
388
|
end
|
|
361
389
|
end
|
|
362
390
|
|
|
@@ -70,6 +70,12 @@ module Google
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
class GetPolicyOptions
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
73
79
|
class ListFoldersResponse
|
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
81
|
|
|
@@ -210,6 +216,15 @@ module Google
|
|
|
210
216
|
class GetIamPolicyRequest
|
|
211
217
|
# @private
|
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
219
|
+
property :options, as: 'options', class: Google::Apis::CloudresourcemanagerV2::GetPolicyOptions, decorator: Google::Apis::CloudresourcemanagerV2::GetPolicyOptions::Representation
|
|
220
|
+
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
class GetPolicyOptions
|
|
225
|
+
# @private
|
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
227
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
|
213
228
|
end
|
|
214
229
|
end
|
|
215
230
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190701'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -351,12 +351,40 @@ module Google
|
|
|
351
351
|
class GetIamPolicyRequest
|
|
352
352
|
include Google::Apis::Core::Hashable
|
|
353
353
|
|
|
354
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
355
|
+
# Corresponds to the JSON property `options`
|
|
356
|
+
# @return [Google::Apis::CloudresourcemanagerV2beta1::GetPolicyOptions]
|
|
357
|
+
attr_accessor :options
|
|
358
|
+
|
|
359
|
+
def initialize(**args)
|
|
360
|
+
update!(**args)
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# Update properties of this object
|
|
364
|
+
def update!(**args)
|
|
365
|
+
@options = args[:options] if args.key?(:options)
|
|
366
|
+
end
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
# Encapsulates settings provided to GetIamPolicy.
|
|
370
|
+
class GetPolicyOptions
|
|
371
|
+
include Google::Apis::Core::Hashable
|
|
372
|
+
|
|
373
|
+
# Optional. The policy format version to be returned.
|
|
374
|
+
# Acceptable values are 0 and 1.
|
|
375
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
|
376
|
+
# returned.
|
|
377
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
378
|
+
# @return [Fixnum]
|
|
379
|
+
attr_accessor :requested_policy_version
|
|
380
|
+
|
|
354
381
|
def initialize(**args)
|
|
355
382
|
update!(**args)
|
|
356
383
|
end
|
|
357
384
|
|
|
358
385
|
# Update properties of this object
|
|
359
386
|
def update!(**args)
|
|
387
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
|
360
388
|
end
|
|
361
389
|
end
|
|
362
390
|
|
|
@@ -70,6 +70,12 @@ module Google
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
class GetPolicyOptions
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
73
79
|
class ListFoldersResponse
|
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
81
|
|
|
@@ -210,6 +216,15 @@ module Google
|
|
|
210
216
|
class GetIamPolicyRequest
|
|
211
217
|
# @private
|
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
219
|
+
property :options, as: 'options', class: Google::Apis::CloudresourcemanagerV2beta1::GetPolicyOptions, decorator: Google::Apis::CloudresourcemanagerV2beta1::GetPolicyOptions::Representation
|
|
220
|
+
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
class GetPolicyOptions
|
|
225
|
+
# @private
|
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
227
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
|
213
228
|
end
|
|
214
229
|
end
|
|
215
230
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190702'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -1505,6 +1505,25 @@ module Google
|
|
|
1505
1505
|
end
|
|
1506
1506
|
end
|
|
1507
1507
|
|
|
1508
|
+
#
|
|
1509
|
+
class BusinessDayConfig
|
|
1510
|
+
include Google::Apis::Core::Hashable
|
|
1511
|
+
|
|
1512
|
+
# Regular business days. May not be empty.
|
|
1513
|
+
# Corresponds to the JSON property `businessDays`
|
|
1514
|
+
# @return [Array<String>]
|
|
1515
|
+
attr_accessor :business_days
|
|
1516
|
+
|
|
1517
|
+
def initialize(**args)
|
|
1518
|
+
update!(**args)
|
|
1519
|
+
end
|
|
1520
|
+
|
|
1521
|
+
# Update properties of this object
|
|
1522
|
+
def update!(**args)
|
|
1523
|
+
@business_days = args[:business_days] if args.key?(:business_days)
|
|
1524
|
+
end
|
|
1525
|
+
end
|
|
1526
|
+
|
|
1508
1527
|
#
|
|
1509
1528
|
class CarrierRate
|
|
1510
1529
|
include Google::Apis::Core::Hashable
|
|
@@ -2448,6 +2467,12 @@ module Google
|
|
|
2448
2467
|
# @return [Google::Apis::ContentV2::CutoffTime]
|
|
2449
2468
|
attr_accessor :cutoff_time
|
|
2450
2469
|
|
|
2470
|
+
# The business days during which orders can be handled. If not provided, Monday
|
|
2471
|
+
# to Friday business days will be assumed.
|
|
2472
|
+
# Corresponds to the JSON property `handlingBusinessDayConfig`
|
|
2473
|
+
# @return [Google::Apis::ContentV2::BusinessDayConfig]
|
|
2474
|
+
attr_accessor :handling_business_day_config
|
|
2475
|
+
|
|
2451
2476
|
# Holiday cutoff definitions. If configured, they specify order cutoff times for
|
|
2452
2477
|
# holiday-specific shipping.
|
|
2453
2478
|
# Corresponds to the JSON property `holidayCutoffs`
|
|
@@ -2475,14 +2500,20 @@ module Google
|
|
|
2475
2500
|
attr_accessor :min_handling_time_in_days
|
|
2476
2501
|
|
|
2477
2502
|
# Minimum number of business days that is spent in transit. 0 means same day
|
|
2478
|
-
# delivery, 1 means next day delivery. Either `min,max`
|
|
2503
|
+
# delivery, 1 means next day delivery. Either `min,max`TransitTimeInDays or
|
|
2479
2504
|
# transitTimeTable must be set, but not both.
|
|
2480
2505
|
# Corresponds to the JSON property `minTransitTimeInDays`
|
|
2481
2506
|
# @return [Fixnum]
|
|
2482
2507
|
attr_accessor :min_transit_time_in_days
|
|
2483
2508
|
|
|
2509
|
+
# The business days during which orders can be in-transit. If not provided,
|
|
2510
|
+
# Monday to Friday business days will be assumed.
|
|
2511
|
+
# Corresponds to the JSON property `transitBusinessDayConfig`
|
|
2512
|
+
# @return [Google::Apis::ContentV2::BusinessDayConfig]
|
|
2513
|
+
attr_accessor :transit_business_day_config
|
|
2514
|
+
|
|
2484
2515
|
# Transit time table, number of business days spent in transit based on row and
|
|
2485
|
-
# column dimensions. Either `min,max`
|
|
2516
|
+
# column dimensions. Either `min,max`TransitTimeInDays or transitTimeTable can
|
|
2486
2517
|
# be set, but not both.
|
|
2487
2518
|
# Corresponds to the JSON property `transitTimeTable`
|
|
2488
2519
|
# @return [Google::Apis::ContentV2::TransitTable]
|
|
@@ -2495,11 +2526,13 @@ module Google
|
|
|
2495
2526
|
# Update properties of this object
|
|
2496
2527
|
def update!(**args)
|
|
2497
2528
|
@cutoff_time = args[:cutoff_time] if args.key?(:cutoff_time)
|
|
2529
|
+
@handling_business_day_config = args[:handling_business_day_config] if args.key?(:handling_business_day_config)
|
|
2498
2530
|
@holiday_cutoffs = args[:holiday_cutoffs] if args.key?(:holiday_cutoffs)
|
|
2499
2531
|
@max_handling_time_in_days = args[:max_handling_time_in_days] if args.key?(:max_handling_time_in_days)
|
|
2500
2532
|
@max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days)
|
|
2501
2533
|
@min_handling_time_in_days = args[:min_handling_time_in_days] if args.key?(:min_handling_time_in_days)
|
|
2502
2534
|
@min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
|
|
2535
|
+
@transit_business_day_config = args[:transit_business_day_config] if args.key?(:transit_business_day_config)
|
|
2503
2536
|
@transit_time_table = args[:transit_time_table] if args.key?(:transit_time_table)
|
|
2504
2537
|
end
|
|
2505
2538
|
end
|
|
@@ -9595,6 +9628,11 @@ module Google
|
|
|
9595
9628
|
# @return [Fixnum]
|
|
9596
9629
|
attr_accessor :batch_id
|
|
9597
9630
|
|
|
9631
|
+
# The ContentAPI feed id.
|
|
9632
|
+
# Corresponds to the JSON property `feedId`
|
|
9633
|
+
# @return [Fixnum]
|
|
9634
|
+
attr_accessor :feed_id
|
|
9635
|
+
|
|
9598
9636
|
# The ID of the managing account.
|
|
9599
9637
|
# Corresponds to the JSON property `merchantId`
|
|
9600
9638
|
# @return [Fixnum]
|
|
@@ -9624,6 +9662,7 @@ module Google
|
|
|
9624
9662
|
# Update properties of this object
|
|
9625
9663
|
def update!(**args)
|
|
9626
9664
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
9665
|
+
@feed_id = args[:feed_id] if args.key?(:feed_id)
|
|
9627
9666
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
9628
9667
|
@request_method = args[:request_method] if args.key?(:request_method)
|
|
9629
9668
|
@product = args[:product] if args.key?(:product)
|