Class: Google::Apis::CloudtasksV2::PathOverride
- Inherits:
-
Object
- Object
- Google::Apis::CloudtasksV2::PathOverride
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudtasks_v2/classes.rb,
lib/google/apis/cloudtasks_v2/representations.rb,
lib/google/apis/cloudtasks_v2/representations.rb
Overview
PathOverride. Path message defines path override for HTTP targets.
Instance Attribute Summary collapse
-
#path ⇒ String
The URI path (e.g., /users/1234).
Instance Method Summary collapse
-
#initialize(**args) ⇒ PathOverride
constructor
A new instance of PathOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PathOverride
Returns a new instance of PathOverride.
1045 1046 1047 |
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 1045 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
The URI path (e.g., /users/1234). Default is an empty string.
Corresponds to the JSON property path
1043 1044 1045 |
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 1043 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1050 1051 1052 |
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 1050 def update!(**args) @path = args[:path] if args.key?(:path) end |