Class: Google::Apis::NetworkmanagementV1beta1::GkeMasterInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::GkeMasterInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb
Overview
For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.
Instance Attribute Summary collapse
-
#cluster_network_uri ⇒ String
URI of the GKE cluster network.
-
#cluster_uri ⇒ String
URI of the GKE cluster.
-
#dns_endpoint ⇒ String
DNS endpoint of a GKE cluster control plane.
-
#external_ip ⇒ String
External IP address of a GKE cluster control plane.
-
#internal_ip ⇒ String
Internal IP address of a GKE cluster control plane.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GkeMasterInfo
constructor
A new instance of GkeMasterInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GkeMasterInfo
Returns a new instance of GkeMasterInfo.
1468 1469 1470 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_network_uri ⇒ String
URI of the GKE cluster network. Format: projects/project_id/global/networks/
network_id`
Corresponds to the JSON propertyclusterNetworkUri`
1444 1445 1446 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1444 def cluster_network_uri @cluster_network_uri end |
#cluster_uri ⇒ String
URI of the GKE cluster. Format: * projects/project_id/locations/location/
clusters/cluster_id(regional cluster) * `projects/`project_id`/zones/`zone`
/clusters/`cluster_id (zonal cluster)
Corresponds to the JSON property clusterUri
1451 1452 1453 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1451 def cluster_uri @cluster_uri end |
#dns_endpoint ⇒ String
DNS endpoint of a GKE cluster control plane.
Corresponds to the JSON property dnsEndpoint
1456 1457 1458 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1456 def dns_endpoint @dns_endpoint end |
#external_ip ⇒ String
External IP address of a GKE cluster control plane.
Corresponds to the JSON property externalIp
1461 1462 1463 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1461 def external_ip @external_ip end |
#internal_ip ⇒ String
Internal IP address of a GKE cluster control plane.
Corresponds to the JSON property internalIp
1466 1467 1468 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1466 def internal_ip @internal_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1473 1474 1475 1476 1477 1478 1479 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1473 def update!(**args) @cluster_network_uri = args[:cluster_network_uri] if args.key?(:cluster_network_uri) @cluster_uri = args[:cluster_uri] if args.key?(:cluster_uri) @dns_endpoint = args[:dns_endpoint] if args.key?(:dns_endpoint) @external_ip = args[:external_ip] if args.key?(:external_ip) @internal_ip = args[:internal_ip] if args.key?(:internal_ip) end |