Versions in this module Expand all Collapse all v1 v1.0.10 May 30, 2023 Changes in this version + type BindDeviceToGatewayRequest struct + DeviceId string + ForceSendFields []string + GatewayId string + NullFields []string + func (s *BindDeviceToGatewayRequest) MarshalJSON() ([]byte, error) + type BindDeviceToGatewayResponse struct + type Binding struct + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s *Binding) MarshalJSON() ([]byte, error) + type Device struct + Blocked bool + Config *DeviceConfig + Credentials []*DeviceCredential + ForceSendFields []string + GatewayConfig *GatewayConfig + Id string + LastConfigAckTime string + LastConfigSendTime string + LastErrorStatus *Status + LastErrorTime string + LastEventTime string + LastHeartbeatTime string + LastStateTime string + LogLevel string + Metadata map[string]string + Name string + NullFields []string + NumId uint64 + State *DeviceState + func (s *Device) MarshalJSON() ([]byte, error) + type DeviceConfig struct + BinaryData string + CloudUpdateTime string + DeviceAckTime string + ForceSendFields []string + NullFields []string + Version int64 + func (s *DeviceConfig) MarshalJSON() ([]byte, error) + type DeviceCredential struct + ExpirationTime string + ForceSendFields []string + NullFields []string + PublicKey *PublicKeyCredential + func (s *DeviceCredential) MarshalJSON() ([]byte, error) + type DeviceRegistry struct + Credentials []*RegistryCredential + EventNotificationConfigs []*EventNotificationConfig + ForceSendFields []string + HttpConfig *HttpConfig + Id string + LogLevel string + MqttConfig *MqttConfig + Name string + NullFields []string + StateNotificationConfig *StateNotificationConfig + func (s *DeviceRegistry) MarshalJSON() ([]byte, error) + type DeviceState struct + BinaryData string + ForceSendFields []string + NullFields []string + UpdateTime string + func (s *DeviceState) MarshalJSON() ([]byte, error) + type Empty struct + type EventNotificationConfig struct + ForceSendFields []string + NullFields []string + PubsubTopicName string + SubfolderMatches string + func (s *EventNotificationConfig) MarshalJSON() ([]byte, error) + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type GatewayConfig struct + ForceSendFields []string + GatewayAuthMethod string + GatewayType string + LastAccessedGatewayId string + LastAccessedGatewayTime string + NullFields []string + func (s *GatewayConfig) MarshalJSON() ([]byte, error) + type GetIamPolicyRequest struct + ForceSendFields []string + NullFields []string + Options *GetPolicyOptions + func (s *GetIamPolicyRequest) MarshalJSON() ([]byte, error) + type GetPolicyOptions struct + ForceSendFields []string + NullFields []string + RequestedPolicyVersion int64 + func (s *GetPolicyOptions) MarshalJSON() ([]byte, error) + type HttpConfig struct + ForceSendFields []string + HttpEnabledState string + NullFields []string + func (s *HttpConfig) MarshalJSON() ([]byte, error) + type ListDeviceConfigVersionsResponse struct + DeviceConfigs []*DeviceConfig + ForceSendFields []string + NullFields []string + func (s *ListDeviceConfigVersionsResponse) MarshalJSON() ([]byte, error) + type ListDeviceRegistriesResponse struct + DeviceRegistries []*DeviceRegistry + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListDeviceRegistriesResponse) MarshalJSON() ([]byte, error) + type ListDeviceStatesResponse struct + DeviceStates []*DeviceState + ForceSendFields []string + NullFields []string + func (s *ListDeviceStatesResponse) MarshalJSON() ([]byte, error) + type ListDevicesResponse struct + Devices []*Device + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListDevicesResponse) MarshalJSON() ([]byte, error) + type ModifyCloudToDeviceConfigRequest struct + BinaryData string + ForceSendFields []string + NullFields []string + VersionToUpdate int64 + func (s *ModifyCloudToDeviceConfigRequest) MarshalJSON() ([]byte, error) + type MqttConfig struct + ForceSendFields []string + MqttEnabledState string + NullFields []string + func (s *MqttConfig) MarshalJSON() ([]byte, error) + type Policy struct + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s *Policy) MarshalJSON() ([]byte, error) + type ProjectsLocationsRegistriesBindDeviceToGatewayCall struct + func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) Context(ctx context.Context) *ProjectsLocationsRegistriesBindDeviceToGatewayCall + func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) Do() (*BindDeviceToGatewayResponse, error) + func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesBindDeviceToGatewayCall + func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) Header() http.Header + type ProjectsLocationsRegistriesCreateCall struct + func (c *ProjectsLocationsRegistriesCreateCall) Context(ctx context.Context) *ProjectsLocationsRegistriesCreateCall + func (c *ProjectsLocationsRegistriesCreateCall) Do() (*DeviceRegistry, error) + func (c *ProjectsLocationsRegistriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesCreateCall + func (c *ProjectsLocationsRegistriesCreateCall) Header() http.Header + type ProjectsLocationsRegistriesDeleteCall struct + func (c *ProjectsLocationsRegistriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDeleteCall + func (c *ProjectsLocationsRegistriesDeleteCall) Do() (*Empty, error) + func (c *ProjectsLocationsRegistriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDeleteCall + func (c *ProjectsLocationsRegistriesDeleteCall) Header() http.Header + type ProjectsLocationsRegistriesDevicesConfigVersionsListCall struct + func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesConfigVersionsListCall + func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) Do() (*ListDeviceConfigVersionsResponse, error) + func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesConfigVersionsListCall + func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) Header() http.Header + func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistriesDevicesConfigVersionsListCall + func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) NumVersions(numVersions int64) *ProjectsLocationsRegistriesDevicesConfigVersionsListCall + type ProjectsLocationsRegistriesDevicesConfigVersionsService struct + func NewProjectsLocationsRegistriesDevicesConfigVersionsService(s *Service) *ProjectsLocationsRegistriesDevicesConfigVersionsService + func (r *ProjectsLocationsRegistriesDevicesConfigVersionsService) List(name string) *ProjectsLocationsRegistriesDevicesConfigVersionsListCall + type ProjectsLocationsRegistriesDevicesCreateCall struct + func (c *ProjectsLocationsRegistriesDevicesCreateCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesCreateCall + func (c *ProjectsLocationsRegistriesDevicesCreateCall) Do() (*Device, error) + func (c *ProjectsLocationsRegistriesDevicesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesCreateCall + func (c *ProjectsLocationsRegistriesDevicesCreateCall) Header() http.Header + type ProjectsLocationsRegistriesDevicesDeleteCall struct + func (c *ProjectsLocationsRegistriesDevicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesDeleteCall + func (c *ProjectsLocationsRegistriesDevicesDeleteCall) Do() (*Empty, error) + func (c *ProjectsLocationsRegistriesDevicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesDeleteCall + func (c *ProjectsLocationsRegistriesDevicesDeleteCall) Header() http.Header + type ProjectsLocationsRegistriesDevicesGetCall struct + func (c *ProjectsLocationsRegistriesDevicesGetCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesGetCall + func (c *ProjectsLocationsRegistriesDevicesGetCall) Do() (*Device, error) + func (c *ProjectsLocationsRegistriesDevicesGetCall) FieldMask(fieldMask string) *ProjectsLocationsRegistriesDevicesGetCall + func (c *ProjectsLocationsRegistriesDevicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesGetCall + func (c *ProjectsLocationsRegistriesDevicesGetCall) Header() http.Header + func (c *ProjectsLocationsRegistriesDevicesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistriesDevicesGetCall + type ProjectsLocationsRegistriesDevicesListCall struct + func (c *ProjectsLocationsRegistriesDevicesListCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) DeviceIds(deviceIds ...string) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) DeviceNumIds(deviceNumIds ...uint64) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) Do() (*ListDevicesResponse, error) + func (c *ProjectsLocationsRegistriesDevicesListCall) FieldMask(fieldMask string) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) GatewayListOptionsAssociationsDeviceId(gatewayListOptionsAssociationsDeviceId string) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) GatewayListOptionsAssociationsGatewayId(gatewayListOptionsAssociationsGatewayId string) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) GatewayListOptionsGatewayType(gatewayListOptionsGatewayType string) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) Header() http.Header + func (c *ProjectsLocationsRegistriesDevicesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) PageSize(pageSize int64) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) PageToken(pageToken string) *ProjectsLocationsRegistriesDevicesListCall + func (c *ProjectsLocationsRegistriesDevicesListCall) Pages(ctx context.Context, f func(*ListDevicesResponse) error) error + type ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall struct + func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall + func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) Do() (*DeviceConfig, error) + func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall + func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) Header() http.Header + type ProjectsLocationsRegistriesDevicesPatchCall struct + func (c *ProjectsLocationsRegistriesDevicesPatchCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesPatchCall + func (c *ProjectsLocationsRegistriesDevicesPatchCall) Do() (*Device, error) + func (c *ProjectsLocationsRegistriesDevicesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesPatchCall + func (c *ProjectsLocationsRegistriesDevicesPatchCall) Header() http.Header + func (c *ProjectsLocationsRegistriesDevicesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRegistriesDevicesPatchCall + type ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall struct + func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall + func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) Do() (*SendCommandToDeviceResponse, error) + func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall + func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) Header() http.Header + type ProjectsLocationsRegistriesDevicesService struct + ConfigVersions *ProjectsLocationsRegistriesDevicesConfigVersionsService + States *ProjectsLocationsRegistriesDevicesStatesService + func NewProjectsLocationsRegistriesDevicesService(s *Service) *ProjectsLocationsRegistriesDevicesService + func (r *ProjectsLocationsRegistriesDevicesService) Create(parent string, device *Device) *ProjectsLocationsRegistriesDevicesCreateCall + func (r *ProjectsLocationsRegistriesDevicesService) Delete(name string) *ProjectsLocationsRegistriesDevicesDeleteCall + func (r *ProjectsLocationsRegistriesDevicesService) Get(name string) *ProjectsLocationsRegistriesDevicesGetCall + func (r *ProjectsLocationsRegistriesDevicesService) List(parent string) *ProjectsLocationsRegistriesDevicesListCall + func (r *ProjectsLocationsRegistriesDevicesService) ModifyCloudToDeviceConfig(name string, ...) *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall + func (r *ProjectsLocationsRegistriesDevicesService) Patch(name string, device *Device) *ProjectsLocationsRegistriesDevicesPatchCall + func (r *ProjectsLocationsRegistriesDevicesService) SendCommandToDevice(name string, sendcommandtodevicerequest *SendCommandToDeviceRequest) *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall + type ProjectsLocationsRegistriesDevicesStatesListCall struct + func (c *ProjectsLocationsRegistriesDevicesStatesListCall) Context(ctx context.Context) *ProjectsLocationsRegistriesDevicesStatesListCall + func (c *ProjectsLocationsRegistriesDevicesStatesListCall) Do() (*ListDeviceStatesResponse, error) + func (c *ProjectsLocationsRegistriesDevicesStatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesDevicesStatesListCall + func (c *ProjectsLocationsRegistriesDevicesStatesListCall) Header() http.Header + func (c *ProjectsLocationsRegistriesDevicesStatesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistriesDevicesStatesListCall + func (c *ProjectsLocationsRegistriesDevicesStatesListCall) NumStates(numStates int64) *ProjectsLocationsRegistriesDevicesStatesListCall + type ProjectsLocationsRegistriesDevicesStatesService struct + func NewProjectsLocationsRegistriesDevicesStatesService(s *Service) *ProjectsLocationsRegistriesDevicesStatesService + func (r *ProjectsLocationsRegistriesDevicesStatesService) List(name string) *ProjectsLocationsRegistriesDevicesStatesListCall + type ProjectsLocationsRegistriesGetCall struct + func (c *ProjectsLocationsRegistriesGetCall) Context(ctx context.Context) *ProjectsLocationsRegistriesGetCall + func (c *ProjectsLocationsRegistriesGetCall) Do() (*DeviceRegistry, error) + func (c *ProjectsLocationsRegistriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesGetCall + func (c *ProjectsLocationsRegistriesGetCall) Header() http.Header + func (c *ProjectsLocationsRegistriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistriesGetCall + type ProjectsLocationsRegistriesGetIamPolicyCall struct + func (c *ProjectsLocationsRegistriesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRegistriesGetIamPolicyCall + func (c *ProjectsLocationsRegistriesGetIamPolicyCall) Do() (*Policy, error) + func (c *ProjectsLocationsRegistriesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesGetIamPolicyCall + func (c *ProjectsLocationsRegistriesGetIamPolicyCall) Header() http.Header + type ProjectsLocationsRegistriesGroupsDevicesListCall struct + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) Context(ctx context.Context) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) DeviceIds(deviceIds ...string) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) DeviceNumIds(deviceNumIds ...uint64) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) Do() (*ListDevicesResponse, error) + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) FieldMask(fieldMask string) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) GatewayListOptionsAssociationsDeviceId(gatewayListOptionsAssociationsDeviceId string) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) GatewayListOptionsAssociationsGatewayId(gatewayListOptionsAssociationsGatewayId string) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) GatewayListOptionsGatewayType(gatewayListOptionsGatewayType string) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) Header() http.Header + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) PageSize(pageSize int64) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) PageToken(pageToken string) *ProjectsLocationsRegistriesGroupsDevicesListCall + func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) Pages(ctx context.Context, f func(*ListDevicesResponse) error) error + type ProjectsLocationsRegistriesGroupsDevicesService struct + func NewProjectsLocationsRegistriesGroupsDevicesService(s *Service) *ProjectsLocationsRegistriesGroupsDevicesService + func (r *ProjectsLocationsRegistriesGroupsDevicesService) List(parent string) *ProjectsLocationsRegistriesGroupsDevicesListCall + type ProjectsLocationsRegistriesGroupsGetIamPolicyCall struct + func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRegistriesGroupsGetIamPolicyCall + func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) Do() (*Policy, error) + func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesGroupsGetIamPolicyCall + func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) Header() http.Header + type ProjectsLocationsRegistriesGroupsService struct + Devices *ProjectsLocationsRegistriesGroupsDevicesService + func NewProjectsLocationsRegistriesGroupsService(s *Service) *ProjectsLocationsRegistriesGroupsService + func (r *ProjectsLocationsRegistriesGroupsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsRegistriesGroupsGetIamPolicyCall + func (r *ProjectsLocationsRegistriesGroupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRegistriesGroupsSetIamPolicyCall + func (r *ProjectsLocationsRegistriesGroupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall + type ProjectsLocationsRegistriesGroupsSetIamPolicyCall struct + func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRegistriesGroupsSetIamPolicyCall + func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) Do() (*Policy, error) + func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesGroupsSetIamPolicyCall + func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) Header() http.Header + type ProjectsLocationsRegistriesGroupsTestIamPermissionsCall struct + func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall + func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) Do() (*TestIamPermissionsResponse, error) + func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall + func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) Header() http.Header + type ProjectsLocationsRegistriesListCall struct + func (c *ProjectsLocationsRegistriesListCall) Context(ctx context.Context) *ProjectsLocationsRegistriesListCall + func (c *ProjectsLocationsRegistriesListCall) Do() (*ListDeviceRegistriesResponse, error) + func (c *ProjectsLocationsRegistriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesListCall + func (c *ProjectsLocationsRegistriesListCall) Header() http.Header + func (c *ProjectsLocationsRegistriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistriesListCall + func (c *ProjectsLocationsRegistriesListCall) PageSize(pageSize int64) *ProjectsLocationsRegistriesListCall + func (c *ProjectsLocationsRegistriesListCall) PageToken(pageToken string) *ProjectsLocationsRegistriesListCall + func (c *ProjectsLocationsRegistriesListCall) Pages(ctx context.Context, f func(*ListDeviceRegistriesResponse) error) error + type ProjectsLocationsRegistriesPatchCall struct + func (c *ProjectsLocationsRegistriesPatchCall) Context(ctx context.Context) *ProjectsLocationsRegistriesPatchCall + func (c *ProjectsLocationsRegistriesPatchCall) Do() (*DeviceRegistry, error) + func (c *ProjectsLocationsRegistriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesPatchCall + func (c *ProjectsLocationsRegistriesPatchCall) Header() http.Header + func (c *ProjectsLocationsRegistriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRegistriesPatchCall + type ProjectsLocationsRegistriesService struct + Devices *ProjectsLocationsRegistriesDevicesService + Groups *ProjectsLocationsRegistriesGroupsService + func NewProjectsLocationsRegistriesService(s *Service) *ProjectsLocationsRegistriesService + func (r *ProjectsLocationsRegistriesService) BindDeviceToGateway(parent string, binddevicetogatewayrequest *BindDeviceToGatewayRequest) *ProjectsLocationsRegistriesBindDeviceToGatewayCall + func (r *ProjectsLocationsRegistriesService) Create(parent string, deviceregistry *DeviceRegistry) *ProjectsLocationsRegistriesCreateCall + func (r *ProjectsLocationsRegistriesService) Delete(name string) *ProjectsLocationsRegistriesDeleteCall + func (r *ProjectsLocationsRegistriesService) Get(name string) *ProjectsLocationsRegistriesGetCall + func (r *ProjectsLocationsRegistriesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsRegistriesGetIamPolicyCall + func (r *ProjectsLocationsRegistriesService) List(parent string) *ProjectsLocationsRegistriesListCall + func (r *ProjectsLocationsRegistriesService) Patch(name string, deviceregistry *DeviceRegistry) *ProjectsLocationsRegistriesPatchCall + func (r *ProjectsLocationsRegistriesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsRegistriesSetIamPolicyCall + func (r *ProjectsLocationsRegistriesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsRegistriesTestIamPermissionsCall + func (r *ProjectsLocationsRegistriesService) UnbindDeviceFromGateway(parent string, unbinddevicefromgatewayrequest *UnbindDeviceFromGatewayRequest) *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall + type ProjectsLocationsRegistriesSetIamPolicyCall struct + func (c *ProjectsLocationsRegistriesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsRegistriesSetIamPolicyCall + func (c *ProjectsLocationsRegistriesSetIamPolicyCall) Do() (*Policy, error) + func (c *ProjectsLocationsRegistriesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesSetIamPolicyCall + func (c *ProjectsLocationsRegistriesSetIamPolicyCall) Header() http.Header + type ProjectsLocationsRegistriesTestIamPermissionsCall struct + func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsRegistriesTestIamPermissionsCall + func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) Do() (*TestIamPermissionsResponse, error) + func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesTestIamPermissionsCall + func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) Header() http.Header + type ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall struct + func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) Context(ctx context.Context) *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall + func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) Do() (*UnbindDeviceFromGatewayResponse, error) + func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall + func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) Header() http.Header + type ProjectsLocationsService struct + Registries *ProjectsLocationsRegistriesService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type PublicKeyCertificate struct + Certificate string + ForceSendFields []string + Format string + NullFields []string + X509Details *X509CertificateDetails + func (s *PublicKeyCertificate) MarshalJSON() ([]byte, error) + type PublicKeyCredential struct + ForceSendFields []string + Format string + Key string + NullFields []string + func (s *PublicKeyCredential) MarshalJSON() ([]byte, error) + type RegistryCredential struct + ForceSendFields []string + NullFields []string + PublicKeyCertificate *PublicKeyCertificate + func (s *RegistryCredential) MarshalJSON() ([]byte, error) + type RegistryUserCredentials struct + SystemKey string + Token string + Url string + func GetRegistryCredentials(registry string, region string, s *Service) (*RegistryUserCredentials, error) + type SendCommandToDeviceRequest struct + BinaryData string + ForceSendFields []string + NullFields []string + Subfolder string + func (s *SendCommandToDeviceRequest) MarshalJSON() ([]byte, error) + type SendCommandToDeviceResponse struct + type Service struct + Projects *ProjectsService + RegistryUserCache map[string]*RegistryUserCredentials + RegistryUserCacheLock sync.RWMutex + ServiceAccountCredentials *ServiceAccountCredentials + TemplatePaths struct{ ... } + func New() (*Service, error) + func NewService(ctx context.Context) (*Service, error) + type ServiceAccountCredentials struct + Project string + SystemKey string + Token string + Url string + type SetIamPolicyRequest struct + ForceSendFields []string + NullFields []string + Policy *Policy + func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) + type StateNotificationConfig struct + ForceSendFields []string + NullFields []string + PubsubTopicName string + func (s *StateNotificationConfig) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type TestIamPermissionsRequest struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) + type TestIamPermissionsResponse struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) + type UnbindDeviceFromGatewayRequest struct + DeviceId string + ForceSendFields []string + GatewayId string + NullFields []string + func (s *UnbindDeviceFromGatewayRequest) MarshalJSON() ([]byte, error) + type UnbindDeviceFromGatewayResponse struct + type X509CertificateDetails struct + ExpiryTime string + ForceSendFields []string + Issuer string + NullFields []string + PublicKeyType string + SignatureAlgorithm string + StartTime string + Subject string + func (s *X509CertificateDetails) MarshalJSON() ([]byte, error)