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.



3306
3307
3308
# File 'generated/google/apis/compute_v1/classes.rb', line 3306

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

Instance Attribute Details

#backend_serviceString

Corresponds to the JSON property backendService

Returns:

  • (String)


3304
3305
3306
# File 'generated/google/apis/compute_v1/classes.rb', line 3304

def backend_service
  @backend_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3311
3312
3313
# File 'generated/google/apis/compute_v1/classes.rb', line 3311

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