
    B                        S r SSKJr  SSKJr  SSKJr  Sr " S S\R                  5      r
 " S S	\R                  5      r " S
 S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S  S!\R                  5      r " S" S#\R                  5      r " S$ S%\R                  5      r " S& S'\R                  5      r " S( S)\R                  5      r " S* S+\R                  5      r\R:                  " \S,S-5        \R<                  " \R>                  S.S/5        \R<                  " \R>                  S0S15        g2)3zGenerated message classes for iamcredentials version v1.

Creates short-lived credentials for impersonating IAM service accounts.
Disabling this API also disables the IAM API (iam.googleapis.com). However,
enabling this API doesn't enable the IAM API.
    )absolute_import)messages)encodingiamcredentialsc                       \ rS rSrSr\R                  " SSS9r\R                  " S5      r\R                  " SSS9r	Sr
g	)
GenerateAccessTokenRequest   a  A GenerateAccessTokenRequest object.

Fields:
  delegates: The sequence of service accounts in a delegation chain. This
    field is required for [delegated
    requests](https://cloud.google.com/iam/help/credentials/delegated-
    request). For [direct
    requests](https://cloud.google.com/iam/help/credentials/direct-request),
    which are more common, do not specify this field. Each service account
    must be granted the `roles/iam.serviceAccountTokenCreator` role on its
    next service account in the chain. The last service account in the chain
    must be granted the `roles/iam.serviceAccountTokenCreator` role on the
    service account that is specified in the `name` field of the request.
    The delegates must have the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
  lifetime: The desired lifetime duration of the access token in seconds. By
    default, the maximum allowed value is 1 hour. To set a lifetime of up to
    12 hours, you can add the service account as an allowed value in an
    Organization Policy that enforces the
    `constraints/iam.allowServiceAccountCredentialLifetimeExtension`
    constraint. See detailed instructions at
    https://cloud.google.com/iam/help/credentials/lifetime If a value is not
    specified, the token's lifetime will be set to a default value of 1
    hour.
  scope: Required. Code to identify the scopes to be included in the OAuth
    2.0 access token. See
    https://developers.google.com/identity/protocols/googlescopes for more
    information. At least one value required.
   Trepeated       N)__name__
__module____qualname____firstlineno____doc__	_messagesStringField	delegateslifetimescope__static_attributes__r       Ylib/googlecloudsdk/generated_clients/apis/iamcredentials/v1/iamcredentials_v1_messages.pyr   r      s>    @ ##A5)""1%(


D
1%r   r   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)GenerateAccessTokenResponse8   zA GenerateAccessTokenResponse object.

Fields:
  accessToken: The OAuth 2.0 access token.
  expireTime: Token expiration time. The expiration time is always set.
r
   r   r   N)
r   r   r   r   r   r   r   accessToken
expireTimer   r   r   r   r   r   8   s)     %%a(+$$Q'*r   r   c                       \ rS rSrSr\R                  " S5      r\R                  " SSS9r\R                  " S5      r
\R                  " S5      rS	rg
)GenerateIdTokenRequestD   a  A GenerateIdTokenRequest object.

Fields:
  audience: Required. The audience for the token, such as the API or account
    that this token grants access to.
  delegates: The sequence of service accounts in a delegation chain. Each
    service account must be granted the
    `roles/iam.serviceAccountTokenCreator` role on its next service account
    in the chain. The last service account in the chain must be granted the
    `roles/iam.serviceAccountTokenCreator` role on the service account that
    is specified in the `name` field of the request. The delegates must have
    the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
  includeEmail: Include the service account email in the token. If set to
    `true`, the token will contain `email` and `email_verified` claims.
  organizationNumberIncluded: Include the organization number of the service
    account in the token. If set to `true`, the token will contain a
    `google.organization_number` claim. The value of the claim will be
    `null` if the service account isn't associated with an organization.
r
   r   Tr   r      r   N)r   r   r   r   r   r   r   audiencer   BooleanFieldincludeEmailorganizationNumberIncludedr   r   r   r   r#   r#   D   sL    . ""1%(##A5)''*,(55a8r   r#   c                   <    \ rS rSrSr\R                  " S5      rSrg)GenerateIdTokenResponseb   a}  A GenerateIdTokenResponse object.

