Class: Ansible::Ruby::Modules::Gcp_compute_backend_bucket

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_nameString

Returns Cloud Storage bucket name.

Returns:

  • (String)

    Cloud Storage bucket name.



17
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_backend_bucket.rb', line 17

attribute :bucket_name

#descriptionString?

Returns An optional textual description of the resource; provided by the client when the resource is created.

Returns:

  • (String, nil)

    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_cdnSymbol?

Returns If true, enable Cloud CDN for this BackendBucket.

Returns:

  • (Symbol, nil)

    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

#nameString

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.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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