Federation, gRPC: FederationService.Update
Updates the specified OIDC workload identity federation.
gRPC request
rpc Update (UpdateFederationRequest) returns (operation.Operation)
UpdateFederationRequest
{
"federation_id": "string",
"update_mask": "google.protobuf.FieldMask",
"name": "string",
"description": "string",
"disabled": "bool",
"audiences": [
"string"
],
"jwks_url": "string",
"labels": "map<string, string>"
}
Field |
Description |
federation_id |
string Required field. ID of the OIDC workload identity federation to update. |
update_mask |
Field mask that specifies which fields of the OIDC workload identity federation are going to be updated. |
name |
string Name of the OIDC workload identity federation. |
description |
string Description of the OIDC workload identity federation. |
disabled |
bool True - the OIDC workload identity federation is disabled and cannot be used for authentication. |
audiences[] |
string List of trusted values for aud claim. |
jwks_url |
string URL reference to trusted keys in format of JSON Web Key Set. |
labels |
object (map<string, string>) Resource labels as |
operation.Operation
{
"id": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"done": "bool",
"metadata": {
"federation_id": "string"
},
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": {
"id": "string",
"name": "string",
"folder_id": "string",
"description": "string",
"enabled": "bool",
"audiences": [
"string"
],
"issuer": "string",
"jwks_url": "string",
"labels": "map<string, string>",
"created_at": "google.protobuf.Timestamp"
}
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
Field |
Description |
id |
string ID of the operation. |
description |
string Description of the operation. 0-256 characters long. |
created_at |
Creation timestamp. |
created_by |
string ID of the user or service account who initiated the operation. |
modified_at |
The time when the Operation resource was last modified. |
done |
bool If the value is |
metadata |
Service-specific metadata associated with the operation. |
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |
UpdateFederationMetadata
Field |
Description |
federation_id |
string ID of the OIDC workload identity federation that is being updated. |
Federation
A OIDC workload identity federation.
Field |
Description |
id |
string Id of the OIDC workload identity federation. |
name |
string Name of the OIDC workload identity federation |
folder_id |
string ID of the folder that the OIDC workload identity federation belongs to. |
description |
string Description of the service account. 0-256 characters long. |
enabled |
bool True - the OIDC workload identity federation is enabled and can be used for authentication. |
audiences[] |
string List of trusted values for aud claim. |
issuer |
string URL of the external IdP server to be used for authentication. |
jwks_url |
string URL reference to trusted keys in format of JSON Web Key Set. |
labels |
object (map<string, string>) Resource labels as |
created_at |
Creation timestamp. |