Class: Google::Cloud::Scheduler::V1beta1::HttpTarget
- Inherits:
-
Object
- Object
- Google::Cloud::Scheduler::V1beta1::HttpTarget
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/scheduler/v1beta1/target.rb
Overview
Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered.
Defined Under Namespace
Classes: HeadersEntry
Instance Attribute Summary collapse
-
#body ⇒ ::String
HTTP request body.
-
#headers ⇒ ::Google::Protobuf::Map{::String => ::String}
The user can specify HTTP request headers to send with the job's HTTP request.
-
#http_method ⇒ ::Google::Cloud::Scheduler::V1beta1::HttpMethod
Which HTTP method to use for the request.
-
#oauth_token ⇒ ::Google::Cloud::Scheduler::V1beta1::OAuthToken
If specified, an OAuth token will be generated and attached as an
Authorizationheader in the HTTP request. -
#oidc_token ⇒ ::Google::Cloud::Scheduler::V1beta1::OidcToken
If specified, an OIDC token will be generated and attached as an
Authorizationheader in the HTTP request. -
#uri ⇒ ::String
Required.
Instance Attribute Details
#body ⇒ ::String
88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 88 class HttpTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class HeadersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#headers ⇒ ::Google::Protobuf::Map{::String => ::String}
88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 88 class HttpTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class HeadersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#http_method ⇒ ::Google::Cloud::Scheduler::V1beta1::HttpMethod
88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 88 class HttpTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class HeadersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#oauth_token ⇒ ::Google::Cloud::Scheduler::V1beta1::OAuthToken
88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 88 class HttpTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class HeadersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#oidc_token ⇒ ::Google::Cloud::Scheduler::V1beta1::OidcToken
88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 88 class HttpTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class HeadersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#uri ⇒ ::String
88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 88 class HttpTarget include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class HeadersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |