You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-cloudtasks/v2beta3/2.0.0/com/google/api/services/cloudtasks/v2beta3/model/HttpRequest.java
+24-24Lines changed: 24 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -56,14 +56,14 @@ public final class HttpRequest extends com.google.api.client.json.GenericJson {
56
56
* the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list
57
57
* of headers that will be ignored or replaced is: * Any header that is prefixed with
58
58
* "X-CloudTasks-" will be treated as service header. Service headers define properties of the
59
-
* task and are predefined in CloudTask. * Host: This will be computed by Cloud Tasks and derived
60
-
* from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent:
61
-
* This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`:
62
-
* Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-
63
-
* Type` to a media type when the task is created. For example, `Content-Type` can be set to
64
-
* `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values
65
-
* (according to RFC2616) can be specified using comma-separated values. The size of the headers
66
-
* must be less than 80KB.
59
+
* task and are predefined in Cloud Tasks. * Host: This will be computed by Cloud Tasks and
60
+
* derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-
61
+
* Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. *
62
+
* `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can
63
+
* explicitly set `Content-Type` to a media type when the task is created. For example, `Content-
64
+
* Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can
65
+
* have multiple values (according to RFC2616) can be specified using comma-separated values. The
66
+
* size of the headers must be less than 80KB.
67
67
* The value may be {@code null}.
68
68
*/
69
69
@com.google.api.client.util.Key
@@ -163,14 +163,14 @@ public HttpRequest encodeBody(byte[] body) {
163
163
* the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list
164
164
* of headers that will be ignored or replaced is: * Any header that is prefixed with
165
165
* "X-CloudTasks-" will be treated as service header. Service headers define properties of the
166
-
* task and are predefined in CloudTask. * Host: This will be computed by Cloud Tasks and derived
167
-
* from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent:
168
-
* This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`:
169
-
* Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-
170
-
* Type` to a media type when the task is created. For example, `Content-Type` can be set to
171
-
* `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values
172
-
* (according to RFC2616) can be specified using comma-separated values. The size of the headers
173
-
* must be less than 80KB.
166
+
* task and are predefined in Cloud Tasks. * Host: This will be computed by Cloud Tasks and
167
+
* derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-
168
+
* Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. *
169
+
* `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can
170
+
* explicitly set `Content-Type` to a media type when the task is created. For example, `Content-
171
+
* Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can
172
+
* have multiple values (according to RFC2616) can be specified using comma-separated values. The
Copy file name to clipboardExpand all lines: clients/google-api-services-cloudtasks/v2beta3/2.0.0/com/google/api/services/cloudtasks/v2beta3/model/HttpTarget.java
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,9 @@ public final class HttpTarget extends com.google.api.client.json.GenericJson {
59
59
}
60
60
61
61
/**
62
-
* The HTTP method to use for the request. When specified, it overrides HttpRequest for the task.
63
-
* Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at
64
-
* execution time.
62
+
* The HTTP method to use for the request. When specified, it overrides HttpRequest.http_method
63
+
* for the task. Note that if the value is set to HttpMethod.GET the HttpRequest.body of the task
64
+
* will be ignored at execution time.
65
65
* The value may be {@code null}.
66
66
*/
67
67
@com.google.api.client.util.Key
@@ -144,19 +144,19 @@ public HttpTarget setHeaderOverrides(java.util.List<HeaderOverride> headerOverri
144
144
}
145
145
146
146
/**
147
-
* The HTTP method to use for the request. When specified, it overrides HttpRequest for the task.
148
-
* Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at
149
-
* execution time.
147
+
* The HTTP method to use for the request. When specified, it overrides HttpRequest.http_method
148
+
* for the task. Note that if the value is set to HttpMethod.GET the HttpRequest.body of the task
149
+
* will be ignored at execution time.
150
150
* @return value or {@code null} for none
151
151
*/
152
152
publicjava.lang.StringgetHttpMethod() {
153
153
returnhttpMethod;
154
154
}
155
155
156
156
/**
157
-
* The HTTP method to use for the request. When specified, it overrides HttpRequest for the task.
158
-
* Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at
159
-
* execution time.
157
+
* The HTTP method to use for the request. When specified, it overrides HttpRequest.http_method
158
+
* for the task. Note that if the value is set to HttpMethod.GET the HttpRequest.body of the task
159
+
* will be ignored at execution time.
160
160
* @param httpMethod httpMethod or {@code null} for none
0 commit comments