Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type GenerateAccessTokenRequest struct + Delegates []string + ForceSendFields []string + Lifetime string + NullFields []string + Scope []string + func (s *GenerateAccessTokenRequest) MarshalJSON() ([]byte, error) + type GenerateAccessTokenResponse struct + AccessToken string + ExpireTime string + ForceSendFields []string + NullFields []string + func (s *GenerateAccessTokenResponse) MarshalJSON() ([]byte, error) + type GenerateIdTokenRequest struct + Audience string + Delegates []string + ForceSendFields []string + IncludeEmail bool + NullFields []string + func (s *GenerateIdTokenRequest) MarshalJSON() ([]byte, error) + type GenerateIdTokenResponse struct + ForceSendFields []string + NullFields []string + Token string + func (s *GenerateIdTokenResponse) MarshalJSON() ([]byte, error) + type ProjectsService struct + ServiceAccounts *ProjectsServiceAccountsService + func NewProjectsService(s *Service) *ProjectsService + type ProjectsServiceAccountsGenerateAccessTokenCall struct + func (c *ProjectsServiceAccountsGenerateAccessTokenCall) Context(ctx context.Context) *ProjectsServiceAccountsGenerateAccessTokenCall + func (c *ProjectsServiceAccountsGenerateAccessTokenCall) Do(opts ...googleapi.CallOption) (*GenerateAccessTokenResponse, error) + func (c *ProjectsServiceAccountsGenerateAccessTokenCall) Fields(s ...googleapi.Field) *ProjectsServiceAccountsGenerateAccessTokenCall + func (c *ProjectsServiceAccountsGenerateAccessTokenCall) Header() http.Header + type ProjectsServiceAccountsGenerateIdTokenCall struct + func (c *ProjectsServiceAccountsGenerateIdTokenCall) Context(ctx context.Context) *ProjectsServiceAccountsGenerateIdTokenCall + func (c *ProjectsServiceAccountsGenerateIdTokenCall) Do(opts ...googleapi.CallOption) (*GenerateIdTokenResponse, error) + func (c *ProjectsServiceAccountsGenerateIdTokenCall) Fields(s ...googleapi.Field) *ProjectsServiceAccountsGenerateIdTokenCall + func (c *ProjectsServiceAccountsGenerateIdTokenCall) Header() http.Header + type ProjectsServiceAccountsService struct + func NewProjectsServiceAccountsService(s *Service) *ProjectsServiceAccountsService + func (r *ProjectsServiceAccountsService) GenerateAccessToken(name string, generateaccesstokenrequest *GenerateAccessTokenRequest) *ProjectsServiceAccountsGenerateAccessTokenCall + func (r *ProjectsServiceAccountsService) GenerateIdToken(name string, generateidtokenrequest *GenerateIdTokenRequest) *ProjectsServiceAccountsGenerateIdTokenCall + func (r *ProjectsServiceAccountsService) SignBlob(name string, signblobrequest *SignBlobRequest) *ProjectsServiceAccountsSignBlobCall + func (r *ProjectsServiceAccountsService) SignJwt(name string, signjwtrequest *SignJwtRequest) *ProjectsServiceAccountsSignJwtCall + type ProjectsServiceAccountsSignBlobCall struct + func (c *ProjectsServiceAccountsSignBlobCall) Context(ctx context.Context) *ProjectsServiceAccountsSignBlobCall + func (c *ProjectsServiceAccountsSignBlobCall) Do(opts ...googleapi.CallOption) (*SignBlobResponse, error) + func (c *ProjectsServiceAccountsSignBlobCall) Fields(s ...googleapi.Field) *ProjectsServiceAccountsSignBlobCall + func (c *ProjectsServiceAccountsSignBlobCall) Header() http.Header + type ProjectsServiceAccountsSignJwtCall struct + func (c *ProjectsServiceAccountsSignJwtCall) Context(ctx context.Context) *ProjectsServiceAccountsSignJwtCall + func (c *ProjectsServiceAccountsSignJwtCall) Do(opts ...googleapi.CallOption) (*SignJwtResponse, error) + func (c *ProjectsServiceAccountsSignJwtCall) Fields(s ...googleapi.Field) *ProjectsServiceAccountsSignJwtCall + func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SignBlobRequest struct + Delegates []string + ForceSendFields []string + NullFields []string + Payload string + func (s *SignBlobRequest) MarshalJSON() ([]byte, error) + type SignBlobResponse struct + ForceSendFields []string + KeyId string + NullFields []string + SignedBlob string + func (s *SignBlobResponse) MarshalJSON() ([]byte, error) + type SignJwtRequest struct + Delegates []string + ForceSendFields []string + NullFields []string + Payload string + func (s *SignJwtRequest) MarshalJSON() ([]byte, error) + type SignJwtResponse struct + ForceSendFields []string + KeyId string + NullFields []string + SignedJwt string + func (s *SignJwtResponse) MarshalJSON() ([]byte, error)