Fields:
  token: The OpenId Connect ID token. The token is a JSON Web Token (JWT)
    that contains a payload with claims. See the [JSON Web Token
    spec](https://tools.ietf.org/html/rfc7519) for more information. Here is
    an example of a decoded JWT payload: ``` { "iss":
    "https://accounts.google.com", "iat": 1496953245, "exp": 1496953245,
    "aud": "https://www.example.com", "sub": "107517467455664443765", "azp":
    "107517467455664443765", "email": "my-iam-account@my-
    project.iam.gserviceaccount.com", "email_verified": true, "google": {
    "organization_number": 123456 } } ```
r
   r   N)	r   r   r   r   r   r   r   tokenr   r   r   r   r+   r+   b   s     


"%r   r+   c                   :    \ rS rSrSr\R                  " SSS9rSrg)?IamcredentialsLocationsWorkforcePoolsGetAllowedLocationsRequestt   zA IamcredentialsLocationsWorkforcePoolsGetAllowedLocationsRequest
object.

Fields:
  name: Required. Resource name of workforce pool.
r
   Trequiredr   N	r   r   r   r   r   r   r   namer   r   r   r   r/   r/   t        
		q4	0$r   r/   c                   :    \ rS rSrSr\R                  " SSS9rSrg)NIamcredentialsProjectsLocationsWorkloadIdentityPoolsGetAllowedLocationsRequest   zA IamcredentialsProjectsLocationsWorkloadIdentityPoolsGetAllowedLocation
sRequest object.

Fields:
  name: Required. Resource name of workload identity pool.
r
   Tr1   r   Nr3   r   r   r   r7   r7      r5   r   r7   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
?IamcredentialsProjectsServiceAccountsGenerateAccessTokenRequest   a  A IamcredentialsProjectsServiceAccountsGenerateAccessTokenRequest
object.

Fields:
  generateAccessTokenRequest: A GenerateAccessTokenRequest resource to be
    passed as the request body.
  name: Required. The resource name of the service account for which the
    credentials are requested, in the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
r   r
   r   Tr1   r   N)r   r   r   r   r   r   MessageFieldgenerateAccessTokenRequestr   r4   r   r   r   r   r:   r:      s0      )556RTUV			q4	0$r   r:   c                   `    \ rS rSrSr\R                  " SS5      r\R                  " SSS9r	Sr
g	)
;IamcredentialsProjectsServiceAccountsGenerateIdTokenRequest   a  A IamcredentialsProjectsServiceAccountsGenerateIdTokenRequest object.

Fields:
  generateIdTokenRequest: A GenerateIdTokenRequest resource to be passed as
    the request body.
  name: Required. The resource name of the service account for which the
    credentials are requested, in the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
r#   r
   r   Tr1   r   N)r   r   r   r   r   r   r<   generateIdTokenRequestr   r4   r   r   r   r   r?   r?      s/    
 %112JAN			q4	0$r   r?   c                   :    \ rS rSrSr\R                  " SSS9rSrg)?IamcredentialsProjectsServiceAccountsGetAllowedLocationsRequest   zA IamcredentialsProjectsServiceAccountsGetAllowedLocationsRequest
object.

Fields:
  name: Required. Resource name of service account.
r
   Tr1   r   Nr3   r   r   r   rC   rC      r5   r   rC   c                   `    \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	Sr
g	)
4IamcredentialsProjectsServiceAccountsSignBlobRequest   a  A IamcredentialsProjectsServiceAccountsSignBlobRequest object.

Fields:
  name: Required. The resource name of the service account for which the
    credentials are requested, in the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
  signBlobRequest: A SignBlobRequest resource to be passed as the request
    body.
