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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendServiceReference

Returns a new instance of BackendServiceReference.



4695
4696
4697
# File 'lib/google/apis/compute_v1/classes.rb', line 4695

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

Instance Attribute Details

#backend_serviceString

Corresponds to the JSON property backendService

Returns:

  • (String)


4693
4694
4695
# File 'lib/google/apis/compute_v1/classes.rb', line 4693

def backend_service
  @backend_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4700
4701
4702
# File 'lib/google/apis/compute_v1/classes.rb', line 4700

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