Class: Google::Apis::CloudtasksV2beta3::AppEngineHttpQueue

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

Overview

App Engine HTTP queue. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpQueue and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpQueue 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) ⇒ AppEngineHttpQueue

Returns a new instance of AppEngineHttpQueue



63
64
65
# File 'generated/google/apis/cloudtasks_v2beta3/classes.rb', line 63

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

Instance Attribute Details

#app_engine_routing_overrideGoogle::Apis::CloudtasksV2beta3::AppEngineRouting

App Engine Routing. Specifies the target URI. Since this target type dispatches tasks to secure app handlers, unsecure app handlers, and URIs restricted with login: admin the protocol (for example, HTTP or HTTPS) cannot be explictly specified. Task dispatches do not follow redirects and cannot target URI paths restricted with login: required because tasks are not run as any user. 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



61
62
63
# File 'generated/google/apis/cloudtasks_v2beta3/classes.rb', line 61

def app_engine_routing_override
  @app_engine_routing_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



68
69
70
# File 'generated/google/apis/cloudtasks_v2beta3/classes.rb', line 68

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