Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const UserlocationBeaconRegistryScope + type AdvertisedId struct + ForceSendFields []string + Id string + NullFields []string + Type string + func (s *AdvertisedId) MarshalJSON() ([]byte, error) + type AttachmentInfo struct + Data string + ForceSendFields []string + MaxDistanceMeters float64 + NamespacedType string + NullFields []string + func (s *AttachmentInfo) MarshalJSON() ([]byte, error) + func (s *AttachmentInfo) UnmarshalJSON(data []byte) error + type Beacon struct + AdvertisedId *AdvertisedId + BeaconName string + Description string + EphemeralIdRegistration *EphemeralIdRegistration + ExpectedStability string + ForceSendFields []string + IndoorLevel *IndoorLevel + LatLng *LatLng + NullFields []string + PlaceId string + Properties map[string]string + ProvisioningKey string + Status string + func (s *Beacon) MarshalJSON() ([]byte, error) + type BeaconAttachment struct + AttachmentName string + CreationTimeMs string + Data string + ForceSendFields []string + MaxDistanceMeters float64 + NamespacedType string + NullFields []string + func (s *BeaconAttachment) MarshalJSON() ([]byte, error) + func (s *BeaconAttachment) UnmarshalJSON(data []byte) error + type BeaconInfo struct + AdvertisedId *AdvertisedId + Attachments []*AttachmentInfo + BeaconName string + ForceSendFields []string + NullFields []string + func (s *BeaconInfo) MarshalJSON() ([]byte, error) + type BeaconinfoGetforobservedCall struct + func (c *BeaconinfoGetforobservedCall) Context(ctx context.Context) *BeaconinfoGetforobservedCall + func (c *BeaconinfoGetforobservedCall) Do(opts ...googleapi.CallOption) (*GetInfoForObservedBeaconsResponse, error) + func (c *BeaconinfoGetforobservedCall) Fields(s ...googleapi.Field) *BeaconinfoGetforobservedCall + func (c *BeaconinfoGetforobservedCall) Header() http.Header + type BeaconinfoService struct + func NewBeaconinfoService(s *Service) *BeaconinfoService + func (r *BeaconinfoService) Getforobserved(getinfoforobservedbeaconsrequest *GetInfoForObservedBeaconsRequest) *BeaconinfoGetforobservedCall + type BeaconsActivateCall struct + func (c *BeaconsActivateCall) Context(ctx context.Context) *BeaconsActivateCall + func (c *BeaconsActivateCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *BeaconsActivateCall) Fields(s ...googleapi.Field) *BeaconsActivateCall + func (c *BeaconsActivateCall) Header() http.Header + func (c *BeaconsActivateCall) ProjectId(projectId string) *BeaconsActivateCall + type BeaconsAttachmentsBatchDeleteCall struct + func (c *BeaconsAttachmentsBatchDeleteCall) Context(ctx context.Context) *BeaconsAttachmentsBatchDeleteCall + func (c *BeaconsAttachmentsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*DeleteAttachmentsResponse, error) + func (c *BeaconsAttachmentsBatchDeleteCall) Fields(s ...googleapi.Field) *BeaconsAttachmentsBatchDeleteCall + func (c *BeaconsAttachmentsBatchDeleteCall) Header() http.Header + func (c *BeaconsAttachmentsBatchDeleteCall) NamespacedType(namespacedType string) *BeaconsAttachmentsBatchDeleteCall + func (c *BeaconsAttachmentsBatchDeleteCall) ProjectId(projectId string) *BeaconsAttachmentsBatchDeleteCall + type BeaconsAttachmentsCreateCall struct + func (c *BeaconsAttachmentsCreateCall) Context(ctx context.Context) *BeaconsAttachmentsCreateCall + func (c *BeaconsAttachmentsCreateCall) Do(opts ...googleapi.CallOption) (*BeaconAttachment, error) + func (c *BeaconsAttachmentsCreateCall) Fields(s ...googleapi.Field) *BeaconsAttachmentsCreateCall + func (c *BeaconsAttachmentsCreateCall) Header() http.Header + func (c *BeaconsAttachmentsCreateCall) ProjectId(projectId string) *BeaconsAttachmentsCreateCall + type BeaconsAttachmentsDeleteCall struct + func (c *BeaconsAttachmentsDeleteCall) Context(ctx context.Context) *BeaconsAttachmentsDeleteCall + func (c *BeaconsAttachmentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *BeaconsAttachmentsDeleteCall) Fields(s ...googleapi.Field) *BeaconsAttachmentsDeleteCall + func (c *BeaconsAttachmentsDeleteCall) Header() http.Header + func (c *BeaconsAttachmentsDeleteCall) ProjectId(projectId string) *BeaconsAttachmentsDeleteCall + type BeaconsAttachmentsListCall struct + func (c *BeaconsAttachmentsListCall) Context(ctx context.Context) *BeaconsAttachmentsListCall + func (c *BeaconsAttachmentsListCall) Do(opts ...googleapi.CallOption) (*ListBeaconAttachmentsResponse, error) + func (c *BeaconsAttachmentsListCall) Fields(s ...googleapi.Field) *BeaconsAttachmentsListCall + func (c *BeaconsAttachmentsListCall) Header() http.Header + func (c *BeaconsAttachmentsListCall) IfNoneMatch(entityTag string) *BeaconsAttachmentsListCall + func (c *BeaconsAttachmentsListCall) NamespacedType(namespacedType string) *BeaconsAttachmentsListCall + func (c *BeaconsAttachmentsListCall) ProjectId(projectId string) *BeaconsAttachmentsListCall + type BeaconsAttachmentsService struct + func NewBeaconsAttachmentsService(s *Service) *BeaconsAttachmentsService + func (r *BeaconsAttachmentsService) BatchDelete(beaconName string) *BeaconsAttachmentsBatchDeleteCall + func (r *BeaconsAttachmentsService) Create(beaconName string, beaconattachment *BeaconAttachment) *BeaconsAttachmentsCreateCall + func (r *BeaconsAttachmentsService) Delete(attachmentName string) *BeaconsAttachmentsDeleteCall + func (r *BeaconsAttachmentsService) List(beaconName string) *BeaconsAttachmentsListCall + type BeaconsDeactivateCall struct + func (c *BeaconsDeactivateCall) Context(ctx context.Context) *BeaconsDeactivateCall + func (c *BeaconsDeactivateCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *BeaconsDeactivateCall) Fields(s ...googleapi.Field) *BeaconsDeactivateCall + func (c *BeaconsDeactivateCall) Header() http.Header + func (c *BeaconsDeactivateCall) ProjectId(projectId string) *BeaconsDeactivateCall + type BeaconsDecommissionCall struct + func (c *BeaconsDecommissionCall) Context(ctx context.Context) *BeaconsDecommissionCall + func (c *BeaconsDecommissionCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *BeaconsDecommissionCall) Fields(s ...googleapi.Field) *BeaconsDecommissionCall + func (c *BeaconsDecommissionCall) Header() http.Header + func (c *BeaconsDecommissionCall) ProjectId(projectId string) *BeaconsDecommissionCall + type BeaconsDeleteCall struct + func (c *BeaconsDeleteCall) Context(ctx context.Context) *BeaconsDeleteCall + func (c *BeaconsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *BeaconsDeleteCall) Fields(s ...googleapi.Field) *BeaconsDeleteCall + func (c *BeaconsDeleteCall) Header() http.Header + func (c *BeaconsDeleteCall) ProjectId(projectId string) *BeaconsDeleteCall + type BeaconsDiagnosticsListCall struct + func (c *BeaconsDiagnosticsListCall) AlertFilter(alertFilter string) *BeaconsDiagnosticsListCall + func (c *BeaconsDiagnosticsListCall) Context(ctx context.Context) *BeaconsDiagnosticsListCall + func (c *BeaconsDiagnosticsListCall) Do(opts ...googleapi.CallOption) (*ListDiagnosticsResponse, error) + func (c *BeaconsDiagnosticsListCall) Fields(s ...googleapi.Field) *BeaconsDiagnosticsListCall + func (c *BeaconsDiagnosticsListCall) Header() http.Header + func (c *BeaconsDiagnosticsListCall) IfNoneMatch(entityTag string) *BeaconsDiagnosticsListCall + func (c *BeaconsDiagnosticsListCall) PageSize(pageSize int64) *BeaconsDiagnosticsListCall + func (c *BeaconsDiagnosticsListCall) PageToken(pageToken string) *BeaconsDiagnosticsListCall + func (c *BeaconsDiagnosticsListCall) Pages(ctx context.Context, f func(*ListDiagnosticsResponse) error) error + func (c *BeaconsDiagnosticsListCall) ProjectId(projectId string) *BeaconsDiagnosticsListCall + type BeaconsDiagnosticsService struct + func NewBeaconsDiagnosticsService(s *Service) *BeaconsDiagnosticsService + func (r *BeaconsDiagnosticsService) List(beaconName string) *BeaconsDiagnosticsListCall + type BeaconsGetCall struct + func (c *BeaconsGetCall) Context(ctx context.Context) *BeaconsGetCall + func (c *BeaconsGetCall) Do(opts ...googleapi.CallOption) (*Beacon, error) + func (c *BeaconsGetCall) Fields(s ...googleapi.Field) *BeaconsGetCall + func (c *BeaconsGetCall) Header() http.Header + func (c *BeaconsGetCall) IfNoneMatch(entityTag string) *BeaconsGetCall + func (c *BeaconsGetCall) ProjectId(projectId string) *BeaconsGetCall + type BeaconsListCall struct + func (c *BeaconsListCall) Context(ctx context.Context) *BeaconsListCall + func (c *BeaconsListCall) Do(opts ...googleapi.CallOption) (*ListBeaconsResponse, error) + func (c *BeaconsListCall) Fields(s ...googleapi.Field) *BeaconsListCall + func (c *BeaconsListCall) Header() http.Header + func (c *BeaconsListCall) IfNoneMatch(entityTag string) *BeaconsListCall + func (c *BeaconsListCall) PageSize(pageSize int64) *BeaconsListCall + func (c *BeaconsListCall) PageToken(pageToken string) *BeaconsListCall + func (c *BeaconsListCall) Pages(ctx context.Context, f func(*ListBeaconsResponse) error) error + func (c *BeaconsListCall) ProjectId(projectId string) *BeaconsListCall + func (c *BeaconsListCall) Q(q string) *BeaconsListCall + type BeaconsRegisterCall struct + func (c *BeaconsRegisterCall) Context(ctx context.Context) *BeaconsRegisterCall + func (c *BeaconsRegisterCall) Do(opts ...googleapi.CallOption) (*Beacon, error) + func (c *BeaconsRegisterCall) Fields(s ...googleapi.Field) *BeaconsRegisterCall + func (c *BeaconsRegisterCall) Header() http.Header + func (c *BeaconsRegisterCall) ProjectId(projectId string) *BeaconsRegisterCall + type BeaconsService struct + Attachments *BeaconsAttachmentsService + Diagnostics *BeaconsDiagnosticsService + func NewBeaconsService(s *Service) *BeaconsService + func (r *BeaconsService) Activate(beaconName string) *BeaconsActivateCall + func (r *BeaconsService) Deactivate(beaconName string) *BeaconsDeactivateCall + func (r *BeaconsService) Decommission(beaconName string) *BeaconsDecommissionCall + func (r *BeaconsService) Delete(beaconName string) *BeaconsDeleteCall + func (r *BeaconsService) Get(beaconName string) *BeaconsGetCall + func (r *BeaconsService) List() *BeaconsListCall + func (r *BeaconsService) Register(beacon *Beacon) *BeaconsRegisterCall + func (r *BeaconsService) Update(beaconName string, beacon *Beacon) *BeaconsUpdateCall + type BeaconsUpdateCall struct + func (c *BeaconsUpdateCall) Context(ctx context.Context) *BeaconsUpdateCall + func (c *BeaconsUpdateCall) Do(opts ...googleapi.CallOption) (*Beacon, error) + func (c *BeaconsUpdateCall) Fields(s ...googleapi.Field) *BeaconsUpdateCall + func (c *BeaconsUpdateCall) Header() http.Header + func (c *BeaconsUpdateCall) ProjectId(projectId string) *BeaconsUpdateCall + type Date struct + Day int64 + ForceSendFields []string + Month int64 + NullFields []string + Year int64 + func (s *Date) MarshalJSON() ([]byte, error) + type DeleteAttachmentsResponse struct + ForceSendFields []string + NullFields []string + NumDeleted int64 + func (s *DeleteAttachmentsResponse) MarshalJSON() ([]byte, error) + type Diagnostics struct + Alerts []string + BeaconName string + EstimatedLowBatteryDate *Date + ForceSendFields []string + NullFields []string + func (s *Diagnostics) MarshalJSON() ([]byte, error) + type Empty struct + type EphemeralIdRegistration struct + BeaconEcdhPublicKey string + BeaconIdentityKey string + ForceSendFields []string + InitialClockValue uint64 + InitialEid string + NullFields []string + RotationPeriodExponent int64 + ServiceEcdhPublicKey string + func (s *EphemeralIdRegistration) MarshalJSON() ([]byte, error) + type EphemeralIdRegistrationParams struct + ForceSendFields []string + MaxRotationPeriodExponent int64 + MinRotationPeriodExponent int64 + NullFields []string + ServiceEcdhPublicKey string + func (s *EphemeralIdRegistrationParams) MarshalJSON() ([]byte, error) + type GetInfoForObservedBeaconsRequest struct + ForceSendFields []string + NamespacedTypes []string + NullFields []string + Observations []*Observation + func (s *GetInfoForObservedBeaconsRequest) MarshalJSON() ([]byte, error) + type GetInfoForObservedBeaconsResponse struct + Beacons []*BeaconInfo + ForceSendFields []string + NullFields []string + func (s *GetInfoForObservedBeaconsResponse) MarshalJSON() ([]byte, error) + type IndoorLevel struct + ForceSendFields []string + Name string + NullFields []string + func (s *IndoorLevel) MarshalJSON() ([]byte, error) + type LatLng struct + ForceSendFields []string + Latitude float64 + Longitude float64 + NullFields []string + func (s *LatLng) MarshalJSON() ([]byte, error) + func (s *LatLng) UnmarshalJSON(data []byte) error + type ListBeaconAttachmentsResponse struct + Attachments []*BeaconAttachment + ForceSendFields []string + NullFields []string + func (s *ListBeaconAttachmentsResponse) MarshalJSON() ([]byte, error) + type ListBeaconsResponse struct + Beacons []*Beacon + ForceSendFields []string + NextPageToken string + NullFields []string + TotalCount int64 + func (s *ListBeaconsResponse) MarshalJSON() ([]byte, error) + type ListDiagnosticsResponse struct + Diagnostics []*Diagnostics + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListDiagnosticsResponse) MarshalJSON() ([]byte, error) + type ListNamespacesResponse struct + ForceSendFields []string + Namespaces []*Namespace + NullFields []string + func (s *ListNamespacesResponse) MarshalJSON() ([]byte, error) + type Namespace struct + ForceSendFields []string + NamespaceName string + NullFields []string + ServingVisibility string + func (s *Namespace) MarshalJSON() ([]byte, error) + type NamespacesListCall struct + func (c *NamespacesListCall) Context(ctx context.Context) *NamespacesListCall + func (c *NamespacesListCall) Do(opts ...googleapi.CallOption) (*ListNamespacesResponse, error) + func (c *NamespacesListCall) Fields(s ...googleapi.Field) *NamespacesListCall + func (c *NamespacesListCall) Header() http.Header + func (c *NamespacesListCall) IfNoneMatch(entityTag string) *NamespacesListCall + func (c *NamespacesListCall) ProjectId(projectId string) *NamespacesListCall + type NamespacesService struct + func NewNamespacesService(s *Service) *NamespacesService + func (r *NamespacesService) List() *NamespacesListCall + func (r *NamespacesService) Update(namespaceName string, namespace *Namespace) *NamespacesUpdateCall + type NamespacesUpdateCall struct + func (c *NamespacesUpdateCall) Context(ctx context.Context) *NamespacesUpdateCall + func (c *NamespacesUpdateCall) Do(opts ...googleapi.CallOption) (*Namespace, error) + func (c *NamespacesUpdateCall) Fields(s ...googleapi.Field) *NamespacesUpdateCall + func (c *NamespacesUpdateCall) Header() http.Header + func (c *NamespacesUpdateCall) ProjectId(projectId string) *NamespacesUpdateCall + type Observation struct + AdvertisedId *AdvertisedId + ForceSendFields []string + NullFields []string + Telemetry string + TimestampMs string + func (s *Observation) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Beaconinfo *BeaconinfoService + Beacons *BeaconsService + Namespaces *NamespacesService + UserAgent string + V1beta1 *V1beta1Service + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type V1beta1GetEidparamsCall struct + func (c *V1beta1GetEidparamsCall) Context(ctx context.Context) *V1beta1GetEidparamsCall + func (c *V1beta1GetEidparamsCall) Do(opts ...googleapi.CallOption) (*EphemeralIdRegistrationParams, error) + func (c *V1beta1GetEidparamsCall) Fields(s ...googleapi.Field) *V1beta1GetEidparamsCall + func (c *V1beta1GetEidparamsCall) Header() http.Header + func (c *V1beta1GetEidparamsCall) IfNoneMatch(entityTag string) *V1beta1GetEidparamsCall + type V1beta1Service struct + func NewV1beta1Service(s *Service) *V1beta1Service + func (r *V1beta1Service) GetEidparams() *V1beta1GetEidparamsCall