r
   Tr1   SignBlobRequestr   r   N)r   r   r   r   r   r   r   r4   r<   signBlobRequestr   r   r   r   rF   rF      s.    
 
		q4	0$**+<a@/r   rF   c                   `    \ rS rSrSr\R                  " SSS9r\R                  " SS5      r	Sr
g	)
3IamcredentialsProjectsServiceAccountsSignJwtRequest   a  A IamcredentialsProjectsServiceAccountsSignJwtRequest object.

Fields:
  name: Required. The resource name of the service account for which the
    credentials are requested, in the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
  signJwtRequest: A SignJwtRequest resource to be passed as the request
    body.
r
   Tr1   SignJwtRequestr   r   N)r   r   r   r   r   r   r   r4   r<   signJwtRequestr   r   r   r   rK   rK      s.    
 
		q4	0$))*:A>.r   rK   c                   ^    \ rS rSrSr\R                  " S5      r\R                  " SSS9rSr	g)	ServiceAccountAllowedLocations   a  Represents a list of allowed locations for given service account.

Fields:
  encodedLocations: Output only. The hex encoded bitmap of the trust
    boundary locations
  locations: Output only. The human readable trust boundary locations. For
    example, ["us-central1", "europe-west1"]
r
   r   Tr   r   N
r   r   r   r   r   r   r   encodedLocations	locationsr   r   r   r   rP   rP      ,     **1-##A5)r   rP   c                   ^    \ rS rSrSr\R                  " SSS9r\R                  " S5      r	Sr
g)	rH      a  A SignBlobRequest object.

Fields:
  delegates: The sequence of service accounts in a delegation chain. Each
    service account must be granted the
    `roles/iam.serviceAccountTokenCreator` role on its next service account
    in the chain. The last service account in the chain must be granted the
    `roles/iam.serviceAccountTokenCreator` role on the service account that
    is specified in the `name` field of the request. The delegates must have
    the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
  payload: Required. The bytes to sign.
r
   Tr   r   r   N)r   r   r   r   r   r   r   r   
BytesFieldpayloadr   r   r   r   rH   rH      s+      ##A5)  #'r   rH   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      r	Sr
g)SignBlobResponse   a  A SignBlobResponse object.

Fields:
  keyId: The ID of the key used to sign the blob. The key used for signing
    will remain valid for at least 12 hours after the blob is signed. To
    verify the signature, you can retrieve the public key in several formats
    from the following endpoints: - RSA public key wrapped in an X.509 v3
    certificate: `https://www.googleapis.com/service_accounts/v1/metadata/x5
    09/{ACCOUNT_EMAIL}` - Raw key in JSON format: `https://www.googleapis.co
    m/service_accounts/v1/metadata/raw/{ACCOUNT_EMAIL}` - JSON Web Key
    (JWK): `https://www.googleapis.com/service_accounts/v1/metadata/jwk/{ACC
    OUNT_EMAIL}`
  signedBlob: The signature for the blob. Does not include the original
    blob. After the key pair referenced by the `key_id` response field
    expires, Google no longer exposes the public key that can be used to
    verify the blob. As a result, the receiver can no longer verify the
    signature.
r
   r   r   N)r   r   r   r   r   r   r   keyIdrX   
signedBlobr   r   r   r   r[   r[      s)    & 


"%##A&*r   r[   c                   ^    \ rS rSrSr\R                  " SSS9r\R                  " S5      rSr	g)	rM   i  a  A SignJwtRequest object.

Fields:
  delegates: The sequence of service accounts in a delegation chain. Each
    service account must be granted the
    `roles/iam.serviceAccountTokenCreator` role on its next service account
    in the chain. The last service account in the chain must be granted the
    `roles/iam.serviceAccountTokenCreator` role on the service account that
    is specified in the `name` field of the request. The delegates must have
    the following format:
    `projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}`. The `-`
    wildcard character is required; replacing it with a project ID is
    invalid.
  payload: Required. The JWT payload to sign. Must be a serialized JSON
    object that contains a JWT Claims Set. For example: `{"sub":
    "user@example.com", "iat": 313435}` If the JWT Claims Set contains an
    expiration time (`exp`) claim, it must be an integer timestamp that is
    not in the past and no more than 12 hours in the future.
r
   Tr   r   r   N)
r   r   r   r   r   r   r   r   rY   r   r   r   r   rM   rM     s+    ( ##A5)!!!$'r   rM   c                   `    \ rS rSrSr\R                  " S5      r\R                  " S5      rSr	g)SignJwtResponsei.  a7  A SignJwtResponse object.

Fields:
  keyId: The ID of the key used to sign the JWT. The key used for signing
    will remain valid for at least 12 hours after the JWT is signed. To
    verify the signature, you can retrieve the public key in several formats
    from the following endpoints: - RSA public key wrapped in an X.509 v3
    certificate: `https://www.googleapis.com/service_accounts/v1/metadata/x5
    09/{ACCOUNT_EMAIL}` - Raw key in JSON format: `https://www.googleapis.co
    m/service_accounts/v1/metadata/raw/{ACCOUNT_EMAIL}` - JSON Web Key
    (JWK): `https://www.googleapis.com/service_accounts/v1/metadata/jwk/{ACC
    OUNT_EMAIL}`
  signedJwt: The signed JWT. Contains the automatically generated header;
    the client-supplied payload; and the signature, which is generated using
    the key referenced by the `kid` field in the header. After the key pair
    referenced by the `key_id` response field expires, Google no longer
    exposes the public key that can be used to verify the JWT. As a result,
    the receiver can no longer verify the signature.
