Class: Google::Apis::ComputeAlpha::TargetTcpProxiesSetBackendServiceRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetTcpProxiesSetBackendServiceRequest

Returns a new instance of TargetTcpProxiesSetBackendServiceRequest.



42922
42923
42924
# File 'lib/google/apis/compute_alpha/classes.rb', line 42922

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)


42920
42921
42922
# File 'lib/google/apis/compute_alpha/classes.rb', line 42920

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42927
42928
42929
# File 'lib/google/apis/compute_alpha/classes.rb', line 42927

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