Class: Google::Apis::NetworkmanagementV1beta1::GkeMasterInfo

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GkeMasterInfo

Returns a new instance of GkeMasterInfo.



766
767
768
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 766

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

Instance Attribute Details

#cluster_network_uriString

URI of a Google Kubernetes Engine cluster network. Corresponds to the JSON property clusterNetworkUri

Returns:

  • (String)


749
750
751
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 749

def cluster_network_uri
  @cluster_network_uri
end

#cluster_uriString

URI of a Google Kubernetes Engine cluster. Corresponds to the JSON property clusterUri

Returns:

  • (String)


754
755
756
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 754

def cluster_uri
  @cluster_uri
end

#external_ipString

External IP address of a Google Kubernetes Engine cluster master. Corresponds to the JSON property externalIp

Returns:

  • (String)


759
760
761
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 759

def external_ip
  @external_ip
end

#internal_ipString

Internal IP address of a Google Kubernetes Engine cluster master. Corresponds to the JSON property internalIp

Returns:

  • (String)


764
765
766
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 764

def internal_ip
  @internal_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



771
772
773
774
775
776
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 771

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