Class: Ansible::Ruby::Modules::Gcp_compute_target_tcp_proxy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_compute_target_tcp_proxy
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_target_tcp_proxy.rb
Overview
Represents a TargetTcpProxy resource, which is used by one or more global forwarding rule to route incoming TCP requests to a Backend service.
Instance Method Summary collapse
-
#description ⇒ Object?
An optional description of this resource.
-
#name ⇒ String
Name of the resource.
-
#proxy_header ⇒ :NONE, ...
Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
-
#service ⇒ String
A reference to the BackendService 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
#description ⇒ Object?
Returns An optional description of this resource.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_target_tcp_proxy.rb', line 16 attribute :description |
#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.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_target_tcp_proxy.rb', line 19 attribute :name |
#proxy_header ⇒ :NONE, ...
Returns Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_target_tcp_proxy.rb', line 23 attribute :proxy_header |
#service ⇒ String
Returns A reference to the BackendService resource.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_target_tcp_proxy.rb', line 27 attribute :service |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_target_tcp_proxy.rb', line 12 attribute :state |