Class: Google::Apis::NetworkmanagementV1beta1::RedisInstanceInfo

Inherits:
Object
  • Object
show all
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 Cloud Redis Instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RedisInstanceInfo

Returns a new instance of RedisInstanceInfo.



2879
2880
2881
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2879

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

Instance Attribute Details

#display_nameString

Name of a Cloud Redis Instance. Corresponds to the JSON property displayName

Returns:

  • (String)


2852
2853
2854
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2852

def display_name
  @display_name
end

#network_uriString

URI of a Cloud Redis Instance network. Corresponds to the JSON property networkUri

Returns:

  • (String)


2857
2858
2859
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2857

def network_uri
  @network_uri
end

#primary_endpoint_ipString

Primary endpoint IP address of a Cloud Redis Instance. Corresponds to the JSON property primaryEndpointIp

Returns:

  • (String)


2862
2863
2864
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2862

def primary_endpoint_ip
  @primary_endpoint_ip
end

#read_endpoint_ipString

Read endpoint IP address of a Cloud Redis Instance (if applicable). Corresponds to the JSON property readEndpointIp

Returns:

  • (String)


2867
2868
2869
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2867

def read_endpoint_ip
  @read_endpoint_ip
end

#regionString

Region in which the Cloud Redis Instance is defined. Corresponds to the JSON property region

Returns:

  • (String)


2872
2873
2874
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2872

def region
  @region
end

#uriString

URI of a Cloud Redis Instance. Corresponds to the JSON property uri

Returns:

  • (String)


2877
2878
2879
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2877

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2884
2885
2886
2887
2888
2889
2890
2891
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 2884

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @network_uri = args[:network_uri] if args.key?(:network_uri)
  @primary_endpoint_ip = args[:primary_endpoint_ip] if args.key?(:primary_endpoint_ip)
  @read_endpoint_ip = args[:read_endpoint_ip] if args.key?(:read_endpoint_ip)
  @region = args[:region] if args.key?(:region)
  @uri = args[:uri] if args.key?(:uri)
end