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.



42950
42951
42952
# File 'lib/google/apis/compute_alpha/classes.rb', line 42950

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)


42948
42949
42950
# File 'lib/google/apis/compute_alpha/classes.rb', line 42948

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42955
42956
42957
# File 'lib/google/apis/compute_alpha/classes.rb', line 42955

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