Class: Google::Apis::ApimV1alpha::GclbObservationSource

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

Overview

The GCLB observation source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GclbObservationSource

Returns a new instance of GclbObservationSource.



275
276
277
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 275

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

Instance Attribute Details

#psc_network_configsArray<Google::Apis::ApimV1alpha::GclbObservationSourcePscNetworkConfig>

Required. The VPC networks where traffic will be observed. All load balancers within this network will be observed. Currently, this is limited to only one network. Corresponds to the JSON property pscNetworkConfigs



273
274
275
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 273

def psc_network_configs
  @psc_network_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 280

def update!(**args)
  @psc_network_configs = args[:psc_network_configs] if args.key?(:psc_network_configs)
end