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
<pre>Gets the Scheduler config in the project/region.
141
+
142
+
Args:
143
+
name: string, Required. The config name. For example: projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig (required)
144
+
x__xgafv: string, V1 error format.
145
+
Allowed values
146
+
1 - v1 error format
147
+
2 - v2 error format
148
+
149
+
Returns:
150
+
An object of the form:
151
+
152
+
{ # Describes the project/location configuration of Cloud Scheduler Resources.
153
+
"kmsKeyName": "A String", # Optional. Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt Jobs in the region. Setting this as blank will turn off CMEK encryption.
154
+
"name": "A String", # Identifier. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`
<pre>Lists information about the supported locations for this service.
135
161
136
162
Args:
137
163
name: string, The resource that owns the locations collection, if applicable. (required)
138
-
extraLocationTypes: string, Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. (repeated)
164
+
extraLocationTypes: string, Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. (repeated)
139
165
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
140
166
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
141
167
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
<pre>Initializes or Updates the a scheduler config.
211
+
212
+
Args:
213
+
name: string, Identifier. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` (required)
214
+
body: object, The request body.
215
+
The object takes the form of:
216
+
217
+
{ # Describes the project/location configuration of Cloud Scheduler Resources.
218
+
"kmsKeyName": "A String", # Optional. Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt Jobs in the region. Setting this as blank will turn off CMEK encryption.
219
+
"name": "A String", # Identifier. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`
220
+
}
221
+
222
+
updateMask: string, Optional. List of fields to be updated in this request.
223
+
x__xgafv: string, V1 error format.
224
+
Allowed values
225
+
1 - v1 error format
226
+
2 - v2 error format
227
+
228
+
Returns:
229
+
An object of the form:
230
+
231
+
{ # This resource represents a long-running operation that is the result of a network API call.
232
+
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
233
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
234
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
235
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
236
+
{
237
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
238
+
},
239
+
],
240
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
241
+
},
242
+
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
243
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
244
+
},
245
+
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
246
+
"response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
247
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
0 commit comments