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.



2095
2096
2097
# File 'lib/google/apis/dns_v1/classes.rb', line 2095

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)


2056
2057
2058
# File 'lib/google/apis/dns_v1/classes.rb', line 2056

def ip_address
  @ip_address
end

#ip_protocolString

Corresponds to the JSON property ipProtocol

Returns:

  • (String)


2061
2062
2063
# File 'lib/google/apis/dns_v1/classes.rb', line 2061

def ip_protocol
  @ip_protocol
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


2066
2067
2068
# File 'lib/google/apis/dns_v1/classes.rb', line 2066

def kind
  @kind
end

#load_balancer_typeString

Corresponds to the JSON property loadBalancerType

Returns:

  • (String)


2071
2072
2073
# File 'lib/google/apis/dns_v1/classes.rb', line 2071

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)


2076
2077
2078
# File 'lib/google/apis/dns_v1/classes.rb', line 2076

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)


2081
2082
2083
# File 'lib/google/apis/dns_v1/classes.rb', line 2081

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)


2088
2089
2090
# File 'lib/google/apis/dns_v1/classes.rb', line 2088

def project
  @project
end

#regionString

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

Returns:

  • (String)


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

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
# File 'lib/google/apis/dns_v1/classes.rb', line 2100

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