Class: Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RrSetRoutingPolicyLoadBalancerTarget

Returns a new instance of RrSetRoutingPolicyLoadBalancerTarget.



2092
2093
2094
# File 'lib/google/apis/dns_v1/classes.rb', line 2092

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

Instance Attribute Details

#ip_addressString

The frontend IP address of the Corresponds to the JSON property ipAddress

Returns:

  • (String)


2053
2054
2055
# File 'lib/google/apis/dns_v1/classes.rb', line 2053

def ip_address
  @ip_address
end

#ip_protocolString

Corresponds to the JSON property ipProtocol

Returns:

  • (String)


2058
2059
2060
# File 'lib/google/apis/dns_v1/classes.rb', line 2058

def ip_protocol
  @ip_protocol
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


2063
2064
2065
# File 'lib/google/apis/dns_v1/classes.rb', line 2063

def kind
  @kind
end

#load_balancer_typeString

Corresponds to the JSON property loadBalancerType

Returns:

  • (String)


2068
2069
2070
# File 'lib/google/apis/dns_v1/classes.rb', line 2068

def load_balancer_type
  @load_balancer_type
end

#network_urlString

The fully qualified url of the network on which the ILB is Corresponds to the JSON property networkUrl

Returns:

  • (String)


2073
2074
2075
# File 'lib/google/apis/dns_v1/classes.rb', line 2073

def network_url
  @network_url
end

#portString

Load Balancer to health check. The configured port of the Load Balancer. Corresponds to the JSON property port

Returns:

  • (String)


2078
2079
2080
# File 'lib/google/apis/dns_v1/classes.rb', line 2078

def port
  @port
end

#projectString

present. This should be formatted like https://www.googleapis.com/compute/v1/ projects/project/global/networks/network The project ID in which the ILB exists. Corresponds to the JSON property project

Returns:

  • (String)


2085
2086
2087
# File 'lib/google/apis/dns_v1/classes.rb', line 2085

def project
  @project
end

#regionString

The region for regional ILBs. Corresponds to the JSON property region

Returns:

  • (String)


2090
2091
2092
# File 'lib/google/apis/dns_v1/classes.rb', line 2090

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
# File 'lib/google/apis/dns_v1/classes.rb', line 2097

def update!(**args)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
  @kind = args[:kind] if args.key?(:kind)
  @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
  @network_url = args[:network_url] if args.key?(:network_url)
  @port = args[:port] if args.key?(:port)
  @project = args[:project] if args.key?(:project)
  @region = args[:region] if args.key?(:region)
end