Class: Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeader
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeader
- 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
-
#backend_group ⇒ String
Setting backendGroup is not supported.
-
#network_endpoint ⇒ Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeaderNetworkEndpoint
Setting a network endpoint as leader is not supported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceHaPolicyLeader
constructor
A new instance of BackendServiceHaPolicyLeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendServiceHaPolicyLeader
Returns a new instance of BackendServiceHaPolicyLeader.
4861 4862 4863 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4861 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backend_group ⇒ String
Setting backendGroup is not supported.
Corresponds to the JSON property backendGroup
4854 4855 4856 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4854 def backend_group @backend_group end |
#network_endpoint ⇒ Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeaderNetworkEndpoint
Setting a network endpoint as leader is not supported.
Corresponds to the JSON property networkEndpoint
4859 4860 4861 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4859 def network_endpoint @network_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4866 4867 4868 4869 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4866 def update!(**args) @backend_group = args[:backend_group] if args.key?(:backend_group) @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint) end |