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.



46528
46529
46530
# File 'lib/google/apis/compute_v1/classes.rb', line 46528

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)


46526
46527
46528
# File 'lib/google/apis/compute_v1/classes.rb', line 46526

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46533
46534
46535
# File 'lib/google/apis/compute_v1/classes.rb', line 46533

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