Skip to main content

inbound_sso_assignments

Creates, updates, deletes, gets or lists an inbound_sso_assignments resource.

Overview

Nameinbound_sso_assignments
TypeResource
Idgoogle.cloudidentity.inbound_sso_assignments

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Resource name of the Inbound SSO Assignment.
customerstringImmutable. The customer. For example: customers/C0123abc.
oidcSsoInfoobjectOpenID Connect SSO details. Must be set if and only if sso_mode is set to OIDC_SSO. (id: OidcSsoInfo)
rankinteger (int32)Must be zero (which is the default value so it can be omitted) for assignments with target_org_unit set and must be greater-than-or-equal-to one for assignments with target_group set.
samlSsoInfoobjectSAML SSO details. Must be set if and only if sso_mode is set to SAML_SSO. (id: SamlSsoInfo)
signInBehaviorobjectAssertions about users assigned to an IdP will always be accepted from that IdP. This controls whether/when Google should redirect a user to the IdP. Unset (defaults) is the recommended configuration. (id: SignInBehavior)
ssoModestringInbound SSO behavior.
targetGroupstringImmutable. Must be of the form groups/{group}.
targetOrgUnitstringImmutable. Must be of the form orgUnits/{org_unit}.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinboundSsoAssignmentsIdGets an InboundSsoAssignment.
listselectfilter, pageSize, pageTokenLists the InboundSsoAssignments for a Customer.
createinsertCreates an InboundSsoAssignment for users and devices in a Customer under a given Group or OrgUnit.
patchupdateinboundSsoAssignmentsIdupdateMaskUpdates an InboundSsoAssignment. The body of this request is the inbound_sso_assignment field and the update_mask is relative to that. For example: a PATCH to /v1/inboundSsoAssignments/0abcdefg1234567&update_mask=rank with a body of { "rank": 1 } moves that (presumably group-targeted) SSO assignment to the highest priority and shifts any other group-targeted assignments down in priority.
deletedeleteinboundSsoAssignmentsIdDeletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has sso_mode == SSO_OFF.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
inboundSsoAssignmentsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets an InboundSsoAssignment.

SELECT
name,
customer,
oidcSsoInfo,
rank,
samlSsoInfo,
signInBehavior,
ssoMode,
targetGroup,
targetOrgUnit
FROM google.cloudidentity.inbound_sso_assignments
WHERE inboundSsoAssignmentsId = '{{ inboundSsoAssignmentsId }}' -- required;

INSERT examples

Creates an InboundSsoAssignment for users and devices in a Customer under a given Group or OrgUnit.

INSERT INTO google.cloudidentity.inbound_sso_assignments (
data__targetGroup,
data__targetOrgUnit,
data__customer,
data__rank,
data__ssoMode,
data__samlSsoInfo,
data__oidcSsoInfo,
data__signInBehavior
)
SELECT
'{{ targetGroup }}',
'{{ targetOrgUnit }}',
'{{ customer }}',
{{ rank }},
'{{ ssoMode }}',
'{{ samlSsoInfo }}',
'{{ oidcSsoInfo }}',
'{{ signInBehavior }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates an InboundSsoAssignment. The body of this request is the inbound_sso_assignment field and the update_mask is relative to that. For example: a PATCH to /v1/inboundSsoAssignments/0abcdefg1234567&update_mask=rank with a body of { "rank": 1 } moves that (presumably group-targeted) SSO assignment to the highest priority and shifts any other group-targeted assignments down in priority.

UPDATE google.cloudidentity.inbound_sso_assignments
SET
data__targetGroup = '{{ targetGroup }}',
data__targetOrgUnit = '{{ targetOrgUnit }}',
data__customer = '{{ customer }}',
data__rank = {{ rank }},
data__ssoMode = '{{ ssoMode }}',
data__samlSsoInfo = '{{ samlSsoInfo }}',
data__oidcSsoInfo = '{{ oidcSsoInfo }}',
data__signInBehavior = '{{ signInBehavior }}'
WHERE
inboundSsoAssignmentsId = '{{ inboundSsoAssignmentsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes an InboundSsoAssignment. To disable SSO, Create (or Update) an assignment that has sso_mode == SSO_OFF.

DELETE FROM google.cloudidentity.inbound_sso_assignments
WHERE inboundSsoAssignmentsId = '{{ inboundSsoAssignmentsId }}' --required;