r
   r   r   N)
r   r   r   r   r   r   r   r]   	signedJwtr   r   r   r   ra   ra   .  s)    ( 


"%##A&)r   ra   c                      \ rS rSrSr " S S\R                  5      r " S S\R                  5      r\R                  " SS5      r
\R                  " S5      r\R                  " SS	S
S9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R$                  " SSS9r\R                  " S5      r\R                  " S5      r\R                  " S5      r\R                  " S5      rSrg)StandardQueryParametersiG  a  Query parameters accepted by all methods.

Enums:
  FXgafvValueValuesEnum: V1 error format.
  AltValueValuesEnum: Data format for response.

Fields:
  f__xgafv: V1 error format.
  access_token: OAuth access token.
  alt: Data format for response.
  callback: JSONP
  fields: Selector specifying which fields to include in a partial response.
  key: API key. Your API key identifies your project and provides you with
    API access, quota, and reports. Required unless you provide an OAuth 2.0
    token.
  oauth_token: OAuth 2.0 token for the current user.
  prettyPrint: Returns response with indentations and line breaks.
  quotaUser: Available to use for quota purposes for server-side
    applications. Can be any arbitrary string assigned to a user, but should
    not exceed 40 characters.
  trace: A tracing token of the form "token:<tokenid>" to include in api
    requests.
  uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
  upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
c                   $    \ rS rSrSrSrSrSrSrg)*StandardQueryParameters.AltValueValuesEnumib  zData format for response.

Values:
  json: Responses with Content-Type of application/json
  media: Media download with context-dependent Content-Type
  proto: Responses with Content-Type of application/x-protobuf
r   r
   r   r   N)	r   r   r   r   r   jsonmediaprotor   r   r   r   AltValueValuesEnumrf   b  s     DEEr   rj   c                        \ rS rSrSrSrSrSrg)-StandardQueryParameters.FXgafvValueValuesEnumin  zFV1 error format.

Values:
  _1: v1 error format
  _2: v2 error format
r   r
   r   N)r   r   r   r   r   _1_2r   r   r   r   FXgafvValueValuesEnumrl   n  s     
B	
Br   ro   r
   r   r   rg   )defaultr%               T	   
         r   N)r   r   r   r   r   r   Enumrj   ro   	EnumFieldf__xgafvr   access_tokenaltcallbackfieldskeyoauth_tokenr'   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r   rd   rd   G  s    4
9>> 
inn    !8!<(&&q),0!VD#""1%(  #&a #%%a(+&&q$7+##A&)



#%$$R(*))"-/r   rd   c                   ^    \ rS rSrSr\R                  " S5      r\R                  " SSS9rSr	g)	WorkforcePoolAllowedLocationsi  a  Represents a list of allowed locations for given workforce pool.

Fields:
  encodedLocations: Output only. The hex encoded bitmap of the trust
    boundary locations
  locations: Output only. The human readable trust boundary locations. For
    example, ["us-central1", "europe-west1"]
r
   r   Tr   r   NrR   r   r   r   r   r     rU   r   r   c                   ^    \ rS rSrSr\R                  " S5      r\R                  " SSS9rSr	g)	$WorkloadIdentityPoolAllowedLocationsi  a&  Represents a list of allowed locations for given workload identity pool.

Fields:
  encodedLocations: Output only. The hex encoded bitmap of the trust
    boundary locations
  locations: Output only. The human readable trust boundary locations. For
    example, ["us-central1", "europe-west1"]
r
   r   Tr   r   NrR   r   r   r   r   r     rU   r   r   r{   z$.xgafvrm   1rn   2N) r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   packageMessager   r   r#   r+   r/   r7   r:   r?   rC   rF   rK   rP   rH   r[   rM   ra   rd   r   r   AddCustomJsonFieldMappingAddCustomJsonEnumMappingro   r   r   r   <module>r      s   ' < % #2!2!2 #2L	()"3"3 	(9Y.. 9<#i// #$1iFWFW 11U^UfUf 11iFWFW 1$1)BSBS 1"1iFWFW 1A9;L;L A"?):K:K ?"6Y%6%6 6$i'' $*'y(( '0%Y&& %2'i'' '2<.i// <.~6I$5$5 669+<+< 6 	 " "Z4  ! !114>  ! !114>r   