Class: Google::Apis::ComputeBeta::BackendServiceHaPolicyLeaderNetworkEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BackendServiceHaPolicyLeaderNetworkEndpoint
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.
5808 5809 5810 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5808 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
5806 5807 5808 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5806 def instance @instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5813 5814 5815 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5813 def update!(**args) @instance = args[:instance] if args.key?(:instance) end |