Versions in this module Expand all Collapse all v1 v1.1.7 May 1, 2024 v1.1.6 Mar 14, 2024 v1.1.5 Jan 30, 2024 v1.1.4 Nov 1, 2023 v1.1.3 Oct 26, 2023 v1.1.2 Oct 12, 2023 v1.1.1 Jun 20, 2023 v1.1.0 May 30, 2023 v1.0.1 May 8, 2023 v1.0.0 Apr 4, 2023 v0 v0.6.0 Mar 15, 2023 v0.5.0 Feb 17, 2023 v0.4.0 Feb 16, 2023 Changes in this version + var File_google_api_apikeys_v2_apikeys_proto protoreflect.FileDescriptor + var File_google_api_apikeys_v2_resources_proto protoreflect.FileDescriptor + func RegisterApiKeysServer(s *grpc.Server, srv ApiKeysServer) + type AndroidApplication struct + PackageName string + Sha1Fingerprint string + func (*AndroidApplication) Descriptor() ([]byte, []int) + func (*AndroidApplication) ProtoMessage() + func (x *AndroidApplication) GetPackageName() string + func (x *AndroidApplication) GetSha1Fingerprint() string + func (x *AndroidApplication) ProtoReflect() protoreflect.Message + func (x *AndroidApplication) Reset() + func (x *AndroidApplication) String() string + type AndroidKeyRestrictions struct + AllowedApplications []*AndroidApplication + func (*AndroidKeyRestrictions) Descriptor() ([]byte, []int) + func (*AndroidKeyRestrictions) ProtoMessage() + func (x *AndroidKeyRestrictions) GetAllowedApplications() []*AndroidApplication + func (x *AndroidKeyRestrictions) ProtoReflect() protoreflect.Message + func (x *AndroidKeyRestrictions) Reset() + func (x *AndroidKeyRestrictions) String() string + type ApiKeysClient interface + CreateKey func(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + DeleteKey func(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + GetKey func(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*Key, error) + GetKeyString func(ctx context.Context, in *GetKeyStringRequest, opts ...grpc.CallOption) (*GetKeyStringResponse, error) + ListKeys func(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error) + LookupKey func(ctx context.Context, in *LookupKeyRequest, opts ...grpc.CallOption) (*LookupKeyResponse, error) + UndeleteKey func(ctx context.Context, in *UndeleteKeyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + UpdateKey func(ctx context.Context, in *UpdateKeyRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) + func NewApiKeysClient(cc grpc.ClientConnInterface) ApiKeysClient + type ApiKeysServer interface + CreateKey func(context.Context, *CreateKeyRequest) (*longrunning.Operation, error) + DeleteKey func(context.Context, *DeleteKeyRequest) (*longrunning.Operation, error) + GetKey func(context.Context, *GetKeyRequest) (*Key, error) + GetKeyString func(context.Context, *GetKeyStringRequest) (*GetKeyStringResponse, error) + ListKeys func(context.Context, *ListKeysRequest) (*ListKeysResponse, error) + LookupKey func(context.Context, *LookupKeyRequest) (*LookupKeyResponse, error) + UndeleteKey func(context.Context, *UndeleteKeyRequest) (*longrunning.Operation, error) + UpdateKey func(context.Context, *UpdateKeyRequest) (*longrunning.Operation, error) + type ApiTarget struct + Methods []string + Service string + func (*ApiTarget) Descriptor() ([]byte, []int) + func (*ApiTarget) ProtoMessage() + func (x *ApiTarget) GetMethods() []string + func (x *ApiTarget) GetService() string + func (x *ApiTarget) ProtoReflect() protoreflect.Message + func (x *ApiTarget) Reset() + func (x *ApiTarget) String() string + type BrowserKeyRestrictions struct + AllowedReferrers []string + func (*BrowserKeyRestrictions) Descriptor() ([]byte, []int) + func (*BrowserKeyRestrictions) ProtoMessage() + func (x *BrowserKeyRestrictions) GetAllowedReferrers() []string + func (x *BrowserKeyRestrictions) ProtoReflect() protoreflect.Message + func (x *BrowserKeyRestrictions) Reset() + func (x *BrowserKeyRestrictions) String() string + type CreateKeyRequest struct + Key *Key + KeyId string + Parent string + func (*CreateKeyRequest) Descriptor() ([]byte, []int) + func (*CreateKeyRequest) ProtoMessage() + func (x *CreateKeyRequest) GetKey() *Key + func (x *CreateKeyRequest) GetKeyId() string + func (x *CreateKeyRequest) GetParent() string + func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message + func (x *CreateKeyRequest) Reset() + func (x *CreateKeyRequest) String() string + type DeleteKeyRequest struct + Etag string + Name string + func (*DeleteKeyRequest) Descriptor() ([]byte, []int) + func (*DeleteKeyRequest) ProtoMessage() + func (x *DeleteKeyRequest) GetEtag() string + func (x *DeleteKeyRequest) GetName() string + func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message + func (x *DeleteKeyRequest) Reset() + func (x *DeleteKeyRequest) String() string + type GetKeyRequest struct + Name string + func (*GetKeyRequest) Descriptor() ([]byte, []int) + func (*GetKeyRequest) ProtoMessage() + func (x *GetKeyRequest) GetName() string + func (x *GetKeyRequest) ProtoReflect() protoreflect.Message + func (x *GetKeyRequest) Reset() + func (x *GetKeyRequest) String() string + type GetKeyStringRequest struct + Name string + func (*GetKeyStringRequest) Descriptor() ([]byte, []int) + func (*GetKeyStringRequest) ProtoMessage() + func (x *GetKeyStringRequest) GetName() string + func (x *GetKeyStringRequest) ProtoReflect() protoreflect.Message + func (x *GetKeyStringRequest) Reset() + func (x *GetKeyStringRequest) String() string + type GetKeyStringResponse struct + KeyString string + func (*GetKeyStringResponse) Descriptor() ([]byte, []int) + func (*GetKeyStringResponse) ProtoMessage() + func (x *GetKeyStringResponse) GetKeyString() string + func (x *GetKeyStringResponse) ProtoReflect() protoreflect.Message + func (x *GetKeyStringResponse) Reset() + func (x *GetKeyStringResponse) String() string + type IosKeyRestrictions struct + AllowedBundleIds []string + func (*IosKeyRestrictions) Descriptor() ([]byte, []int) + func (*IosKeyRestrictions) ProtoMessage() + func (x *IosKeyRestrictions) GetAllowedBundleIds() []string + func (x *IosKeyRestrictions) ProtoReflect() protoreflect.Message + func (x *IosKeyRestrictions) Reset() + func (x *IosKeyRestrictions) String() string + type Key struct + Annotations map[string]string + CreateTime *timestamppb.Timestamp + DeleteTime *timestamppb.Timestamp + DisplayName string + Etag string + KeyString string + Name string + Restrictions *Restrictions + Uid string + UpdateTime *timestamppb.Timestamp + func (*Key) Descriptor() ([]byte, []int) + func (*Key) ProtoMessage() + func (x *Key) GetAnnotations() map[string]string + func (x *Key) GetCreateTime() *timestamppb.Timestamp + func (x *Key) GetDeleteTime() *timestamppb.Timestamp + func (x *Key) GetDisplayName() string + func (x *Key) GetEtag() string + func (x *Key) GetKeyString() string + func (x *Key) GetName() string + func (x *Key) GetRestrictions() *Restrictions + func (x *Key) GetUid() string + func (x *Key) GetUpdateTime() *timestamppb.Timestamp + func (x *Key) ProtoReflect() protoreflect.Message + func (x *Key) Reset() + func (x *Key) String() string + type ListKeysRequest struct + PageSize int32 + PageToken string + Parent string + ShowDeleted bool + func (*ListKeysRequest) Descriptor() ([]byte, []int) + func (*ListKeysRequest) ProtoMessage() + func (x *ListKeysRequest) GetPageSize() int32 + func (x *ListKeysRequest) GetPageToken() string + func (x *ListKeysRequest) GetParent() string + func (x *ListKeysRequest) GetShowDeleted() bool + func (x *ListKeysRequest) ProtoReflect() protoreflect.Message + func (x *ListKeysRequest) Reset() + func (x *ListKeysRequest) String() string + type ListKeysResponse struct + Keys []*Key + NextPageToken string + func (*ListKeysResponse) Descriptor() ([]byte, []int) + func (*ListKeysResponse) ProtoMessage() + func (x *ListKeysResponse) GetKeys() []*Key + func (x *ListKeysResponse) GetNextPageToken() string + func (x *ListKeysResponse) ProtoReflect() protoreflect.Message + func (x *ListKeysResponse) Reset() + func (x *ListKeysResponse) String() string + type LookupKeyRequest struct + KeyString string + func (*LookupKeyRequest) Descriptor() ([]byte, []int) + func (*LookupKeyRequest) ProtoMessage() + func (x *LookupKeyRequest) GetKeyString() string + func (x *LookupKeyRequest) ProtoReflect() protoreflect.Message + func (x *LookupKeyRequest) Reset() + func (x *LookupKeyRequest) String() string + type LookupKeyResponse struct + Name string + Parent string + func (*LookupKeyResponse) Descriptor() ([]byte, []int) + func (*LookupKeyResponse) ProtoMessage() + func (x *LookupKeyResponse) GetName() string + func (x *LookupKeyResponse) GetParent() string + func (x *LookupKeyResponse) ProtoReflect() protoreflect.Message + func (x *LookupKeyResponse) Reset() + func (x *LookupKeyResponse) String() string + type Restrictions struct + ApiTargets []*ApiTarget + ClientRestrictions isRestrictions_ClientRestrictions + func (*Restrictions) Descriptor() ([]byte, []int) + func (*Restrictions) ProtoMessage() + func (m *Restrictions) GetClientRestrictions() isRestrictions_ClientRestrictions + func (x *Restrictions) GetAndroidKeyRestrictions() *AndroidKeyRestrictions + func (x *Restrictions) GetApiTargets() []*ApiTarget + func (x *Restrictions) GetBrowserKeyRestrictions() *BrowserKeyRestrictions + func (x *Restrictions) GetIosKeyRestrictions() *IosKeyRestrictions + func (x *Restrictions) GetServerKeyRestrictions() *ServerKeyRestrictions + func (x *Restrictions) ProtoReflect() protoreflect.Message + func (x *Restrictions) Reset() + func (x *Restrictions) String() string + type Restrictions_AndroidKeyRestrictions struct + AndroidKeyRestrictions *AndroidKeyRestrictions + type Restrictions_BrowserKeyRestrictions struct + BrowserKeyRestrictions *BrowserKeyRestrictions + type Restrictions_IosKeyRestrictions struct + IosKeyRestrictions *IosKeyRestrictions + type Restrictions_ServerKeyRestrictions struct + ServerKeyRestrictions *ServerKeyRestrictions + type ServerKeyRestrictions struct + AllowedIps []string + func (*ServerKeyRestrictions) Descriptor() ([]byte, []int) + func (*ServerKeyRestrictions) ProtoMessage() + func (x *ServerKeyRestrictions) GetAllowedIps() []string + func (x *ServerKeyRestrictions) ProtoReflect() protoreflect.Message + func (x *ServerKeyRestrictions) Reset() + func (x *ServerKeyRestrictions) String() string + type UndeleteKeyRequest struct + Name string + func (*UndeleteKeyRequest) Descriptor() ([]byte, []int) + func (*UndeleteKeyRequest) ProtoMessage() + func (x *UndeleteKeyRequest) GetName() string + func (x *UndeleteKeyRequest) ProtoReflect() protoreflect.Message + func (x *UndeleteKeyRequest) Reset() + func (x *UndeleteKeyRequest) String() string + type UnimplementedApiKeysServer struct + func (*UnimplementedApiKeysServer) CreateKey(context.Context, *CreateKeyRequest) (*longrunning.Operation, error) + func (*UnimplementedApiKeysServer) DeleteKey(context.Context, *DeleteKeyRequest) (*longrunning.Operation, error) + func (*UnimplementedApiKeysServer) GetKey(context.Context, *GetKeyRequest) (*Key, error) + func (*UnimplementedApiKeysServer) GetKeyString(context.Context, *GetKeyStringRequest) (*GetKeyStringResponse, error) + func (*UnimplementedApiKeysServer) ListKeys(context.Context, *ListKeysRequest) (*ListKeysResponse, error) + func (*UnimplementedApiKeysServer) LookupKey(context.Context, *LookupKeyRequest) (*LookupKeyResponse, error) + func (*UnimplementedApiKeysServer) UndeleteKey(context.Context, *UndeleteKeyRequest) (*longrunning.Operation, error) + func (*UnimplementedApiKeysServer) UpdateKey(context.Context, *UpdateKeyRequest) (*longrunning.Operation, error) + type UpdateKeyRequest struct + Key *Key + UpdateMask *fieldmaskpb.FieldMask + func (*UpdateKeyRequest) Descriptor() ([]byte, []int) + func (*UpdateKeyRequest) ProtoMessage() + func (x *UpdateKeyRequest) GetKey() *Key + func (x *UpdateKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask + func (x *UpdateKeyRequest) ProtoReflect() protoreflect.Message + func (x *UpdateKeyRequest) Reset() + func (x *UpdateKeyRequest) String() string