SAML Application API, gRPC: ApplicationService.Update
- gRPC request
- UpdateApplicationRequest
- ServiceProvider
- AssertionConsumerServiceURL
- SingleLogoutServiceURL
- SecuritySettings
- AttributeMappingSpec
- NameIdSpec
- Attribute
- GroupClaimsSettings
- operation.Operation
- UpdateApplicationMetadata
- Application
- ServiceProvider
- AssertionConsumerServiceURL
- SingleLogoutServiceURL
- SecuritySettings
- AttributeMapping
- NameId
- Attribute
- GroupClaimsSettings
- IdentityProviderMetadata
Updates the specified SAML application.
gRPC request
rpc Update (UpdateApplicationRequest) returns (operation.Operation)
UpdateApplicationRequest
{
"application_id": "string",
"update_mask": "google.protobuf.FieldMask",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"service_provider": {
"entity_id": "string",
"acs_urls": [
{
"url": "string",
"index": "google.protobuf.Int64Value"
}
],
"slo_urls": [
{
"url": "string",
"response_url": "string",
"protocol_binding": "ProtocolBinding"
}
]
},
"security_settings": {
"signature_mode": "SignatureMode",
"signature_certificate_id": "string"
},
"attribute_mapping": {
"name_id": {
"format": "Format"
},
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"group_claims_settings": {
"group_distribution_type": "GroupDistributionType",
"group_attribute_name": "string"
}
}
Request to update an existing SAML application.
|
Field |
Description |
|
application_id |
string Required field. ID of the SAML application to update. |
|
update_mask |
Field mask that specifies which fields of the application are going to be updated. |
|
name |
string New name for the SAML application. |
|
description |
string New description for the SAML application. |
|
labels |
object (map<string, string>) New resource labels as |
|
service_provider |
New service provider configuration for the SAML application. |
|
security_settings |
New security settings for the SAML application. |
|
attribute_mapping |
New attribute mapping configuration for the SAML application. |
|
group_claims_settings |
New group claims settings for the SAML application. |
ServiceProvider
Service provider configuration for SAML applications.
|
Field |
Description |
|
entity_id |
string Required field. Service provider entity ID. |
|
acs_urls[] |
Assertion Consumer Service URLs. |
|
slo_urls[] |
Single Logout Service URLs. |
AssertionConsumerServiceURL
Assertion Consumer Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where SAML responses are sent. |
|
index |
Optional index for the assertion consumer service. |
SingleLogoutServiceURL
Single Logout Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where logout requests are sent. |
|
response_url |
string Optional separate URL for logout responses. |
|
protocol_binding |
enum ProtocolBinding Required field. Protocol binding supported by the logout endpoint.
|
SecuritySettings
Security settings for SAML applications.
|
Field |
Description |
|
signature_mode |
enum SignatureMode Signature mode for SAML messages.
|
|
signature_certificate_id |
string ID of the signature certificate to use. |
AttributeMappingSpec
Attribute mapping specification for SAML application.
|
Field |
Description |
|
name_id |
Required field. NameID configuration. |
|
attributes[] |
List of attribute mappings. |
NameIdSpec
NameID specification for SAML application.
|
Field |
Description |
|
format |
enum Format Required field. Format of the NameID.
|
Attribute
Attribute mapping for SAML applications.
|
Field |
Description |
|
name |
string Required field. Name of the SAML attribute. |
|
value |
string Required field. Value of the SAML attribute. |
GroupClaimsSettings
Group claims settings for SAML applications.
|
Field |
Description |
|
group_distribution_type |
enum GroupDistributionType Distribution type for group claims.
|
|
group_attribute_name |
string Name of the SAML attribute that contains group information. |
operation.Operation
{
"id": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"done": "bool",
"metadata": {
"application_id": "string"
},
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": {
"id": "string",
"organization_id": "string",
"name": "string",
"description": "string",
"status": "Status",
"labels": "map<string, string>",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
"service_provider": {
"entity_id": "string",
"acs_urls": [
{
"url": "string",
"index": "google.protobuf.Int64Value"
}
],
"slo_urls": [
{
"url": "string",
"response_url": "string",
"protocol_binding": "ProtocolBinding"
}
]
},
"security_settings": {
"signature_mode": "SignatureMode",
"signature_certificate_id": "string"
},
"attribute_mapping": {
"name_id": {
"format": "Format",
"value": "string"
},
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"group_claims_settings": {
"group_distribution_type": "GroupDistributionType",
"group_attribute_name": "string"
},
"identity_provider_metadata": {
"issuer": "string",
"sso_url": "string",
"metadata_url": "string",
"slo_url": "string"
}
}
// 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. |
UpdateApplicationMetadata
Metadata for the ApplicationService.Update operation.
|
Field |
Description |
|
application_id |
string ID of the SAML application that is being updated. |
Application
A SAML application resource.
|
Field |
Description |
|
id |
string Unique identifier of the SAML application. |
|
organization_id |
string ID of the organization that the application belongs to. |
|
name |
string Name of the SAML application. |
|
description |
string Description of the SAML application. |
|
status |
enum Status Current status of the SAML application.
|
|
labels |
object (map<string, string>) Resource labels as |
|
created_at |
Creation timestamp. |
|
updated_at |
Modification timestamp. |
|
service_provider |
Service provider configuration for the SAML application. |
|
security_settings |
Security settings for the SAML application. |
|
attribute_mapping |
Attribute mapping configuration for the SAML application. |
|
group_claims_settings |
Group claims settings for the SAML application. |
|
identity_provider_metadata |
Identity provider metadata for the SAML application. |
ServiceProvider
Service provider configuration for SAML applications.
|
Field |
Description |
|
entity_id |
string Required field. Service provider entity ID. |
|
acs_urls[] |
Assertion Consumer Service URLs. |
|
slo_urls[] |
Single Logout Service URLs. |
AssertionConsumerServiceURL
Assertion Consumer Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where SAML responses are sent. |
|
index |
Optional index for the assertion consumer service. |
SingleLogoutServiceURL
Single Logout Service URL configuration.
|
Field |
Description |
|
url |
string Required field. The URL where logout requests are sent. |
|
response_url |
string Optional separate URL for logout responses. |
|
protocol_binding |
enum ProtocolBinding Required field. Protocol binding supported by the logout endpoint.
|
SecuritySettings
Security settings for SAML applications.
|
Field |
Description |
|
signature_mode |
enum SignatureMode Signature mode for SAML messages.
|
|
signature_certificate_id |
string ID of the signature certificate to use. |
AttributeMapping
Attribute mapping configuration for SAML applications.
|
Field |
Description |
|
name_id |
Required field. NameID configuration for the SAML application. |
|
attributes[] |
List of attribute mappings. |
NameId
NameID configuration for SAML applications.
|
Field |
Description |
|
format |
enum Format Required field. Format of the NameID.
|
|
value |
string Required field. Value of the NameID. |
Attribute
Attribute mapping for SAML applications.
|
Field |
Description |
|
name |
string Required field. Name of the SAML attribute. |
|
value |
string Required field. Value of the SAML attribute. |
GroupClaimsSettings
Group claims settings for SAML applications.
|
Field |
Description |
|
group_distribution_type |
enum GroupDistributionType Distribution type for group claims.
|
|
group_attribute_name |
string Name of the SAML attribute that contains group information. |
IdentityProviderMetadata
Identity provider metadata for SAML applications.
|
Field |
Description |
|
issuer |
string Identity provider issuer identifier. |
|
sso_url |
string Identity provider Single Sign-On URL. |
|
metadata_url |
string Identity provider metadata URL. |
|
slo_url |
string Identity provider Single Logout URL. |