Class: Ansible::Ruby::Modules::Gcp_compute_backend_bucket
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_backend_bucket
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_backend_bucket.rb
Overview
Backend buckets allow you to use Google Cloud Storage buckets with HTTP(S) load balancing. An HTTP(S) load balancer can direct traffic to specified URLs to a backend bucket rather than a backend service. It can send requests for static content to a Cloud Storage bucket and requests for dynamic content a virtual machine instance.
Instance Method Summary collapse
-
#bucket_name ⇒ String
Cloud Storage bucket name.
-
#description ⇒ String?
An optional textual description of the resource; provided by the client when the resource is created.
-
#enable_cdn ⇒ Symbol?
If true, enable Cloud CDN for this BackendBucket.
-
#name ⇒ String
Name of the resource.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#bucket_name ⇒ String
Returns Cloud Storage bucket name.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_backend_bucket.rb', line 17 attribute :bucket_name |
#description ⇒ String?
Returns An optional textual description of the resource; provided by the client when the resource is created.
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_backend_bucket.rb', line 21 attribute :description |
#enable_cdn ⇒ Symbol?
Returns If true, enable Cloud CDN for this BackendBucket.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_backend_bucket.rb', line 25 attribute :enable_cdn |
#name ⇒ String
Returns Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression ‘[a-z](*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_backend_bucket.rb', line 29 attribute :name |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_backend_bucket.rb', line 13 attribute :state |