Class: Google::Apis::ComputeV1::BackendServiceReference

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BackendServiceReference

Returns a new instance of BackendServiceReference.


3366
3367
3368
# File 'generated/google/apis/compute_v1/classes.rb', line 3366

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

Instance Attribute Details

#backend_serviceString

Corresponds to the JSON property backendService

Returns:

  • (String)

3364
3365
3366
# File 'generated/google/apis/compute_v1/classes.rb', line 3364

def backend_service
  @backend_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3371
3372
3373
# File 'generated/google/apis/compute_v1/classes.rb', line 3371

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