Class: Ansible::Ruby::Modules::Gcp_storage_bucket
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_storage_bucket
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb
Overview
The Buckets resource represents a bucket in Google Cloud Storage. There is a single global namespace shared by all buckets. For more information, see Bucket Name Requirements. Buckets contain objects which can be accessed by their own methods. In addition to the acl property, buckets contain bucketAccessControls, for use in fine-grained manipulation of an existing bucket’s access controls. A bucket is always owned by the project team owners group.
Instance Method Summary collapse
-
#acl ⇒ Object?
Access controls on the bucket.
-
#cors ⇒ Object?
The bucket’s Cross-Origin Resource Sharing (CORS) configuration.
-
#default_object_acl ⇒ Object?
Default access controls to apply to new objects when no ACL is provided.
-
#lifecycle ⇒ Object?
The bucket’s lifecycle configuration.,See U(developers.google.com/storage/docs/lifecycle) for more information.
-
#location ⇒ Object?
The location of the bucket.
-
#logging ⇒ Object?
The bucket’s logging configuration, which defines the destination bucket and optional name prefix for the current bucket’s logs.
-
#metageneration ⇒ Object?
The metadata generation of this bucket.
-
#name ⇒ String?
The name of the bucket.
-
#owner ⇒ Object?
The owner of the bucket.
-
#predefined_default_object_acl ⇒ :authenticatedRead, ...
Apply a predefined set of default object access controls to this bucket.,Acceptable values are: - “authenticatedRead”: Object owner gets OWNER access, and allAuthenticatedUsers get READER access.,- “bucketOwnerFullControl”: Object owner gets OWNER access, and project team owners get OWNER access.,- “bucketOwnerRead”: Object owner gets OWNER access, and project team owners get READER access.,- “private”: Object owner gets OWNER access.,- “projectPrivate”: Object owner gets OWNER access, and project team members get access according to their roles.,- “publicRead”: Object owner gets OWNER access, and allUsers get READER access.
-
#project ⇒ String?
A valid API project identifier.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#storage_class ⇒ :MULTI_REGIONAL, ...
The bucket’s default storage class, used whenever no storageClass is specified for a newly-created object.
-
#versioning ⇒ Object?
The bucket’s versioning configuration.
-
#website ⇒ Object?
The bucket’s website configuration, controlling how the service behaves when accessing bucket contents as a web site.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#acl ⇒ Object?
18 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 18 attribute :acl |
#cors ⇒ Object?
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 21 attribute :cors |
#default_object_acl ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 24 attribute :default_object_acl |
#lifecycle ⇒ Object?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 27 attribute :lifecycle |
#location ⇒ Object?
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 30 attribute :location |
#logging ⇒ Object?
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 33 attribute :logging |
#metageneration ⇒ Object?
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 36 attribute :metageneration |
#name ⇒ String?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 39 attribute :name |
#owner ⇒ Object?
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 43 attribute :owner |
#predefined_default_object_acl ⇒ :authenticatedRead, ...
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 60 attribute :predefined_default_object_acl |
#project ⇒ String?
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 56 attribute :project |
#state ⇒ :present, ...
14 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 14 attribute :state |
#storage_class ⇒ :MULTI_REGIONAL, ...
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 46 attribute :storage_class |
#versioning ⇒ Object?
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 50 attribute :versioning |
#website ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_storage_bucket.rb', line 53 attribute :website |