Reference documentation and code samples for the Google Cloud Tasks V2 Client class Scheme.
The Scheme for an HTTP request. By default, it is HTTPS.
Protobuf type google.cloud.tasks.v2.UriOverride.Scheme
Namespace
Google \ Cloud \ Tasks \ V2 \ UriOverrideMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SCHEME_UNSPECIFIED
Value: 0Scheme unspecified. Defaults to HTTPS.
Generated from protobuf enum SCHEME_UNSPECIFIED = 0;
HTTP
Value: 1Convert the scheme to HTTP, e.g., "https://www.example.com" will change to "http://www.example.com".
Generated from protobuf enum HTTP = 1;
HTTPS
Value: 2Convert the scheme to HTTPS, e.g., "http://www.example.com" will change to "https://www.example.com".
Generated from protobuf enum HTTPS = 2;