Class: Google::Apis::ComputeBeta::BackendServiceReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackendServiceReference

Returns a new instance of BackendServiceReference.



4769
4770
4771
# File 'lib/google/apis/compute_beta/classes.rb', line 4769

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

Instance Attribute Details

#backend_serviceString

Corresponds to the JSON property backendService

Returns:

  • (String)


4767
4768
4769
# File 'lib/google/apis/compute_beta/classes.rb', line 4767

def backend_service
  @backend_service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4774
4775
4776
# File 'lib/google/apis/compute_beta/classes.rb', line 4774

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