Class: Google::Apis::ComputeV1::BackendServiceHaPolicyLeaderNetworkEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::BackendServiceHaPolicyLeaderNetworkEndpoint
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.
5247 5248 5249 |
# File 'lib/google/apis/compute_v1/classes.rb', line 5247 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
5245 5246 5247 |
# File 'lib/google/apis/compute_v1/classes.rb', line 5245 def instance @instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5252 5253 5254 |
# File 'lib/google/apis/compute_v1/classes.rb', line 5252 def update!(**args) @instance = args[:instance] if args.key?(:instance) end |