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.



34445
34446
34447
# File 'lib/google/apis/compute_v1/classes.rb', line 34445

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)


34443
34444
34445
# File 'lib/google/apis/compute_v1/classes.rb', line 34443

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34450
34451
34452
# File 'lib/google/apis/compute_v1/classes.rb', line 34450

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