Class: Google::Apis::DataprocV1beta2::EndpointConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::EndpointConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb
Overview
Endpoint config for this cluster
Instance Attribute Summary collapse
-
#enable_http_port_access ⇒ Boolean
(also: #enable_http_port_access?)
Optional.
-
#http_ports ⇒ Hash<String,String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndpointConfig
constructor
A new instance of EndpointConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EndpointConfig
Returns a new instance of EndpointConfig.
854 855 856 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_http_port_access ⇒ Boolean Also known as: enable_http_port_access?
Optional. If true, enable http access to specific ports on the cluster from
external sources. Defaults to false.
Corresponds to the JSON property enableHttpPortAccess
845 846 847 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 845 def enable_http_port_access @enable_http_port_access end |
#http_ports ⇒ Hash<String,String>
Output only. The map of port descriptions to URLs. Will only be populated if
enable_http_port_access is true.
Corresponds to the JSON property httpPorts
852 853 854 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 852 def http_ports @http_ports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
859 860 861 862 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 859 def update!(**args) @enable_http_port_access = args[:enable_http_port_access] if args.key?(:enable_http_port_access) @http_ports = args[:http_ports] if args.key?(:http_ports) end |