Class: Google::Apis::CloudtasksV2beta2::PathOverride

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

Overview

PathOverride. Path message defines path override for HTTP targets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathOverride

Returns a new instance of PathOverride.



1219
1220
1221
# File 'lib/google/apis/cloudtasks_v2beta2/classes.rb', line 1219

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

Instance Attribute Details

#pathString

The URI path (e.g., /users/1234). Default is an empty string. Corresponds to the JSON property path

Returns:

  • (String)


1217
1218
1219
# File 'lib/google/apis/cloudtasks_v2beta2/classes.rb', line 1217

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1224
1225
1226
# File 'lib/google/apis/cloudtasks_v2beta2/classes.rb', line 1224

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