CreateOAuth2ClientCredentialDetails¶
- class oci.identity.models.CreateOAuth2ClientCredentialDetails(**kwargs)¶
Bases:
objectCreateOAuth2ClientCredentialDetails model.
Methods:
__init__(**kwargs)Initializes a new CreateOAuth2ClientCredentialDetails object with values from keyword arguments.
Attributes:
[Required] Gets the description of this CreateOAuth2ClientCredentialDetails.
[Required] Gets the name of this CreateOAuth2ClientCredentialDetails.
[Required] Gets the scopes of this CreateOAuth2ClientCredentialDetails.
- __init__(**kwargs)¶
Initializes a new CreateOAuth2ClientCredentialDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this CreateOAuth2ClientCredentialDetails.
description (str) – The value to assign to the description property of this CreateOAuth2ClientCredentialDetails.
scopes (list[oci.identity.models.FullyQualifiedScope]) – The value to assign to the scopes property of this CreateOAuth2ClientCredentialDetails.
- property description¶
[Required] Gets the description of this CreateOAuth2ClientCredentialDetails. Description of the oauth credential to help user differentiate them.
- Returns
The description of this CreateOAuth2ClientCredentialDetails.
- Return type
str
- property name¶
[Required] Gets the name of this CreateOAuth2ClientCredentialDetails. Name of the oauth credential to help user differentiate them.
- Returns
The name of this CreateOAuth2ClientCredentialDetails.
- Return type
str
- property scopes¶
[Required] Gets the scopes of this CreateOAuth2ClientCredentialDetails. Allowed scopes for the given oauth credential.
- Returns
The scopes of this CreateOAuth2ClientCredentialDetails.
- Return type