Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const CloudPlatformReadOnlyScope + const CloudPlatformScope + type KeysLookupKeyCall struct + func (c *KeysLookupKeyCall) Context(ctx context.Context) *KeysLookupKeyCall + func (c *KeysLookupKeyCall) Do(opts ...googleapi.CallOption) (*V2LookupKeyResponse, error) + func (c *KeysLookupKeyCall) Fields(s ...googleapi.Field) *KeysLookupKeyCall + func (c *KeysLookupKeyCall) Header() http.Header + func (c *KeysLookupKeyCall) IfNoneMatch(entityTag string) *KeysLookupKeyCall + func (c *KeysLookupKeyCall) KeyString(keyString string) *KeysLookupKeyCall + type KeysService struct + func NewKeysService(s *Service) *KeysService + func (r *KeysService) LookupKey() *KeysLookupKeyCall + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s Operation) MarshalJSON() ([]byte, error) + type OperationsGetCall struct + func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall + func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall + func (c *OperationsGetCall) Header() http.Header + func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall + type OperationsService struct + func NewOperationsService(s *Service) *OperationsService + func (r *OperationsService) Get(name string) *OperationsGetCall + type ProjectsLocationsKeysCreateCall struct + func (c *ProjectsLocationsKeysCreateCall) Context(ctx context.Context) *ProjectsLocationsKeysCreateCall + func (c *ProjectsLocationsKeysCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsKeysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsKeysCreateCall + func (c *ProjectsLocationsKeysCreateCall) Header() http.Header + func (c *ProjectsLocationsKeysCreateCall) KeyId(keyId string) *ProjectsLocationsKeysCreateCall + type ProjectsLocationsKeysDeleteCall struct + func (c *ProjectsLocationsKeysDeleteCall) Context(ctx context.Context) *ProjectsLocationsKeysDeleteCall + func (c *ProjectsLocationsKeysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsKeysDeleteCall) Etag(etag string) *ProjectsLocationsKeysDeleteCall + func (c *ProjectsLocationsKeysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKeysDeleteCall + func (c *ProjectsLocationsKeysDeleteCall) Header() http.Header + type ProjectsLocationsKeysGetCall struct + func (c *ProjectsLocationsKeysGetCall) Context(ctx context.Context) *ProjectsLocationsKeysGetCall + func (c *ProjectsLocationsKeysGetCall) Do(opts ...googleapi.CallOption) (*V2Key, error) + func (c *ProjectsLocationsKeysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsKeysGetCall + func (c *ProjectsLocationsKeysGetCall) Header() http.Header + func (c *ProjectsLocationsKeysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsKeysGetCall + type ProjectsLocationsKeysGetKeyStringCall struct + func (c *ProjectsLocationsKeysGetKeyStringCall) Context(ctx context.Context) *ProjectsLocationsKeysGetKeyStringCall + func (c *ProjectsLocationsKeysGetKeyStringCall) Do(opts ...googleapi.CallOption) (*V2GetKeyStringResponse, error) + func (c *ProjectsLocationsKeysGetKeyStringCall) Fields(s ...googleapi.Field) *ProjectsLocationsKeysGetKeyStringCall + func (c *ProjectsLocationsKeysGetKeyStringCall) Header() http.Header + func (c *ProjectsLocationsKeysGetKeyStringCall) IfNoneMatch(entityTag string) *ProjectsLocationsKeysGetKeyStringCall + type ProjectsLocationsKeysListCall struct + func (c *ProjectsLocationsKeysListCall) Context(ctx context.Context) *ProjectsLocationsKeysListCall + func (c *ProjectsLocationsKeysListCall) Do(opts ...googleapi.CallOption) (*V2ListKeysResponse, error) + func (c *ProjectsLocationsKeysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKeysListCall + func (c *ProjectsLocationsKeysListCall) Header() http.Header + func (c *ProjectsLocationsKeysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsKeysListCall + func (c *ProjectsLocationsKeysListCall) PageSize(pageSize int64) *ProjectsLocationsKeysListCall + func (c *ProjectsLocationsKeysListCall) PageToken(pageToken string) *ProjectsLocationsKeysListCall + func (c *ProjectsLocationsKeysListCall) Pages(ctx context.Context, f func(*V2ListKeysResponse) error) error + func (c *ProjectsLocationsKeysListCall) ShowDeleted(showDeleted bool) *ProjectsLocationsKeysListCall + type ProjectsLocationsKeysPatchCall struct + func (c *ProjectsLocationsKeysPatchCall) Context(ctx context.Context) *ProjectsLocationsKeysPatchCall + func (c *ProjectsLocationsKeysPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsKeysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsKeysPatchCall + func (c *ProjectsLocationsKeysPatchCall) Header() http.Header + func (c *ProjectsLocationsKeysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKeysPatchCall + type ProjectsLocationsKeysService struct + func NewProjectsLocationsKeysService(s *Service) *ProjectsLocationsKeysService + func (r *ProjectsLocationsKeysService) Create(parent string, v2key *V2Key) *ProjectsLocationsKeysCreateCall + func (r *ProjectsLocationsKeysService) Delete(name string) *ProjectsLocationsKeysDeleteCall + func (r *ProjectsLocationsKeysService) Get(name string) *ProjectsLocationsKeysGetCall + func (r *ProjectsLocationsKeysService) GetKeyString(name string) *ProjectsLocationsKeysGetKeyStringCall + func (r *ProjectsLocationsKeysService) List(parent string) *ProjectsLocationsKeysListCall + func (r *ProjectsLocationsKeysService) Patch(name string, v2key *V2Key) *ProjectsLocationsKeysPatchCall + func (r *ProjectsLocationsKeysService) Undelete(name string, v2undeletekeyrequest *V2UndeleteKeyRequest) *ProjectsLocationsKeysUndeleteCall + type ProjectsLocationsKeysUndeleteCall struct + func (c *ProjectsLocationsKeysUndeleteCall) Context(ctx context.Context) *ProjectsLocationsKeysUndeleteCall + func (c *ProjectsLocationsKeysUndeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsKeysUndeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKeysUndeleteCall + func (c *ProjectsLocationsKeysUndeleteCall) Header() http.Header + type ProjectsLocationsService struct + Keys *ProjectsLocationsKeysService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type Service struct + BasePath string + Keys *KeysService + Operations *OperationsService + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s Status) MarshalJSON() ([]byte, error) + type V2AndroidApplication struct + ForceSendFields []string + NullFields []string + PackageName string + Sha1Fingerprint string + func (s V2AndroidApplication) MarshalJSON() ([]byte, error) + type V2AndroidKeyRestrictions struct + AllowedApplications []*V2AndroidApplication + ForceSendFields []string + NullFields []string + func (s V2AndroidKeyRestrictions) MarshalJSON() ([]byte, error) + type V2ApiTarget struct + ForceSendFields []string + Methods []string + NullFields []string + Service string + func (s V2ApiTarget) MarshalJSON() ([]byte, error) + type V2BrowserKeyRestrictions struct + AllowedReferrers []string + ForceSendFields []string + NullFields []string + func (s V2BrowserKeyRestrictions) MarshalJSON() ([]byte, error) + type V2GetKeyStringResponse struct + ForceSendFields []string + KeyString string + NullFields []string + func (s V2GetKeyStringResponse) MarshalJSON() ([]byte, error) + type V2IosKeyRestrictions struct + AllowedBundleIds []string + ForceSendFields []string + NullFields []string + func (s V2IosKeyRestrictions) MarshalJSON() ([]byte, error) + type V2Key struct + Annotations map[string]string + CreateTime string + DeleteTime string + DisplayName string + Etag string + ForceSendFields []string + KeyString string + Name string + NullFields []string + Restrictions *V2Restrictions + Uid string + UpdateTime string + func (s V2Key) MarshalJSON() ([]byte, error) + type V2ListKeysResponse struct + ForceSendFields []string + Keys []*V2Key + NextPageToken string + NullFields []string + func (s V2ListKeysResponse) MarshalJSON() ([]byte, error) + type V2LookupKeyResponse struct + ForceSendFields []string + Name string + NullFields []string + Parent string + func (s V2LookupKeyResponse) MarshalJSON() ([]byte, error) + type V2Restrictions struct + AndroidKeyRestrictions *V2AndroidKeyRestrictions + ApiTargets []*V2ApiTarget + BrowserKeyRestrictions *V2BrowserKeyRestrictions + ForceSendFields []string + IosKeyRestrictions *V2IosKeyRestrictions + NullFields []string + ServerKeyRestrictions *V2ServerKeyRestrictions + func (s V2Restrictions) MarshalJSON() ([]byte, error) + type V2ServerKeyRestrictions struct + AllowedIps []string + ForceSendFields []string + NullFields []string + func (s V2ServerKeyRestrictions) MarshalJSON() ([]byte, error) + type V2UndeleteKeyRequest struct