Class: Google::Apis::ManagerV1beta2::LbModuleStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LbModuleStatus

Returns a new instance of LbModuleStatus



596
597
598
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 596

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

Instance Attribute Details

#forwarding_rule_urlString

[Output Only] The URL of the corresponding ForwardingRule in GCE. Corresponds to the JSON property forwardingRuleUrl

Returns:

  • (String)


589
590
591
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 589

def forwarding_rule_url
  @forwarding_rule_url
end

#target_pool_urlString

[Output Only] The URL of the corresponding TargetPool resource in GCE. Corresponds to the JSON property targetPoolUrl

Returns:

  • (String)


594
595
596
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 594

def target_pool_url
  @target_pool_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



601
602
603
604
# File 'generated/google/apis/manager_v1beta2/classes.rb', line 601

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