Documentation ¶
Overview ¶
Package policy provides the PolicyService
Index ¶
- Variables
- func RegisterDeviceMinimumVersionServiceServer(s *grpc.Server, srv DeviceMinimumVersionServiceServer)
- func RegisterPolicyServiceServer(s *grpc.Server, srv PolicyServiceServer)
- func RegisterReportingServiceServer(s *grpc.Server, srv ReportingServiceServer)
- type CreateFakeDMSDirRequest
- func (*CreateFakeDMSDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFakeDMSDirRequest) GetPath() string
- func (*CreateFakeDMSDirRequest) ProtoMessage()
- func (x *CreateFakeDMSDirRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFakeDMSDirRequest) Reset()
- func (x *CreateFakeDMSDirRequest) String() string
- type DeviceMinimumVersionServiceClient
- type DeviceMinimumVersionServiceServer
- type EnrollUsingChromeRequest
- func (*EnrollUsingChromeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnrollUsingChromeRequest) GetExtensions() []*Extension
- func (x *EnrollUsingChromeRequest) GetExtraArgs() string
- func (x *EnrollUsingChromeRequest) GetFakedmsDir() string
- func (x *EnrollUsingChromeRequest) GetPolicyJson() []byte
- func (x *EnrollUsingChromeRequest) GetSkipLogin() bool
- func (x *EnrollUsingChromeRequest) GetUsername() string
- func (*EnrollUsingChromeRequest) ProtoMessage()
- func (x *EnrollUsingChromeRequest) ProtoReflect() protoreflect.Message
- func (x *EnrollUsingChromeRequest) Reset()
- func (x *EnrollUsingChromeRequest) String() string
- type EvalExpressionInChromeUrlRequest
- func (*EvalExpressionInChromeUrlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvalExpressionInChromeUrlRequest) GetExpression() string
- func (x *EvalExpressionInChromeUrlRequest) GetUrl() string
- func (*EvalExpressionInChromeUrlRequest) ProtoMessage()
- func (x *EvalExpressionInChromeUrlRequest) ProtoReflect() protoreflect.Message
- func (x *EvalExpressionInChromeUrlRequest) Reset()
- func (x *EvalExpressionInChromeUrlRequest) String() string
- type EvalInExtensionRequest
- func (*EvalInExtensionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvalInExtensionRequest) GetExpression() string
- func (x *EvalInExtensionRequest) GetExtensionId() string
- func (*EvalInExtensionRequest) ProtoMessage()
- func (x *EvalInExtensionRequest) ProtoReflect() protoreflect.Message
- func (x *EvalInExtensionRequest) Reset()
- func (x *EvalInExtensionRequest) String() string
- type EvalInExtensionResponse
- func (*EvalInExtensionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvalInExtensionResponse) GetResult() []byte
- func (*EvalInExtensionResponse) ProtoMessage()
- func (x *EvalInExtensionResponse) ProtoReflect() protoreflect.Message
- func (x *EvalInExtensionResponse) Reset()
- func (x *EvalInExtensionResponse) String() string
- type Extension
- type ExtensionFile
- func (*ExtensionFile) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionFile) GetContents() []byte
- func (x *ExtensionFile) GetName() string
- func (*ExtensionFile) ProtoMessage()
- func (x *ExtensionFile) ProtoReflect() protoreflect.Message
- func (x *ExtensionFile) Reset()
- func (x *ExtensionFile) String() string
- type GAIAEnrollAndLoginUsingChromeRequest
- func (*GAIAEnrollAndLoginUsingChromeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GAIAEnrollAndLoginUsingChromeRequest) GetDmserverURL() string
- func (x *GAIAEnrollAndLoginUsingChromeRequest) GetPassword() string
- func (x *GAIAEnrollAndLoginUsingChromeRequest) GetUsername() string
- func (*GAIAEnrollAndLoginUsingChromeRequest) ProtoMessage()
- func (x *GAIAEnrollAndLoginUsingChromeRequest) ProtoReflect() protoreflect.Message
- func (x *GAIAEnrollAndLoginUsingChromeRequest) Reset()
- func (x *GAIAEnrollAndLoginUsingChromeRequest) String() string
- type GAIAEnrollUsingChromeAndCollectReportingRequest
- func (*GAIAEnrollUsingChromeAndCollectReportingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetDebugServiceAPIKey() string
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetDmserverURL() string
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetObfuscatedCustomerID() string
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetPassword() string
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetReportingserverURL() string
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetUsername() string
- func (*GAIAEnrollUsingChromeAndCollectReportingRequest) ProtoMessage()
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) ProtoReflect() protoreflect.Message
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) Reset()
- func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) String() string
- type GAIAEnrollUsingChromeRequest
- func (*GAIAEnrollUsingChromeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GAIAEnrollUsingChromeRequest) GetDmserverURL() string
- func (x *GAIAEnrollUsingChromeRequest) GetPassword() string
- func (x *GAIAEnrollUsingChromeRequest) GetUsername() string
- func (*GAIAEnrollUsingChromeRequest) ProtoMessage()
- func (x *GAIAEnrollUsingChromeRequest) ProtoReflect() protoreflect.Message
- func (x *GAIAEnrollUsingChromeRequest) Reset()
- func (x *GAIAEnrollUsingChromeRequest) String() string
- type PolicyServiceClient
- type PolicyServiceServer
- type RemoveFakeDMSDirRequest
- func (*RemoveFakeDMSDirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFakeDMSDirRequest) GetPath() string
- func (*RemoveFakeDMSDirRequest) ProtoMessage()
- func (x *RemoveFakeDMSDirRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFakeDMSDirRequest) Reset()
- func (x *RemoveFakeDMSDirRequest) String() string
- type ReportingServiceClient
- type ReportingServiceServer
- type ServePolicyDataRequest
- func (*ServePolicyDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServePolicyDataRequest) GetContents() []byte
- func (*ServePolicyDataRequest) ProtoMessage()
- func (x *ServePolicyDataRequest) ProtoReflect() protoreflect.Message
- func (x *ServePolicyDataRequest) Reset()
- func (x *ServePolicyDataRequest) String() string
- type ServePolicyDataResponse
- func (*ServePolicyDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServePolicyDataResponse) GetHash() string
- func (x *ServePolicyDataResponse) GetUrl() string
- func (*ServePolicyDataResponse) ProtoMessage()
- func (x *ServePolicyDataResponse) ProtoReflect() protoreflect.Message
- func (x *ServePolicyDataResponse) Reset()
- func (x *ServePolicyDataResponse) String() string
- type StartChromeRequest
- func (*StartChromeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartChromeRequest) GetDeferLogin() bool
- func (x *StartChromeRequest) GetKeepEnrollment() bool
- func (x *StartChromeRequest) GetPolicyJson() []byte
- func (x *StartChromeRequest) GetSkipLogin() bool
- func (x *StartChromeRequest) GetUsername() string
- func (*StartChromeRequest) ProtoMessage()
- func (x *StartChromeRequest) ProtoReflect() protoreflect.Message
- func (x *StartChromeRequest) Reset()
- func (x *StartChromeRequest) String() string
- type UnimplementedDeviceMinimumVersionServiceServer
- type UnimplementedPolicyServiceServer
- func (*UnimplementedPolicyServiceServer) CheckChromeAndFakeDMS(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) ContinueLogin(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) CreateFakeDMSDir(context.Context, *CreateFakeDMSDirRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) EnrollUsingChrome(context.Context, *EnrollUsingChromeRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) EvalExpressionInChromeURL(context.Context, *EvalExpressionInChromeUrlRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) EvalInExtension(context.Context, *EvalInExtensionRequest) (*EvalInExtensionResponse, error)
- func (*UnimplementedPolicyServiceServer) EvalStatementInExtension(context.Context, *EvalInExtensionRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) GAIAEnrollAndLoginUsingChrome(context.Context, *GAIAEnrollAndLoginUsingChromeRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) GAIAEnrollUsingChrome(context.Context, *GAIAEnrollUsingChromeRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) RemoveFakeDMSDir(context.Context, *RemoveFakeDMSDirRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) ServePolicyData(context.Context, *ServePolicyDataRequest) (*ServePolicyDataResponse, error)
- func (*UnimplementedPolicyServiceServer) StartChrome(context.Context, *StartChromeRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) StartExternalDataServer(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) StopChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) StopChromeAndFakeDMS(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) StopExternalDataServer(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) UpdatePolicies(context.Context, *UpdatePoliciesRequest) (*empty.Empty, error)
- func (*UnimplementedPolicyServiceServer) VerifyVisibleNotification(context.Context, *VerifyVisibleNotificationRequest) (*empty.Empty, error)
- type UnimplementedReportingServiceServer
- type UpdatePoliciesRequest
- func (*UpdatePoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePoliciesRequest) GetPolicyJson() []byte
- func (*UpdatePoliciesRequest) ProtoMessage()
- func (x *UpdatePoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePoliciesRequest) Reset()
- func (x *UpdatePoliciesRequest) String() string
- type VerifyVisibleNotificationRequest
- func (*VerifyVisibleNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyVisibleNotificationRequest) GetNotificationId() string
- func (*VerifyVisibleNotificationRequest) ProtoMessage()
- func (x *VerifyVisibleNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyVisibleNotificationRequest) Reset()
- func (x *VerifyVisibleNotificationRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_policy_device_minimum_version_service_proto protoreflect.FileDescriptor
var File_policy_policy_proto protoreflect.FileDescriptor
var File_policy_reporting_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeviceMinimumVersionServiceServer ¶
func RegisterDeviceMinimumVersionServiceServer(s *grpc.Server, srv DeviceMinimumVersionServiceServer)
func RegisterPolicyServiceServer ¶
func RegisterPolicyServiceServer(s *grpc.Server, srv PolicyServiceServer)
func RegisterReportingServiceServer ¶
func RegisterReportingServiceServer(s *grpc.Server, srv ReportingServiceServer)
Types ¶
type CreateFakeDMSDirRequest ¶
type CreateFakeDMSDirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*CreateFakeDMSDirRequest) Descriptor
deprecated
func (*CreateFakeDMSDirRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFakeDMSDirRequest.ProtoReflect.Descriptor instead.
func (*CreateFakeDMSDirRequest) GetPath ¶
func (x *CreateFakeDMSDirRequest) GetPath() string
func (*CreateFakeDMSDirRequest) ProtoMessage ¶
func (*CreateFakeDMSDirRequest) ProtoMessage()
func (*CreateFakeDMSDirRequest) ProtoReflect ¶
func (x *CreateFakeDMSDirRequest) ProtoReflect() protoreflect.Message
func (*CreateFakeDMSDirRequest) Reset ¶
func (x *CreateFakeDMSDirRequest) Reset()
func (*CreateFakeDMSDirRequest) String ¶
func (x *CreateFakeDMSDirRequest) String() string
type DeviceMinimumVersionServiceClient ¶
type DeviceMinimumVersionServiceClient interface { // Creates a new instance of Chrome using the state from the existing one. // Checks that an update required screen with update now button is visible on the login page. // Chrome is closed when function exists. This is used by the test policy.DeviceMinimumVersion. TestUpdateRequiredScreenIsVisible(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
DeviceMinimumVersionServiceClient is the client API for DeviceMinimumVersionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDeviceMinimumVersionServiceClient ¶
func NewDeviceMinimumVersionServiceClient(cc grpc.ClientConnInterface) DeviceMinimumVersionServiceClient
type DeviceMinimumVersionServiceServer ¶
type DeviceMinimumVersionServiceServer interface { // Creates a new instance of Chrome using the state from the existing one. // Checks that an update required screen with update now button is visible on the login page. // Chrome is closed when function exists. This is used by the test policy.DeviceMinimumVersion. TestUpdateRequiredScreenIsVisible(context.Context, *empty.Empty) (*empty.Empty, error) }
DeviceMinimumVersionServiceServer is the server API for DeviceMinimumVersionService service.
type EnrollUsingChromeRequest ¶
type EnrollUsingChromeRequest struct { PolicyJson []byte `protobuf:"bytes,1,opt,name=policy_json,json=policyJson,proto3" json:"policy_json,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Extensions []*Extension `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"` ExtraArgs string `protobuf:"bytes,4,opt,name=extra_args,json=extraArgs,proto3" json:"extra_args,omitempty"` FakedmsDir string `protobuf:"bytes,5,opt,name=fakedms_dir,json=fakedmsDir,proto3" json:"fakedms_dir,omitempty"` SkipLogin bool `protobuf:"varint,6,opt,name=skip_login,json=skipLogin,proto3" json:"skip_login,omitempty"` // contains filtered or unexported fields }
func (*EnrollUsingChromeRequest) Descriptor
deprecated
func (*EnrollUsingChromeRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnrollUsingChromeRequest.ProtoReflect.Descriptor instead.
func (*EnrollUsingChromeRequest) GetExtensions ¶
func (x *EnrollUsingChromeRequest) GetExtensions() []*Extension
func (*EnrollUsingChromeRequest) GetExtraArgs ¶
func (x *EnrollUsingChromeRequest) GetExtraArgs() string
func (*EnrollUsingChromeRequest) GetFakedmsDir ¶
func (x *EnrollUsingChromeRequest) GetFakedmsDir() string
func (*EnrollUsingChromeRequest) GetPolicyJson ¶
func (x *EnrollUsingChromeRequest) GetPolicyJson() []byte
func (*EnrollUsingChromeRequest) GetSkipLogin ¶
func (x *EnrollUsingChromeRequest) GetSkipLogin() bool
func (*EnrollUsingChromeRequest) GetUsername ¶
func (x *EnrollUsingChromeRequest) GetUsername() string
func (*EnrollUsingChromeRequest) ProtoMessage ¶
func (*EnrollUsingChromeRequest) ProtoMessage()
func (*EnrollUsingChromeRequest) ProtoReflect ¶
func (x *EnrollUsingChromeRequest) ProtoReflect() protoreflect.Message
func (*EnrollUsingChromeRequest) Reset ¶
func (x *EnrollUsingChromeRequest) Reset()
func (*EnrollUsingChromeRequest) String ¶
func (x *EnrollUsingChromeRequest) String() string
type EvalExpressionInChromeUrlRequest ¶
type EvalExpressionInChromeUrlRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*EvalExpressionInChromeUrlRequest) Descriptor
deprecated
func (*EvalExpressionInChromeUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvalExpressionInChromeUrlRequest.ProtoReflect.Descriptor instead.
func (*EvalExpressionInChromeUrlRequest) GetExpression ¶
func (x *EvalExpressionInChromeUrlRequest) GetExpression() string
func (*EvalExpressionInChromeUrlRequest) GetUrl ¶
func (x *EvalExpressionInChromeUrlRequest) GetUrl() string
func (*EvalExpressionInChromeUrlRequest) ProtoMessage ¶
func (*EvalExpressionInChromeUrlRequest) ProtoMessage()
func (*EvalExpressionInChromeUrlRequest) ProtoReflect ¶
func (x *EvalExpressionInChromeUrlRequest) ProtoReflect() protoreflect.Message
func (*EvalExpressionInChromeUrlRequest) Reset ¶
func (x *EvalExpressionInChromeUrlRequest) Reset()
func (*EvalExpressionInChromeUrlRequest) String ¶
func (x *EvalExpressionInChromeUrlRequest) String() string
type EvalInExtensionRequest ¶
type EvalInExtensionRequest struct { ExtensionId string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId,proto3" json:"extension_id,omitempty"` Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*EvalInExtensionRequest) Descriptor
deprecated
func (*EvalInExtensionRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvalInExtensionRequest.ProtoReflect.Descriptor instead.
func (*EvalInExtensionRequest) GetExpression ¶
func (x *EvalInExtensionRequest) GetExpression() string
func (*EvalInExtensionRequest) GetExtensionId ¶
func (x *EvalInExtensionRequest) GetExtensionId() string
func (*EvalInExtensionRequest) ProtoMessage ¶
func (*EvalInExtensionRequest) ProtoMessage()
func (*EvalInExtensionRequest) ProtoReflect ¶
func (x *EvalInExtensionRequest) ProtoReflect() protoreflect.Message
func (*EvalInExtensionRequest) Reset ¶
func (x *EvalInExtensionRequest) Reset()
func (*EvalInExtensionRequest) String ¶
func (x *EvalInExtensionRequest) String() string
type EvalInExtensionResponse ¶
type EvalInExtensionResponse struct { Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*EvalInExtensionResponse) Descriptor
deprecated
func (*EvalInExtensionResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvalInExtensionResponse.ProtoReflect.Descriptor instead.
func (*EvalInExtensionResponse) GetResult ¶
func (x *EvalInExtensionResponse) GetResult() []byte
func (*EvalInExtensionResponse) ProtoMessage ¶
func (*EvalInExtensionResponse) ProtoMessage()
func (*EvalInExtensionResponse) ProtoReflect ¶
func (x *EvalInExtensionResponse) ProtoReflect() protoreflect.Message
func (*EvalInExtensionResponse) Reset ¶
func (x *EvalInExtensionResponse) Reset()
func (*EvalInExtensionResponse) String ¶
func (x *EvalInExtensionResponse) String() string
type Extension ¶
type Extension struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Files []*ExtensionFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*Extension) Descriptor
deprecated
func (*Extension) GetFiles ¶
func (x *Extension) GetFiles() []*ExtensionFile
func (*Extension) ProtoMessage ¶
func (*Extension) ProtoMessage()
func (*Extension) ProtoReflect ¶
func (x *Extension) ProtoReflect() protoreflect.Message
type ExtensionFile ¶
type ExtensionFile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Contents []byte `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"` // contains filtered or unexported fields }
func (*ExtensionFile) Descriptor
deprecated
func (*ExtensionFile) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionFile.ProtoReflect.Descriptor instead.
func (*ExtensionFile) GetContents ¶
func (x *ExtensionFile) GetContents() []byte
func (*ExtensionFile) GetName ¶
func (x *ExtensionFile) GetName() string
func (*ExtensionFile) ProtoMessage ¶
func (*ExtensionFile) ProtoMessage()
func (*ExtensionFile) ProtoReflect ¶
func (x *ExtensionFile) ProtoReflect() protoreflect.Message
func (*ExtensionFile) Reset ¶
func (x *ExtensionFile) Reset()
func (*ExtensionFile) String ¶
func (x *ExtensionFile) String() string
type GAIAEnrollAndLoginUsingChromeRequest ¶
type GAIAEnrollAndLoginUsingChromeRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` DmserverURL string `protobuf:"bytes,3,opt,name=dmserverURL,proto3" json:"dmserverURL,omitempty"` // contains filtered or unexported fields }
func (*GAIAEnrollAndLoginUsingChromeRequest) Descriptor
deprecated
func (*GAIAEnrollAndLoginUsingChromeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GAIAEnrollAndLoginUsingChromeRequest.ProtoReflect.Descriptor instead.
func (*GAIAEnrollAndLoginUsingChromeRequest) GetDmserverURL ¶
func (x *GAIAEnrollAndLoginUsingChromeRequest) GetDmserverURL() string
func (*GAIAEnrollAndLoginUsingChromeRequest) GetPassword ¶
func (x *GAIAEnrollAndLoginUsingChromeRequest) GetPassword() string
func (*GAIAEnrollAndLoginUsingChromeRequest) GetUsername ¶
func (x *GAIAEnrollAndLoginUsingChromeRequest) GetUsername() string
func (*GAIAEnrollAndLoginUsingChromeRequest) ProtoMessage ¶
func (*GAIAEnrollAndLoginUsingChromeRequest) ProtoMessage()
func (*GAIAEnrollAndLoginUsingChromeRequest) ProtoReflect ¶
func (x *GAIAEnrollAndLoginUsingChromeRequest) ProtoReflect() protoreflect.Message
func (*GAIAEnrollAndLoginUsingChromeRequest) Reset ¶
func (x *GAIAEnrollAndLoginUsingChromeRequest) Reset()
func (*GAIAEnrollAndLoginUsingChromeRequest) String ¶
func (x *GAIAEnrollAndLoginUsingChromeRequest) String() string
type GAIAEnrollUsingChromeAndCollectReportingRequest ¶
type GAIAEnrollUsingChromeAndCollectReportingRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` DmserverURL string `protobuf:"bytes,3,opt,name=dmserverURL,proto3" json:"dmserverURL,omitempty"` ReportingserverURL string `protobuf:"bytes,4,opt,name=reportingserverURL,proto3" json:"reportingserverURL,omitempty"` ObfuscatedCustomerID string `protobuf:"bytes,5,opt,name=obfuscatedCustomerID,proto3" json:"obfuscatedCustomerID,omitempty"` DebugServiceAPIKey string `protobuf:"bytes,6,opt,name=debugServiceAPIKey,proto3" json:"debugServiceAPIKey,omitempty"` // contains filtered or unexported fields }
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) Descriptor
deprecated
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GAIAEnrollUsingChromeAndCollectReportingRequest.ProtoReflect.Descriptor instead.
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) GetDebugServiceAPIKey ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetDebugServiceAPIKey() string
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) GetDmserverURL ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetDmserverURL() string
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) GetObfuscatedCustomerID ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetObfuscatedCustomerID() string
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) GetPassword ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetPassword() string
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) GetReportingserverURL ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetReportingserverURL() string
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) GetUsername ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) GetUsername() string
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) ProtoMessage ¶
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) ProtoMessage()
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) ProtoReflect ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) ProtoReflect() protoreflect.Message
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) Reset ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) Reset()
func (*GAIAEnrollUsingChromeAndCollectReportingRequest) String ¶
func (x *GAIAEnrollUsingChromeAndCollectReportingRequest) String() string
type GAIAEnrollUsingChromeRequest ¶
type GAIAEnrollUsingChromeRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` DmserverURL string `protobuf:"bytes,3,opt,name=dmserverURL,proto3" json:"dmserverURL,omitempty"` // contains filtered or unexported fields }
func (*GAIAEnrollUsingChromeRequest) Descriptor
deprecated
func (*GAIAEnrollUsingChromeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GAIAEnrollUsingChromeRequest.ProtoReflect.Descriptor instead.
func (*GAIAEnrollUsingChromeRequest) GetDmserverURL ¶
func (x *GAIAEnrollUsingChromeRequest) GetDmserverURL() string
func (*GAIAEnrollUsingChromeRequest) GetPassword ¶
func (x *GAIAEnrollUsingChromeRequest) GetPassword() string
func (*GAIAEnrollUsingChromeRequest) GetUsername ¶
func (x *GAIAEnrollUsingChromeRequest) GetUsername() string
func (*GAIAEnrollUsingChromeRequest) ProtoMessage ¶
func (*GAIAEnrollUsingChromeRequest) ProtoMessage()
func (*GAIAEnrollUsingChromeRequest) ProtoReflect ¶
func (x *GAIAEnrollUsingChromeRequest) ProtoReflect() protoreflect.Message
func (*GAIAEnrollUsingChromeRequest) Reset ¶
func (x *GAIAEnrollUsingChromeRequest) Reset()
func (*GAIAEnrollUsingChromeRequest) String ¶
func (x *GAIAEnrollUsingChromeRequest) String() string
type PolicyServiceClient ¶
type PolicyServiceClient interface { EnrollUsingChrome(ctx context.Context, in *EnrollUsingChromeRequest, opts ...grpc.CallOption) (*empty.Empty, error) GAIAEnrollUsingChrome(ctx context.Context, in *GAIAEnrollUsingChromeRequest, opts ...grpc.CallOption) (*empty.Empty, error) GAIAEnrollAndLoginUsingChrome(ctx context.Context, in *GAIAEnrollAndLoginUsingChromeRequest, opts ...grpc.CallOption) (*empty.Empty, error) UpdatePolicies(ctx context.Context, in *UpdatePoliciesRequest, opts ...grpc.CallOption) (*empty.Empty, error) CheckChromeAndFakeDMS(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StopChromeAndFakeDMS(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StartChrome(ctx context.Context, in *StartChromeRequest, opts ...grpc.CallOption) (*empty.Empty, error) StopChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) ContinueLogin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) CreateFakeDMSDir(ctx context.Context, in *CreateFakeDMSDirRequest, opts ...grpc.CallOption) (*empty.Empty, error) RemoveFakeDMSDir(ctx context.Context, in *RemoveFakeDMSDirRequest, opts ...grpc.CallOption) (*empty.Empty, error) StartExternalDataServer(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) ServePolicyData(ctx context.Context, in *ServePolicyDataRequest, opts ...grpc.CallOption) (*ServePolicyDataResponse, error) StopExternalDataServer(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) EvalStatementInExtension(ctx context.Context, in *EvalInExtensionRequest, opts ...grpc.CallOption) (*empty.Empty, error) EvalInExtension(ctx context.Context, in *EvalInExtensionRequest, opts ...grpc.CallOption) (*EvalInExtensionResponse, error) // Verifies that the notification corresponding to the id in the request is visible. VerifyVisibleNotification(ctx context.Context, in *VerifyVisibleNotificationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new connection to the Chrome URL in the request and evaluates the expression in the request on it. EvalExpressionInChromeURL(ctx context.Context, in *EvalExpressionInChromeUrlRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
PolicyServiceClient is the client API for PolicyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPolicyServiceClient ¶
func NewPolicyServiceClient(cc grpc.ClientConnInterface) PolicyServiceClient
type PolicyServiceServer ¶
type PolicyServiceServer interface { EnrollUsingChrome(context.Context, *EnrollUsingChromeRequest) (*empty.Empty, error) GAIAEnrollUsingChrome(context.Context, *GAIAEnrollUsingChromeRequest) (*empty.Empty, error) GAIAEnrollAndLoginUsingChrome(context.Context, *GAIAEnrollAndLoginUsingChromeRequest) (*empty.Empty, error) UpdatePolicies(context.Context, *UpdatePoliciesRequest) (*empty.Empty, error) CheckChromeAndFakeDMS(context.Context, *empty.Empty) (*empty.Empty, error) StopChromeAndFakeDMS(context.Context, *empty.Empty) (*empty.Empty, error) StartChrome(context.Context, *StartChromeRequest) (*empty.Empty, error) StopChrome(context.Context, *empty.Empty) (*empty.Empty, error) ContinueLogin(context.Context, *empty.Empty) (*empty.Empty, error) CreateFakeDMSDir(context.Context, *CreateFakeDMSDirRequest) (*empty.Empty, error) RemoveFakeDMSDir(context.Context, *RemoveFakeDMSDirRequest) (*empty.Empty, error) StartExternalDataServer(context.Context, *empty.Empty) (*empty.Empty, error) ServePolicyData(context.Context, *ServePolicyDataRequest) (*ServePolicyDataResponse, error) StopExternalDataServer(context.Context, *empty.Empty) (*empty.Empty, error) EvalStatementInExtension(context.Context, *EvalInExtensionRequest) (*empty.Empty, error) EvalInExtension(context.Context, *EvalInExtensionRequest) (*EvalInExtensionResponse, error) // Verifies that the notification corresponding to the id in the request is visible. VerifyVisibleNotification(context.Context, *VerifyVisibleNotificationRequest) (*empty.Empty, error) // Creates a new connection to the Chrome URL in the request and evaluates the expression in the request on it. EvalExpressionInChromeURL(context.Context, *EvalExpressionInChromeUrlRequest) (*empty.Empty, error) }
PolicyServiceServer is the server API for PolicyService service.
type RemoveFakeDMSDirRequest ¶
type RemoveFakeDMSDirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*RemoveFakeDMSDirRequest) Descriptor
deprecated
func (*RemoveFakeDMSDirRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFakeDMSDirRequest.ProtoReflect.Descriptor instead.
func (*RemoveFakeDMSDirRequest) GetPath ¶
func (x *RemoveFakeDMSDirRequest) GetPath() string
func (*RemoveFakeDMSDirRequest) ProtoMessage ¶
func (*RemoveFakeDMSDirRequest) ProtoMessage()
func (*RemoveFakeDMSDirRequest) ProtoReflect ¶
func (x *RemoveFakeDMSDirRequest) ProtoReflect() protoreflect.Message
func (*RemoveFakeDMSDirRequest) Reset ¶
func (x *RemoveFakeDMSDirRequest) Reset()
func (*RemoveFakeDMSDirRequest) String ¶
func (x *RemoveFakeDMSDirRequest) String() string
type ReportingServiceClient ¶
type ReportingServiceClient interface {
GAIAEnrollUsingChromeAndCollectReporting(ctx context.Context, in *GAIAEnrollUsingChromeAndCollectReportingRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}
ReportingServiceClient is the client API for ReportingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReportingServiceClient ¶
func NewReportingServiceClient(cc grpc.ClientConnInterface) ReportingServiceClient
type ReportingServiceServer ¶
type ReportingServiceServer interface {
GAIAEnrollUsingChromeAndCollectReporting(context.Context, *GAIAEnrollUsingChromeAndCollectReportingRequest) (*empty.Empty, error)
}
ReportingServiceServer is the server API for ReportingService service.
type ServePolicyDataRequest ¶
type ServePolicyDataRequest struct { Contents []byte `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"` // contains filtered or unexported fields }
func (*ServePolicyDataRequest) Descriptor
deprecated
func (*ServePolicyDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServePolicyDataRequest.ProtoReflect.Descriptor instead.
func (*ServePolicyDataRequest) GetContents ¶
func (x *ServePolicyDataRequest) GetContents() []byte
func (*ServePolicyDataRequest) ProtoMessage ¶
func (*ServePolicyDataRequest) ProtoMessage()
func (*ServePolicyDataRequest) ProtoReflect ¶
func (x *ServePolicyDataRequest) ProtoReflect() protoreflect.Message
func (*ServePolicyDataRequest) Reset ¶
func (x *ServePolicyDataRequest) Reset()
func (*ServePolicyDataRequest) String ¶
func (x *ServePolicyDataRequest) String() string
type ServePolicyDataResponse ¶
type ServePolicyDataResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*ServePolicyDataResponse) Descriptor
deprecated
func (*ServePolicyDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServePolicyDataResponse.ProtoReflect.Descriptor instead.
func (*ServePolicyDataResponse) GetHash ¶
func (x *ServePolicyDataResponse) GetHash() string
func (*ServePolicyDataResponse) GetUrl ¶
func (x *ServePolicyDataResponse) GetUrl() string
func (*ServePolicyDataResponse) ProtoMessage ¶
func (*ServePolicyDataResponse) ProtoMessage()
func (*ServePolicyDataResponse) ProtoReflect ¶
func (x *ServePolicyDataResponse) ProtoReflect() protoreflect.Message
func (*ServePolicyDataResponse) Reset ¶
func (x *ServePolicyDataResponse) Reset()
func (*ServePolicyDataResponse) String ¶
func (x *ServePolicyDataResponse) String() string
type StartChromeRequest ¶
type StartChromeRequest struct { PolicyJson []byte `protobuf:"bytes,1,opt,name=policy_json,json=policyJson,proto3" json:"policy_json,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` SkipLogin bool `protobuf:"varint,3,opt,name=skip_login,json=skipLogin,proto3" json:"skip_login,omitempty"` KeepEnrollment bool `protobuf:"varint,4,opt,name=keep_enrollment,json=keepEnrollment,proto3" json:"keep_enrollment,omitempty"` DeferLogin bool `protobuf:"varint,5,opt,name=defer_login,json=deferLogin,proto3" json:"defer_login,omitempty"` // contains filtered or unexported fields }
func (*StartChromeRequest) Descriptor
deprecated
func (*StartChromeRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartChromeRequest.ProtoReflect.Descriptor instead.
func (*StartChromeRequest) GetDeferLogin ¶
func (x *StartChromeRequest) GetDeferLogin() bool
func (*StartChromeRequest) GetKeepEnrollment ¶
func (x *StartChromeRequest) GetKeepEnrollment() bool
func (*StartChromeRequest) GetPolicyJson ¶
func (x *StartChromeRequest) GetPolicyJson() []byte
func (*StartChromeRequest) GetSkipLogin ¶
func (x *StartChromeRequest) GetSkipLogin() bool
func (*StartChromeRequest) GetUsername ¶
func (x *StartChromeRequest) GetUsername() string
func (*StartChromeRequest) ProtoMessage ¶
func (*StartChromeRequest) ProtoMessage()
func (*StartChromeRequest) ProtoReflect ¶
func (x *StartChromeRequest) ProtoReflect() protoreflect.Message
func (*StartChromeRequest) Reset ¶
func (x *StartChromeRequest) Reset()
func (*StartChromeRequest) String ¶
func (x *StartChromeRequest) String() string
type UnimplementedDeviceMinimumVersionServiceServer ¶
type UnimplementedDeviceMinimumVersionServiceServer struct { }
UnimplementedDeviceMinimumVersionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDeviceMinimumVersionServiceServer) TestUpdateRequiredScreenIsVisible ¶
type UnimplementedPolicyServiceServer ¶
type UnimplementedPolicyServiceServer struct { }
UnimplementedPolicyServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPolicyServiceServer) CheckChromeAndFakeDMS ¶
func (*UnimplementedPolicyServiceServer) ContinueLogin ¶
func (*UnimplementedPolicyServiceServer) CreateFakeDMSDir ¶
func (*UnimplementedPolicyServiceServer) CreateFakeDMSDir(context.Context, *CreateFakeDMSDirRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) EnrollUsingChrome ¶
func (*UnimplementedPolicyServiceServer) EnrollUsingChrome(context.Context, *EnrollUsingChromeRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) EvalExpressionInChromeURL ¶
func (*UnimplementedPolicyServiceServer) EvalExpressionInChromeURL(context.Context, *EvalExpressionInChromeUrlRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) EvalInExtension ¶
func (*UnimplementedPolicyServiceServer) EvalInExtension(context.Context, *EvalInExtensionRequest) (*EvalInExtensionResponse, error)
func (*UnimplementedPolicyServiceServer) EvalStatementInExtension ¶
func (*UnimplementedPolicyServiceServer) EvalStatementInExtension(context.Context, *EvalInExtensionRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) GAIAEnrollAndLoginUsingChrome ¶
func (*UnimplementedPolicyServiceServer) GAIAEnrollAndLoginUsingChrome(context.Context, *GAIAEnrollAndLoginUsingChromeRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) GAIAEnrollUsingChrome ¶
func (*UnimplementedPolicyServiceServer) GAIAEnrollUsingChrome(context.Context, *GAIAEnrollUsingChromeRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) RemoveFakeDMSDir ¶
func (*UnimplementedPolicyServiceServer) RemoveFakeDMSDir(context.Context, *RemoveFakeDMSDirRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) ServePolicyData ¶
func (*UnimplementedPolicyServiceServer) ServePolicyData(context.Context, *ServePolicyDataRequest) (*ServePolicyDataResponse, error)
func (*UnimplementedPolicyServiceServer) StartChrome ¶
func (*UnimplementedPolicyServiceServer) StartChrome(context.Context, *StartChromeRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) StartExternalDataServer ¶
func (*UnimplementedPolicyServiceServer) StopChrome ¶
func (*UnimplementedPolicyServiceServer) StopChromeAndFakeDMS ¶
func (*UnimplementedPolicyServiceServer) StopExternalDataServer ¶
func (*UnimplementedPolicyServiceServer) UpdatePolicies ¶
func (*UnimplementedPolicyServiceServer) UpdatePolicies(context.Context, *UpdatePoliciesRequest) (*empty.Empty, error)
func (*UnimplementedPolicyServiceServer) VerifyVisibleNotification ¶
func (*UnimplementedPolicyServiceServer) VerifyVisibleNotification(context.Context, *VerifyVisibleNotificationRequest) (*empty.Empty, error)
type UnimplementedReportingServiceServer ¶
type UnimplementedReportingServiceServer struct { }
UnimplementedReportingServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReportingServiceServer) GAIAEnrollUsingChromeAndCollectReporting ¶
func (*UnimplementedReportingServiceServer) GAIAEnrollUsingChromeAndCollectReporting(context.Context, *GAIAEnrollUsingChromeAndCollectReportingRequest) (*empty.Empty, error)
type UpdatePoliciesRequest ¶
type UpdatePoliciesRequest struct { PolicyJson []byte `protobuf:"bytes,1,opt,name=policy_json,json=policyJson,proto3" json:"policy_json,omitempty"` // contains filtered or unexported fields }
func (*UpdatePoliciesRequest) Descriptor
deprecated
func (*UpdatePoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePoliciesRequest.ProtoReflect.Descriptor instead.
func (*UpdatePoliciesRequest) GetPolicyJson ¶
func (x *UpdatePoliciesRequest) GetPolicyJson() []byte
func (*UpdatePoliciesRequest) ProtoMessage ¶
func (*UpdatePoliciesRequest) ProtoMessage()
func (*UpdatePoliciesRequest) ProtoReflect ¶
func (x *UpdatePoliciesRequest) ProtoReflect() protoreflect.Message
func (*UpdatePoliciesRequest) Reset ¶
func (x *UpdatePoliciesRequest) Reset()
func (*UpdatePoliciesRequest) String ¶
func (x *UpdatePoliciesRequest) String() string
type VerifyVisibleNotificationRequest ¶
type VerifyVisibleNotificationRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` // contains filtered or unexported fields }
func (*VerifyVisibleNotificationRequest) Descriptor
deprecated
func (*VerifyVisibleNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyVisibleNotificationRequest.ProtoReflect.Descriptor instead.
func (*VerifyVisibleNotificationRequest) GetNotificationId ¶
func (x *VerifyVisibleNotificationRequest) GetNotificationId() string
func (*VerifyVisibleNotificationRequest) ProtoMessage ¶
func (*VerifyVisibleNotificationRequest) ProtoMessage()
func (*VerifyVisibleNotificationRequest) ProtoReflect ¶
func (x *VerifyVisibleNotificationRequest) ProtoReflect() protoreflect.Message
func (*VerifyVisibleNotificationRequest) Reset ¶
func (x *VerifyVisibleNotificationRequest) Reset()
func (*VerifyVisibleNotificationRequest) String ¶
func (x *VerifyVisibleNotificationRequest) String() string