diff --git a/api_names_out.yaml b/api_names_out.yaml index 4198e3ceb5e..458eb2566ea 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -144421,6 +144421,7 @@ "/storage:v1/Bucket/iamConfiguration/bucketPolicyOnly": bucket_policy_only "/storage:v1/Bucket/iamConfiguration/bucketPolicyOnly/enabled": enabled "/storage:v1/Bucket/iamConfiguration/bucketPolicyOnly/lockedTime": locked_time +"/storage:v1/Bucket/iamConfiguration/publicAccessPrevention": public_access_prevention "/storage:v1/Bucket/iamConfiguration/uniformBucketLevelAccess": uniform_bucket_level_access "/storage:v1/Bucket/iamConfiguration/uniformBucketLevelAccess/enabled": enabled "/storage:v1/Bucket/iamConfiguration/uniformBucketLevelAccess/lockedTime": locked_time diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index 25fc33e23c8..6bb4a35b09e 100644 --- a/generated/google/apis/storage_v1.rb +++ b/generated/google/apis/storage_v1.rb @@ -25,7 +25,7 @@ module Apis # @see https://developers.google.com/storage/docs/json_api/ module StorageV1 VERSION = 'V1' - REVISION = '20201106' + REVISION = '20201112' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storage_v1/classes.rb b/generated/google/apis/storage_v1/classes.rb index ec8f32248ff..03db7ef386f 100644 --- a/generated/google/apis/storage_v1/classes.rb +++ b/generated/google/apis/storage_v1/classes.rb @@ -327,6 +327,12 @@ class IamConfiguration # @return [Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly] attr_accessor :bucket_policy_only + # The bucket's Public Access Prevention configuration. Currently, 'unspecified' + # and 'enforced' are supported. + # Corresponds to the JSON property `publicAccessPrevention` + # @return [String] + attr_accessor :public_access_prevention + # The bucket's uniform bucket-level access configuration. # Corresponds to the JSON property `uniformBucketLevelAccess` # @return [Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess] @@ -339,6 +345,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @bucket_policy_only = args[:bucket_policy_only] if args.key?(:bucket_policy_only) + @public_access_prevention = args[:public_access_prevention] if args.key?(:public_access_prevention) @uniform_bucket_level_access = args[:uniform_bucket_level_access] if args.key?(:uniform_bucket_level_access) end diff --git a/generated/google/apis/storage_v1/representations.rb b/generated/google/apis/storage_v1/representations.rb index f318afc86a0..6d52a10f7fb 100644 --- a/generated/google/apis/storage_v1/representations.rb +++ b/generated/google/apis/storage_v1/representations.rb @@ -349,6 +349,7 @@ class IamConfiguration class Representation < Google::Apis::Core::JsonRepresentation property :bucket_policy_only, as: 'bucketPolicyOnly', class: Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly::Representation + property :public_access_prevention, as: 'publicAccessPrevention' property :uniform_bucket_level_access, as: 'uniformBucketLevelAccess', class: Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess::Representation end diff --git a/generated/google/apis/storage_v1/synth.metadata b/generated/google/apis/storage_v1/synth.metadata index c0bf7ccbc4d..8b51c41a5b7 100644 --- a/generated/google/apis/storage_v1/synth.metadata +++ b/generated/google/apis/storage_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "1c69cd4744086d45d65912be897334c9c1e6e20d" + "sha": "fd68d8388ddace483f1cff77d52a03934f656362" } } ]