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 AppEngineHttpTarget 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

Constructor Details

#initialize(**args) ⇒ AppEngineHttpTarget

Returns a new instance of AppEngineHttpTarget.



187
188
189
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 187

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

Instance Attribute Details

#app_engine_routing_overrideGoogle::Apis::CloudtasksV2beta2::AppEngineRouting

App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. 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



185
186
187
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 185

def app_engine_routing_override
  @app_engine_routing_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



192
193
194
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 192

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