google-api-client 0.40.1 → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +65 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +468 -750
- data/generated/google/apis/androidpublisher_v3/representations.rb +9 -202
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +12 -6
- data/generated/google/apis/apigee_v1/representations.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +113 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +61 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -7
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +25 -342
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -96
- data/generated/google/apis/cloudasset_v1/service.rb +11 -186
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +91 -3
- data/generated/google/apis/compute_alpha/representations.rb +36 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +15 -3
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +3 -3
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +4 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -81
- data/generated/google/apis/iam_v1/service.rb +163 -148
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +118 -2
- data/generated/google/apis/people_v1/representations.rb +51 -0
- data/generated/google/apis/people_v1/service.rb +336 -67
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +49 -7
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +108 -44
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +114 -44
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -12
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +109 -44
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +109 -44
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +109 -45
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +115 -45
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -4931,9 +4931,9 @@ module Google
|
|
4931
4931
|
attr_accessor :options
|
4932
4932
|
|
4933
4933
|
# Physical block size of the persistent disk, in bytes. If not present in a
|
4934
|
-
# request, a default value is used.
|
4935
|
-
#
|
4936
|
-
#
|
4934
|
+
# request, a default value is used. The currently supported size is 4096, other
|
4935
|
+
# sizes may be added in the future. If an unsupported value is requested, the
|
4936
|
+
# error message will list the supported values for the caller's project.
|
4937
4937
|
# Corresponds to the JSON property `physicalBlockSizeBytes`
|
4938
4938
|
# @return [Fixnum]
|
4939
4939
|
attr_accessor :physical_block_size_bytes
|
@@ -25369,6 +25369,11 @@ module Google
|
|
25369
25369
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
25370
25370
|
include Google::Apis::Core::Hashable
|
25371
25371
|
|
25372
|
+
# Chain name that the snapshot is created in.
|
25373
|
+
# Corresponds to the JSON property `chainName`
|
25374
|
+
# @return [String]
|
25375
|
+
attr_accessor :chain_name
|
25376
|
+
|
25372
25377
|
# Indication to perform a 'guest aware' snapshot.
|
25373
25378
|
# Corresponds to the JSON property `guestFlush`
|
25374
25379
|
# @return [Boolean]
|
@@ -25393,6 +25398,7 @@ module Google
|
|
25393
25398
|
|
25394
25399
|
# Update properties of this object
|
25395
25400
|
def update!(**args)
|
25401
|
+
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
25396
25402
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
25397
25403
|
@labels = args[:labels] if args.key?(:labels)
|
25398
25404
|
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
@@ -28291,6 +28297,11 @@ module Google
|
|
28291
28297
|
attr_accessor :auto_created
|
28292
28298
|
alias_method :auto_created?, :auto_created
|
28293
28299
|
|
28300
|
+
# Chain name should conform to RFC1035.
|
28301
|
+
# Corresponds to the JSON property `chainName`
|
28302
|
+
# @return [String]
|
28303
|
+
attr_accessor :chain_name
|
28304
|
+
|
28294
28305
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
28295
28306
|
# Corresponds to the JSON property `creationTimestamp`
|
28296
28307
|
# @return [String]
|
@@ -28425,6 +28436,7 @@ module Google
|
|
28425
28436
|
# Update properties of this object
|
28426
28437
|
def update!(**args)
|
28427
28438
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
28439
|
+
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
28428
28440
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
28429
28441
|
@description = args[:description] if args.key?(:description)
|
28430
28442
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@@ -11165,6 +11165,7 @@ module Google
|
|
11165
11165
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
11166
11166
|
# @private
|
11167
11167
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11168
|
+
property :chain_name, as: 'chainName'
|
11168
11169
|
property :guest_flush, as: 'guestFlush'
|
11169
11170
|
hash :labels, as: 'labels'
|
11170
11171
|
collection :storage_locations, as: 'storageLocations'
|
@@ -11872,6 +11873,7 @@ module Google
|
|
11872
11873
|
# @private
|
11873
11874
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11874
11875
|
property :auto_created, as: 'autoCreated'
|
11876
|
+
property :chain_name, as: 'chainName'
|
11875
11877
|
property :creation_timestamp, as: 'creationTimestamp'
|
11876
11878
|
property :description, as: 'description'
|
11877
11879
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200515'
|
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'
|
@@ -4493,9 +4493,9 @@ module Google
|
|
4493
4493
|
attr_accessor :options
|
4494
4494
|
|
4495
4495
|
# Physical block size of the persistent disk, in bytes. If not present in a
|
4496
|
-
# request, a default value is used.
|
4497
|
-
#
|
4498
|
-
#
|
4496
|
+
# request, a default value is used. The currently supported size is 4096, other
|
4497
|
+
# sizes may be added in the future. If an unsupported value is requested, the
|
4498
|
+
# error message will list the supported values for the caller's project.
|
4499
4499
|
# Corresponds to the JSON property `physicalBlockSizeBytes`
|
4500
4500
|
# @return [Fixnum]
|
4501
4501
|
attr_accessor :physical_block_size_bytes
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
# @see https://cloud.google.com/data-fusion/docs
|
35
35
|
module DatafusionV1beta1
|
36
36
|
VERSION = 'V1beta1'
|
37
|
-
REVISION = '
|
37
|
+
REVISION = '20200609'
|
38
38
|
|
39
39
|
# View and manage your data across Google Cloud Platform services
|
40
40
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -53,7 +53,7 @@ module Google
|
|
53
53
|
# `
|
54
54
|
# "audit_configs": [
|
55
55
|
# `
|
56
|
-
# "service": "allServices"
|
56
|
+
# "service": "allServices",
|
57
57
|
# "audit_log_configs": [
|
58
58
|
# `
|
59
59
|
# "log_type": "DATA_READ",
|
@@ -62,18 +62,18 @@ module Google
|
|
62
62
|
# ]
|
63
63
|
# `,
|
64
64
|
# `
|
65
|
-
# "log_type": "DATA_WRITE"
|
65
|
+
# "log_type": "DATA_WRITE"
|
66
66
|
# `,
|
67
67
|
# `
|
68
|
-
# "log_type": "ADMIN_READ"
|
68
|
+
# "log_type": "ADMIN_READ"
|
69
69
|
# `
|
70
70
|
# ]
|
71
71
|
# `,
|
72
72
|
# `
|
73
|
-
# "service": "sampleservice.googleapis.com"
|
73
|
+
# "service": "sampleservice.googleapis.com",
|
74
74
|
# "audit_log_configs": [
|
75
75
|
# `
|
76
|
-
# "log_type": "DATA_READ"
|
76
|
+
# "log_type": "DATA_READ"
|
77
77
|
# `,
|
78
78
|
# `
|
79
79
|
# "log_type": "DATA_WRITE",
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
# ]
|
126
126
|
# `,
|
127
127
|
# `
|
128
|
-
# "log_type": "DATA_WRITE"
|
128
|
+
# "log_type": "DATA_WRITE"
|
129
129
|
# `
|
130
130
|
# ]
|
131
131
|
# `
|
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
# @return [String]
|
362
362
|
attr_accessor :create_time
|
363
363
|
|
364
|
-
#
|
364
|
+
# A description of this instance.
|
365
365
|
# Corresponds to the JSON property `description`
|
366
366
|
# @return [String]
|
367
367
|
attr_accessor :description
|
@@ -499,6 +499,32 @@ module Google
|
|
499
499
|
end
|
500
500
|
end
|
501
501
|
|
502
|
+
# Response message for the list available versions request.
|
503
|
+
class ListAvailableVersionsResponse
|
504
|
+
include Google::Apis::Core::Hashable
|
505
|
+
|
506
|
+
# Represents a list of versions that are supported.
|
507
|
+
# Corresponds to the JSON property `availableVersions`
|
508
|
+
# @return [Array<Google::Apis::DatafusionV1beta1::Version>]
|
509
|
+
attr_accessor :available_versions
|
510
|
+
|
511
|
+
# Token to retrieve the next page of results or empty if there are no more
|
512
|
+
# results in the list.
|
513
|
+
# Corresponds to the JSON property `nextPageToken`
|
514
|
+
# @return [String]
|
515
|
+
attr_accessor :next_page_token
|
516
|
+
|
517
|
+
def initialize(**args)
|
518
|
+
update!(**args)
|
519
|
+
end
|
520
|
+
|
521
|
+
# Update properties of this object
|
522
|
+
def update!(**args)
|
523
|
+
@available_versions = args[:available_versions] if args.key?(:available_versions)
|
524
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
502
528
|
# Response message for the list instance request.
|
503
529
|
class ListInstancesResponse
|
504
530
|
include Google::Apis::Core::Hashable
|
@@ -793,10 +819,13 @@ module Google
|
|
793
819
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
794
820
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
795
821
|
# custom role.
|
796
|
-
#
|
797
|
-
# expression that allows access to a resource
|
798
|
-
# to `true`. A condition can add constraints
|
799
|
-
# request, the resource, or both.
|
822
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
823
|
+
# `condition`, which is a logical expression that allows access to a resource
|
824
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
825
|
+
# based on attributes of the request, the resource, or both. To learn which
|
826
|
+
# resources support conditions in their IAM policies, see the
|
827
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
828
|
+
# policies).
|
800
829
|
# **JSON example:**
|
801
830
|
# `
|
802
831
|
# "bindings": [
|
@@ -811,7 +840,9 @@ module Google
|
|
811
840
|
# `,
|
812
841
|
# `
|
813
842
|
# "role": "roles/resourcemanager.organizationViewer",
|
814
|
-
# "members": [
|
843
|
+
# "members": [
|
844
|
+
# "user:eve@example.com"
|
845
|
+
# ],
|
815
846
|
# "condition": `
|
816
847
|
# "title": "expirable access",
|
817
848
|
# "description": "Does not grant access after Sep 2020",
|
@@ -889,6 +920,9 @@ module Google
|
|
889
920
|
# the conditions in the version `3` policy are lost.
|
890
921
|
# If a policy does not include any conditions, operations on that policy may
|
891
922
|
# specify any valid version or leave the field unset.
|
923
|
+
# To learn which resources support conditions in their IAM policies, see the
|
924
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
925
|
+
# policies).
|
892
926
|
# Corresponds to the JSON property `version`
|
893
927
|
# @return [Fixnum]
|
894
928
|
attr_accessor :version
|
@@ -930,10 +964,13 @@ module Google
|
|
930
964
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
931
965
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
932
966
|
# custom role.
|
933
|
-
#
|
934
|
-
# expression that allows access to a resource
|
935
|
-
# to `true`. A condition can add constraints
|
936
|
-
# request, the resource, or both.
|
967
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
968
|
+
# `condition`, which is a logical expression that allows access to a resource
|
969
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
970
|
+
# based on attributes of the request, the resource, or both. To learn which
|
971
|
+
# resources support conditions in their IAM policies, see the
|
972
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
973
|
+
# policies).
|
937
974
|
# **JSON example:**
|
938
975
|
# `
|
939
976
|
# "bindings": [
|
@@ -948,7 +985,9 @@ module Google
|
|
948
985
|
# `,
|
949
986
|
# `
|
950
987
|
# "role": "roles/resourcemanager.organizationViewer",
|
951
|
-
# "members": [
|
988
|
+
# "members": [
|
989
|
+
# "user:eve@example.com"
|
990
|
+
# ],
|
952
991
|
# "condition": `
|
953
992
|
# "title": "expirable access",
|
954
993
|
# "description": "Does not grant access after Sep 2020",
|
@@ -986,8 +1025,7 @@ module Google
|
|
986
1025
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
987
1026
|
# the fields in the mask will be modified. If no mask is provided, the
|
988
1027
|
# following default mask is used:
|
989
|
-
# paths: "bindings, etag"
|
990
|
-
# This field is only used by Cloud IAM.
|
1028
|
+
# `paths: "bindings, etag"`
|
991
1029
|
# Corresponds to the JSON property `updateMask`
|
992
1030
|
# @return [String]
|
993
1031
|
attr_accessor :update_mask
|
@@ -1102,6 +1140,12 @@ module Google
|
|
1102
1140
|
class Version
|
1103
1141
|
include Google::Apis::Core::Hashable
|
1104
1142
|
|
1143
|
+
# Whether this is currently the default version for Cloud Data Fusion
|
1144
|
+
# Corresponds to the JSON property `defaultVersion`
|
1145
|
+
# @return [Boolean]
|
1146
|
+
attr_accessor :default_version
|
1147
|
+
alias_method :default_version?, :default_version
|
1148
|
+
|
1105
1149
|
# The version number of the Data Fusion instance, such as '6.0.1.0'.
|
1106
1150
|
# Corresponds to the JSON property `versionNumber`
|
1107
1151
|
# @return [String]
|
@@ -1113,6 +1157,7 @@ module Google
|
|
1113
1157
|
|
1114
1158
|
# Update properties of this object
|
1115
1159
|
def update!(**args)
|
1160
|
+
@default_version = args[:default_version] if args.key?(:default_version)
|
1116
1161
|
@version_number = args[:version_number] if args.key?(:version_number)
|
1117
1162
|
end
|
1118
1163
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class ListAvailableVersionsResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class ListInstancesResponse
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -247,6 +253,15 @@ module Google
|
|
247
253
|
end
|
248
254
|
end
|
249
255
|
|
256
|
+
class ListAvailableVersionsResponse
|
257
|
+
# @private
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
+
collection :available_versions, as: 'availableVersions', class: Google::Apis::DatafusionV1beta1::Version, decorator: Google::Apis::DatafusionV1beta1::Version::Representation
|
260
|
+
|
261
|
+
property :next_page_token, as: 'nextPageToken'
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
250
265
|
class ListInstancesResponse
|
251
266
|
# @private
|
252
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -378,6 +393,7 @@ module Google
|
|
378
393
|
class Version
|
379
394
|
# @private
|
380
395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
396
|
+
property :default_version, as: 'defaultVersion'
|
381
397
|
property :version_number, as: 'versionNumber'
|
382
398
|
end
|
383
399
|
end
|
@@ -241,6 +241,9 @@ module Google
|
|
241
241
|
# Requests for policies with any conditional bindings must specify version 3.
|
242
242
|
# Policies without any conditional bindings may specify any valid value or
|
243
243
|
# leave the field unset.
|
244
|
+
# To learn which resources support conditions in their IAM policies, see the
|
245
|
+
# [IAM
|
246
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
244
247
|
# @param [String] fields
|
245
248
|
# Selector specifying which fields to include in a partial response.
|
246
249
|
# @param [String] quota_user
|
@@ -394,7 +397,7 @@ module Google
|
|
394
397
|
|
395
398
|
# Sets the access control policy on the specified resource. Replaces any
|
396
399
|
# existing policy.
|
397
|
-
# Can return
|
400
|
+
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
398
401
|
# @param [String] resource
|
399
402
|
# REQUIRED: The resource for which the policy is being specified.
|
400
403
|
# See the operation documentation for the appropriate value for this field.
|
@@ -430,7 +433,7 @@ module Google
|
|
430
433
|
|
431
434
|
# Returns permissions that a caller has on the specified resource.
|
432
435
|
# If the resource does not exist, this will return an empty set of
|
433
|
-
# permissions, not a NOT_FOUND error.
|
436
|
+
# permissions, not a `NOT_FOUND` error.
|
434
437
|
# Note: This operation is designed to be used for building permission-aware
|
435
438
|
# UIs and command-line tools, not for authorization checking. This operation
|
436
439
|
# may "fail open" without warning.
|
@@ -657,6 +660,50 @@ module Google
|
|
657
660
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
658
661
|
execute_or_queue_command(command, &block)
|
659
662
|
end
|
663
|
+
|
664
|
+
# Lists possible versions for Data Fusion instances in the specified project
|
665
|
+
# and location.
|
666
|
+
# @param [String] parent
|
667
|
+
# Required. The project and location for which to retrieve instance information
|
668
|
+
# in the format projects/`project`/locations/`location`.
|
669
|
+
# @param [Boolean] latest_patch_only
|
670
|
+
# Whether or not to return the latest patch of every available minor version.
|
671
|
+
# If true, only the latest patch will be returned. Ex. if allowed versions is
|
672
|
+
# [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]
|
673
|
+
# @param [Fixnum] page_size
|
674
|
+
# The maximum number of items to return.
|
675
|
+
# @param [String] page_token
|
676
|
+
# The next_page_token value to use if there are additional
|
677
|
+
# results to retrieve for this list request.
|
678
|
+
# @param [String] fields
|
679
|
+
# Selector specifying which fields to include in a partial response.
|
680
|
+
# @param [String] quota_user
|
681
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
682
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
683
|
+
# @param [Google::Apis::RequestOptions] options
|
684
|
+
# Request-specific options
|
685
|
+
#
|
686
|
+
# @yield [result, err] Result & error if block supplied
|
687
|
+
# @yieldparam result [Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse] parsed result object
|
688
|
+
# @yieldparam err [StandardError] error object if request failed
|
689
|
+
#
|
690
|
+
# @return [Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse]
|
691
|
+
#
|
692
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
693
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
694
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
695
|
+
def list_project_location_versions(parent, latest_patch_only: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
696
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
|
697
|
+
command.response_representation = Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse::Representation
|
698
|
+
command.response_class = Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse
|
699
|
+
command.params['parent'] = parent unless parent.nil?
|
700
|
+
command.query['latestPatchOnly'] = latest_patch_only unless latest_patch_only.nil?
|
701
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
702
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
703
|
+
command.query['fields'] = fields unless fields.nil?
|
704
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
705
|
+
execute_or_queue_command(command, &block)
|
706
|
+
end
|
660
707
|
|
661
708
|
protected
|
662
709
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/display-video/
|
27
27
|
module DisplayvideoV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200611'
|
30
30
|
|
31
31
|
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports
|
32
32
|
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'
|
@@ -2714,7 +2714,7 @@ module Google
|
|
2714
2714
|
# @return [String]
|
2715
2715
|
attr_accessor :js_tracker_url
|
2716
2716
|
|
2717
|
-
# Output only. The IDs of the line items this creative associated with.
|
2717
|
+
# Output only. The IDs of the line items this creative is associated with.
|
2718
2718
|
# To associate a creative to a line item, use
|
2719
2719
|
# LineItem.creative_ids instead.
|
2720
2720
|
# Corresponds to the JSON property `lineItemIds`
|
@@ -615,6 +615,8 @@ module Google
|
|
615
615
|
execute_or_queue_command(command, &block)
|
616
616
|
end
|
617
617
|
|
618
|
+
# Updates an existing inventory source.
|
619
|
+
# Returns the updated inventory source if successful.
|
618
620
|
# Gets a channel for a partner or advertiser.
|
619
621
|
# @param [Fixnum] advertiser_id
|
620
622
|
# The ID of the advertiser that owns the fetched channel.
|
@@ -3949,6 +3951,8 @@ module Google
|
|
3949
3951
|
execute_or_queue_command(command, &block)
|
3950
3952
|
end
|
3951
3953
|
|
3954
|
+
# Updates an existing inventory source.
|
3955
|
+
# Returns the updated inventory source if successful.
|
3952
3956
|
# Gets a channel for a partner or advertiser.
|
3953
3957
|
# @param [Fixnum] partner_id
|
3954
3958
|
# The ID of the partner that owns the fetched channel.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
28
28
|
module DlpV2
|
29
29
|
VERSION = 'V2'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200606'
|
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'
|
@@ -36,7 +36,8 @@ module Google
|
|
36
36
|
# Publish a message into given Pub/Sub topic when DlpJob has completed. The
|
37
37
|
# message contains a single field, `DlpJobName`, which is equal to the
|
38
38
|
# finished job's
|
39
|
-
# [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.
|
39
|
+
# [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
|
40
|
+
# dlpJobs#DlpJob).
|
40
41
|
# Compatible with: Inspect, Risk
|
41
42
|
# Corresponds to the JSON property `pubSub`
|
42
43
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
|
@@ -1576,8 +1577,8 @@ module Google
|
|
1576
1577
|
|
1577
1578
|
# Message for detecting output from deidentification transformations
|
1578
1579
|
# such as
|
1579
|
-
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/
|
1580
|
-
# deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
1580
|
+
# [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
|
1581
|
+
# v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
1581
1582
|
# These types of transformations are
|
1582
1583
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
1583
1584
|
# output. This should be used in conjunction with a field on the
|
@@ -4895,7 +4896,8 @@ module Google
|
|
4895
4896
|
# Publish a message into given Pub/Sub topic when DlpJob has completed. The
|
4896
4897
|
# message contains a single field, `DlpJobName`, which is equal to the
|
4897
4898
|
# finished job's
|
4898
|
-
# [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.
|
4899
|
+
# [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
|
4900
|
+
# dlpJobs#DlpJob).
|
4899
4901
|
# Compatible with: Inspect, Risk
|
4900
4902
|
class GooglePrivacyDlpV2PublishToPubSub
|
4901
4903
|
include Google::Apis::Core::Hashable
|
@@ -5975,8 +5977,8 @@ module Google
|
|
5975
5977
|
|
5976
5978
|
# Message for detecting output from deidentification transformations
|
5977
5979
|
# such as
|
5978
|
-
# [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/
|
5979
|
-
# deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
5980
|
+
# [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
|
5981
|
+
# v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
|
5980
5982
|
# These types of transformations are
|
5981
5983
|
# those that perform pseudonymization, thereby producing a "surrogate" as
|
5982
5984
|
# output. This should be used in conjunction with a field on the
|