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

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.



245
246
247
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 245

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



243
244
245
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 243

def app_engine_routing_override
  @app_engine_routing_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



250
251
252
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 250

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