Class: Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeaderNetworkEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeaderNetworkEndpoint
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#instance ⇒ String
Specifying the instance name of a leader is not supported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceHaPolicyLeaderNetworkEndpoint
constructor
A new instance of BackendServiceHaPolicyLeaderNetworkEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendServiceHaPolicyLeaderNetworkEndpoint
Returns a new instance of BackendServiceHaPolicyLeaderNetworkEndpoint.
4552 4553 4554 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4552 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ String
Specifying the instance name of a leader is not supported.
Corresponds to the JSON property instance
4550 4551 4552 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4550 def instance @instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4557 4558 4559 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4557 def update!(**args) @instance = args[:instance] if args.key?(:instance) end |