Class: Google::Apis::MetastoreV1alpha::Consumer
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::Consumer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Contains information of the customer's network configurations.
Instance Attribute Summary collapse
-
#endpoint_uri ⇒ String
Output only.
-
#subnetwork ⇒ String
The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Consumer
constructor
A new instance of Consumer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Consumer
Returns a new instance of Consumer.
242 243 244 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint_uri ⇒ String
Output only. The URI of the endpoint used to access the metastore service.
Corresponds to the JSON property endpointUri
230 231 232 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 230 def endpoint_uri @endpoint_uri end |
#subnetwork ⇒ String
The subnetwork of the customer project from which an IP address is reserved
and used as the Dataproc Metastore service's endpoint. It is accessible to
hosts in the subnet and to all hosts in a subnet in the same region and same
network. There must be at least one IP address available in the subnet's
primary range. The subnet is specified in the following form:projects/
project_number/regions/region_id/subnetworks/subnetwork_id
Corresponds to the JSON propertysubnetwork`
240 241 242 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 240 def subnetwork @subnetwork end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
247 248 249 250 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 247 def update!(**args) @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end |