Class: Google::Apis::NetworkmanagementV1::GkeMasterInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::GkeMasterInfo
- 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
-
#cluster_network_uri ⇒ String
URI of a GKE cluster network.
-
#cluster_uri ⇒ String
URI of a GKE cluster.
-
#external_ip ⇒ String
External IP address of a GKE cluster master.
-
#internal_ip ⇒ String
Internal IP address of a GKE cluster master.
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.
1138 1139 1140 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_network_uri ⇒ String
URI of a GKE cluster network.
Corresponds to the JSON property clusterNetworkUri
1121 1122 1123 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1121 def cluster_network_uri @cluster_network_uri end |
#cluster_uri ⇒ String
URI of a GKE cluster.
Corresponds to the JSON property clusterUri
1126 1127 1128 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1126 def cluster_uri @cluster_uri end |
#external_ip ⇒ String
External IP address of a GKE cluster master.
Corresponds to the JSON property externalIp
1131 1132 1133 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1131 def external_ip @external_ip end |
#internal_ip ⇒ String
Internal IP address of a GKE cluster master.
Corresponds to the JSON property internalIp
1136 1137 1138 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1136 def internal_ip @internal_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1143 1144 1145 1146 1147 1148 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1143 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) @external_ip = args[:external_ip] if args.key?(:external_ip) @internal_ip = args[:internal_ip] if args.key?(:internal_ip) end |