Class: Google::Apis::ComputeAlpha::BackendServiceReference

Inherits:
Object
  • Object
show all
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 Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendServiceReference

Returns a new instance of BackendServiceReference.



5161
5162
5163
# File 'lib/google/apis/compute_alpha/classes.rb', line 5161

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backend_serviceString

Corresponds to the JSON property backendService

Returns:

  • (String)


5159
5160
5161
# File 'lib/google/apis/compute_alpha/classes.rb', line 5159

def backend_service
  @backend_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5166
5167
5168
# File 'lib/google/apis/compute_alpha/classes.rb', line 5166

def update!(**args)
  @backend_service = args[:backend_service] if args.key?(:backend_service)
end