Class: Google::Apis::CloudtasksV2beta2::PullTaskTarget
- Inherits:
-
Object
- Object
- Google::Apis::CloudtasksV2beta2::PullTaskTarget
- Defined in:
- generated/google/apis/cloudtasks_v2beta2/classes.rb,
generated/google/apis/cloudtasks_v2beta2/representations.rb,
generated/google/apis/cloudtasks_v2beta2/representations.rb
Overview
Deprecated. Use PullMessage.
Instance Attribute Summary collapse
-
#payload ⇒ String
Deprecated.
-
#tag ⇒ String
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PullTaskTarget
constructor
A new instance of PullTaskTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PullTaskTarget
Returns a new instance of PullTaskTarget
915 916 917 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 915 def initialize(**args) update!(**args) end |
Instance Attribute Details
#payload ⇒ String
Deprecated. Use PullMessage.payload.
Corresponds to the JSON property payload
NOTE: Values are automatically base64 encoded/decoded in the client library.
907 908 909 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 907 def payload @payload end |
#tag ⇒ String
Deprecated. Use PullMessage.tag.
Corresponds to the JSON property tag
NOTE: Values are automatically base64 encoded/decoded in the client library.
913 914 915 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 913 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
920 921 922 923 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 920 def update!(**args) @payload = args[:payload] if args.key?(:payload) @tag = args[:tag] if args.key?(:tag) end |