Autogenerated update (2018-11-17)

Update:
- appengine_v1
- clouddebugger_v2
- dns_v1beta2
- firebasehosting_v1beta1
- fitness_v1
- games_management_v1management
- games_v1
- jobs_v2
- jobs_v3
- jobs_v3p1beta1
- servicenetworking_v1beta
- storage_v1
This commit is contained in:
Google APIs committed 2018-11-17 00:36:21 +00:00
1 parent afcac054bf
commit 919e8d0241
32 files changed
+1113 -65

No files matched your search

@@ -73,6 +73,11 @@ module Google
# @return [String]
attr_accessor :etag
# The bucket's IAM configuration.
# Corresponds to the JSON property `iamConfiguration`
# @return [Google::Apis::StorageV1::Bucket::IamConfiguration]
attr_accessor :iam_configuration
# The ID of the bucket. For buckets, the id and name properties are the same.
# Corresponds to the JSON property `id`
# @return [String]
@@ -190,6 +195,7 @@ module Google
@default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl)
@encryption = args[:encryption] if args.key?(:encryption)
@etag = args[:etag] if args.key?(:etag)
@iam_configuration = args[:iam_configuration] if args.key?(:iam_configuration)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@labels = args[:labels] if args.key?(:labels)
@@ -291,6 +297,54 @@ module Google
end
end
# The bucket's IAM configuration.
class IamConfiguration
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `bucketPolicyOnly`
# @return [Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly]
attr_accessor :bucket_policy_only
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bucket_policy_only = args[:bucket_policy_only] if args.key?(:bucket_policy_only)
end
#
class BucketPolicyOnly
include Google::Apis::Core::Hashable
# If set, access checks only use bucket-level IAM policies or above.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# The deadline time for changing iamConfiguration.bucketPolicyOnly.enabled from
# true to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled
# may be changed from true to false until the locked time, after which the field
# is immutable.
# Corresponds to the JSON property `lockedTime`
# @return [DateTime]
attr_accessor :locked_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
@locked_time = args[:locked_time] if args.key?(:locked_time)
end
end
end
# The bucket's lifecycle configuration. See lifecycle management for more
# information.
class Lifecycle
@@ -43,6 +43,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class IamConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end
class BucketPolicyOnly
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class Lifecycle
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -247,6 +259,8 @@ module Google
property :encryption, as: 'encryption', class: Google::Apis::StorageV1::Bucket::Encryption, decorator: Google::Apis::StorageV1::Bucket::Encryption::Representation
property :etag, as: 'etag'
property :iam_configuration, as: 'iamConfiguration', class: Google::Apis::StorageV1::Bucket::IamConfiguration, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::Representation
property :id, as: 'id'
property :kind, as: 'kind'
hash :labels, as: 'labels'
@@ -298,6 +312,23 @@ module Google
end
end
class IamConfiguration
# @private
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
end
class BucketPolicyOnly
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
property :locked_time, as: 'lockedTime', type: DateTime
end
end
end
class Lifecycle
# @private
class Representation < Google::Apis::Core::JsonRepresentation