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.
4858 4859 4860 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backend_group ⇒ String
Setting backendGroup is not supported.
Corresponds to the JSON property backendGroup
4851 4852 4853 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4851 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
4856 4857 4858 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4856 def network_endpoint @network_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4863 4864 4865 4866 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 4863 def update!(**args) @backend_group = args[:backend_group] if args.key?(:backend_group) @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint) end |