Class: Google::Apis::NetworkmanagementV1::GkeMasterInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb

Overview

For display only. Metadata associated with a Google Kubernetes Engine (GKE) cluster master.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GkeMasterInfo

Returns a new instance of GkeMasterInfo.



1460
1461
1462
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1460

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cluster_network_uriString

URI of the GKE cluster network. Format: projects/project_id/global/networks/ network_id` Corresponds to the JSON propertyclusterNetworkUri`

Returns:

  • (String)


1436
1437
1438
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1436

def cluster_network_uri
  @cluster_network_uri
end

#cluster_uriString

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

Returns:

  • (String)


1443
1444
1445
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1443

def cluster_uri
  @cluster_uri
end

#dns_endpointString

DNS endpoint of a GKE cluster control plane. Corresponds to the JSON property dnsEndpoint

Returns:

  • (String)


1448
1449
1450
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1448

def dns_endpoint
  @dns_endpoint
end

#external_ipString

External IP address of a GKE cluster control plane. Corresponds to the JSON property externalIp

Returns:

  • (String)


1453
1454
1455
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1453

def external_ip
  @external_ip
end

#internal_ipString

Internal IP address of a GKE cluster control plane. Corresponds to the JSON property internalIp

Returns:

  • (String)


1458
1459
1460
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1458

def internal_ip
  @internal_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1465
1466
1467
1468
1469
1470
1471
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1465

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