Class: Google::Apis::CloudtasksV2::QueryOverride

Inherits:
Object
  • Object
show all
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

QueryOverride. Query message defines query override for HTTP targets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueryOverride

Returns a new instance of QueryOverride.



1180
1181
1182
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 1180

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

Instance Attribute Details

#query_paramsString

The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. Corresponds to the JSON property queryParams

Returns:

  • (String)


1178
1179
1180
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 1178

def query_params
  @query_params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1185
1186
1187
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 1185

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