Class: Google::Apis::ComputeV1::TargetTcpProxiesSetBackendServiceRequest

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) ⇒ TargetTcpProxiesSetBackendServiceRequest

Returns a new instance of TargetTcpProxiesSetBackendServiceRequest.



42607
42608
42609
# File 'lib/google/apis/compute_v1/classes.rb', line 42607

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

Instance Attribute Details

#serviceString

The URL of the new BackendService resource for the targetTcpProxy. Corresponds to the JSON property service

Returns:

  • (String)


42605
42606
42607
# File 'lib/google/apis/compute_v1/classes.rb', line 42605

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42612
42613
42614
# File 'lib/google/apis/compute_v1/classes.rb', line 42612

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