Class: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget

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

Overview

App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using this type of queue configuration requires appengine.applications.get Google IAM permission for the project and the following scope: https://www.googleapis.com/auth/cloud-platform

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AppEngineHttpTarget

Returns a new instance of AppEngineHttpTarget



204
205
206
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 204

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

Instance Attribute Details

#app_engine_routing_overrideGoogle::Apis::CloudtasksV2beta2::AppEngineRouting

App Engine Routing. For more information about services, versions, and instances see An Overview of App Engine, Microservices Architecture on Google App Engine, App Engine Standard request routing, and App Engine Flex request routing. Corresponds to the JSON property appEngineRoutingOverride



202
203
204
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 202

def app_engine_routing_override
  @app_engine_routing_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



209
210
211
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 209

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