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
The name of the VM instance of the leader network endpoint.
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.
6103 6104 6105 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ String
The name of the VM instance of the leader network endpoint. The
instance must already be attached to the NEG specified in the
haPolicy.leader.backendGroup.
The name must be 1-63 characters long, and comply with RFC1035.
Authorization requires the following IAM permission on the
specified resource instance: compute.instances.use
Corresponds to the JSON property instance
6101 6102 6103 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6101 def instance @instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6108 6109 6110 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 6108 def update!(**args) @instance = args[:instance] if args.key?(:instance) end |