Documentation ¶
Index ¶
- Variables
- func RegisterCustomerLicenseServiceServer(s *grpc.Server, srv CustomerLicenseServiceServer)
- func RegisterLicenseNotificationServiceServer(s *grpc.Server, srv LicenseNotificationServiceServer)
- func RegisterUserLicenseServiceServer(s *grpc.Server, srv UserLicenseServiceServer)
- type CustomerLicense
- func (*CustomerLicense) Descriptor() ([]byte, []int)deprecated
- func (x *CustomerLicense) GetApplicationId() string
- func (x *CustomerLicense) GetCustomerId() string
- func (x *CustomerLicense) GetEditions() []*CustomerLicense_Editionsdeprecated
- func (x *CustomerLicense) GetId() string
- func (x *CustomerLicense) GetKind() string
- func (x *CustomerLicense) GetState() string
- func (*CustomerLicense) ProtoMessage()
- func (x *CustomerLicense) ProtoReflect() protoreflect.Message
- func (x *CustomerLicense) Reset()
- func (x *CustomerLicense) String() string
- type CustomerLicenseGetRequest
- func (*CustomerLicenseGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CustomerLicenseGetRequest) GetApplicationId() string
- func (x *CustomerLicenseGetRequest) GetCustomerId() string
- func (*CustomerLicenseGetRequest) ProtoMessage()
- func (x *CustomerLicenseGetRequest) ProtoReflect() protoreflect.Message
- func (x *CustomerLicenseGetRequest) Reset()
- func (x *CustomerLicenseGetRequest) String() string
- type CustomerLicenseServiceClient
- type CustomerLicenseServiceServer
- type CustomerLicense_Editions
- func (*CustomerLicense_Editions) Descriptor() ([]byte, []int)deprecated
- func (x *CustomerLicense_Editions) GetAssignedSeats() int32deprecated
- func (x *CustomerLicense_Editions) GetEditionId() stringdeprecated
- func (x *CustomerLicense_Editions) GetSeatCount() int32deprecated
- func (*CustomerLicense_Editions) ProtoMessage()
- func (x *CustomerLicense_Editions) ProtoReflect() protoreflect.Message
- func (x *CustomerLicense_Editions) Reset()
- func (x *CustomerLicense_Editions) String() string
- type LicenseNotification
- func (*LicenseNotification) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseNotification) GetApplicationId() string
- func (x *LicenseNotification) GetCustomerId() string
- func (x *LicenseNotification) GetDeletes() []*LicenseNotification_Deletes
- func (x *LicenseNotification) GetExpiries() []*LicenseNotification_Expiries
- func (x *LicenseNotification) GetId() string
- func (x *LicenseNotification) GetKind() string
- func (x *LicenseNotification) GetProvisions() []*LicenseNotification_Provisions
- func (x *LicenseNotification) GetReassignments() []*LicenseNotification_Reassignments
- func (x *LicenseNotification) GetTimestamp() int64
- func (*LicenseNotification) ProtoMessage()
- func (x *LicenseNotification) ProtoReflect() protoreflect.Message
- func (x *LicenseNotification) Reset()
- func (x *LicenseNotification) String() string
- type LicenseNotificationList
- func (*LicenseNotificationList) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseNotificationList) GetKind() string
- func (x *LicenseNotificationList) GetNextPageToken() string
- func (x *LicenseNotificationList) GetNotifications() []*LicenseNotification
- func (*LicenseNotificationList) ProtoMessage()
- func (x *LicenseNotificationList) ProtoReflect() protoreflect.Message
- func (x *LicenseNotificationList) Reset()
- func (x *LicenseNotificationList) String() string
- type LicenseNotificationListRequest
- func (*LicenseNotificationListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseNotificationListRequest) GetApplicationId() string
- func (x *LicenseNotificationListRequest) GetMaxResults() uint32
- func (x *LicenseNotificationListRequest) GetStartToken() string
- func (x *LicenseNotificationListRequest) GetTimestamp() uint64
- func (*LicenseNotificationListRequest) ProtoMessage()
- func (x *LicenseNotificationListRequest) ProtoReflect() protoreflect.Message
- func (x *LicenseNotificationListRequest) Reset()
- func (x *LicenseNotificationListRequest) String() string
- type LicenseNotificationServiceClient
- type LicenseNotificationServiceServer
- type LicenseNotification_Deletes
- func (*LicenseNotification_Deletes) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseNotification_Deletes) GetEditionId() stringdeprecated
- func (x *LicenseNotification_Deletes) GetKind() string
- func (*LicenseNotification_Deletes) ProtoMessage()
- func (x *LicenseNotification_Deletes) ProtoReflect() protoreflect.Message
- func (x *LicenseNotification_Deletes) Reset()
- func (x *LicenseNotification_Deletes) String() string
- type LicenseNotification_Expiries
- func (*LicenseNotification_Expiries) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseNotification_Expiries) GetEditionId() stringdeprecated
- func (x *LicenseNotification_Expiries) GetKind() string
- func (*LicenseNotification_Expiries) ProtoMessage()
- func (x *LicenseNotification_Expiries) ProtoReflect() protoreflect.Message
- func (x *LicenseNotification_Expiries) Reset()
- func (x *LicenseNotification_Expiries) String() string
- type LicenseNotification_Provisions
- func (*LicenseNotification_Provisions) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseNotification_Provisions) GetEditionId() stringdeprecated
- func (x *LicenseNotification_Provisions) GetKind() string
- func (x *LicenseNotification_Provisions) GetSeatCount() int64
- func (*LicenseNotification_Provisions) ProtoMessage()
- func (x *LicenseNotification_Provisions) ProtoReflect() protoreflect.Message
- func (x *LicenseNotification_Provisions) Reset()
- func (x *LicenseNotification_Provisions) String() string
- type LicenseNotification_Reassignments
- func (*LicenseNotification_Reassignments) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseNotification_Reassignments) GetEditionId() stringdeprecated
- func (x *LicenseNotification_Reassignments) GetKind() string
- func (x *LicenseNotification_Reassignments) GetType() string
- func (x *LicenseNotification_Reassignments) GetUserId() string
- func (*LicenseNotification_Reassignments) ProtoMessage()
- func (x *LicenseNotification_Reassignments) ProtoReflect() protoreflect.Message
- func (x *LicenseNotification_Reassignments) Reset()
- func (x *LicenseNotification_Reassignments) String() string
- type UnimplementedCustomerLicenseServiceServer
- type UnimplementedLicenseNotificationServiceServer
- type UnimplementedUserLicenseServiceServer
- type UserLicense
- func (*UserLicense) Descriptor() ([]byte, []int)deprecated
- func (x *UserLicense) GetApplicationId() string
- func (x *UserLicense) GetCustomerId() string
- func (x *UserLicense) GetEditionId() stringdeprecated
- func (x *UserLicense) GetEnabled() bool
- func (x *UserLicense) GetId() string
- func (x *UserLicense) GetKind() string
- func (x *UserLicense) GetState() string
- func (x *UserLicense) GetUserId() string
- func (*UserLicense) ProtoMessage()
- func (x *UserLicense) ProtoReflect() protoreflect.Message
- func (x *UserLicense) Reset()
- func (x *UserLicense) String() string
- type UserLicenseGetRequest
- func (*UserLicenseGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserLicenseGetRequest) GetApplicationId() string
- func (x *UserLicenseGetRequest) GetUserId() string
- func (*UserLicenseGetRequest) ProtoMessage()
- func (x *UserLicenseGetRequest) ProtoReflect() protoreflect.Message
- func (x *UserLicenseGetRequest) Reset()
- func (x *UserLicenseGetRequest) String() string
- type UserLicenseServiceClient
- type UserLicenseServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_google_apps_market_v2_resources_proto protoreflect.FileDescriptor
var File_google_apps_market_v2_services_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCustomerLicenseServiceServer ¶
func RegisterCustomerLicenseServiceServer(s *grpc.Server, srv CustomerLicenseServiceServer)
func RegisterLicenseNotificationServiceServer ¶
func RegisterLicenseNotificationServiceServer(s *grpc.Server, srv LicenseNotificationServiceServer)
func RegisterUserLicenseServiceServer ¶
func RegisterUserLicenseServiceServer(s *grpc.Server, srv UserLicenseServiceServer)
Types ¶
type CustomerLicense ¶
type CustomerLicense struct { // The type of API resource. This is always appsmarket#customerLicense. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The customer's license status. One of: // // - `ACTIVE`: The customer has a valid license. // - `UNLICENSED`: There is no license: either this customer has never // installed your application, or else has deleted it. State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // The ID of the application corresponding to this license query. ApplicationId string `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // (Deprecated) // // Deprecated: Do not use. Editions []*CustomerLicense_Editions `protobuf:"bytes,4,rep,name=editions,proto3" json:"editions,omitempty"` // The ID of the customer license. Id string `protobuf:"bytes,101,opt,name=id,proto3" json:"id,omitempty"` // The domain name of the customer. CustomerId string `protobuf:"bytes,102,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
func (*CustomerLicense) Descriptor
deprecated
func (*CustomerLicense) Descriptor() ([]byte, []int)
Deprecated: Use CustomerLicense.ProtoReflect.Descriptor instead.
func (*CustomerLicense) GetApplicationId ¶
func (x *CustomerLicense) GetApplicationId() string
func (*CustomerLicense) GetCustomerId ¶
func (x *CustomerLicense) GetCustomerId() string
func (*CustomerLicense) GetEditions
deprecated
func (x *CustomerLicense) GetEditions() []*CustomerLicense_Editions
Deprecated: Do not use.
func (*CustomerLicense) GetId ¶
func (x *CustomerLicense) GetId() string
func (*CustomerLicense) GetKind ¶
func (x *CustomerLicense) GetKind() string
func (*CustomerLicense) GetState ¶
func (x *CustomerLicense) GetState() string
func (*CustomerLicense) ProtoMessage ¶
func (*CustomerLicense) ProtoMessage()
func (*CustomerLicense) ProtoReflect ¶
func (x *CustomerLicense) ProtoReflect() protoreflect.Message
func (*CustomerLicense) Reset ¶
func (x *CustomerLicense) Reset()
func (*CustomerLicense) String ¶
func (x *CustomerLicense) String() string
type CustomerLicenseGetRequest ¶
type CustomerLicenseGetRequest struct { // Application Id ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // Customer Id CustomerId string `protobuf:"bytes,2,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // contains filtered or unexported fields }
func (*CustomerLicenseGetRequest) Descriptor
deprecated
func (*CustomerLicenseGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CustomerLicenseGetRequest.ProtoReflect.Descriptor instead.
func (*CustomerLicenseGetRequest) GetApplicationId ¶
func (x *CustomerLicenseGetRequest) GetApplicationId() string
func (*CustomerLicenseGetRequest) GetCustomerId ¶
func (x *CustomerLicenseGetRequest) GetCustomerId() string
func (*CustomerLicenseGetRequest) ProtoMessage ¶
func (*CustomerLicenseGetRequest) ProtoMessage()
func (*CustomerLicenseGetRequest) ProtoReflect ¶
func (x *CustomerLicenseGetRequest) ProtoReflect() protoreflect.Message
func (*CustomerLicenseGetRequest) Reset ¶
func (x *CustomerLicenseGetRequest) Reset()
func (*CustomerLicenseGetRequest) String ¶
func (x *CustomerLicenseGetRequest) String() string
type CustomerLicenseServiceClient ¶
type CustomerLicenseServiceClient interface { // Get the status of a license for a customer to determine if they have access // for a given app. Get(ctx context.Context, in *CustomerLicenseGetRequest, opts ...grpc.CallOption) (*CustomerLicense, error) }
CustomerLicenseServiceClient is the client API for CustomerLicenseService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCustomerLicenseServiceClient ¶
func NewCustomerLicenseServiceClient(cc grpc.ClientConnInterface) CustomerLicenseServiceClient
type CustomerLicenseServiceServer ¶
type CustomerLicenseServiceServer interface { // Get the status of a license for a customer to determine if they have access // for a given app. Get(context.Context, *CustomerLicenseGetRequest) (*CustomerLicense, error) }
CustomerLicenseServiceServer is the server API for CustomerLicenseService service.
type CustomerLicense_Editions ¶
type CustomerLicense_Editions struct { // (Deprecated) // // Deprecated: Do not use. EditionId string `protobuf:"bytes,405,opt,name=edition_id,json=editionId,proto3" json:"edition_id,omitempty"` // (Deprecated) // // Deprecated: Do not use. SeatCount int32 `protobuf:"varint,406,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"` // (Deprecated) // // Deprecated: Do not use. AssignedSeats int32 `protobuf:"varint,409,opt,name=assigned_seats,json=assignedSeats,proto3" json:"assigned_seats,omitempty"` // contains filtered or unexported fields }
func (*CustomerLicense_Editions) Descriptor
deprecated
func (*CustomerLicense_Editions) Descriptor() ([]byte, []int)
Deprecated: Use CustomerLicense_Editions.ProtoReflect.Descriptor instead.
func (*CustomerLicense_Editions) GetAssignedSeats
deprecated
func (x *CustomerLicense_Editions) GetAssignedSeats() int32
Deprecated: Do not use.
func (*CustomerLicense_Editions) GetEditionId
deprecated
func (x *CustomerLicense_Editions) GetEditionId() string
Deprecated: Do not use.
func (*CustomerLicense_Editions) GetSeatCount
deprecated
func (x *CustomerLicense_Editions) GetSeatCount() int32
Deprecated: Do not use.
func (*CustomerLicense_Editions) ProtoMessage ¶
func (*CustomerLicense_Editions) ProtoMessage()
func (*CustomerLicense_Editions) ProtoReflect ¶
func (x *CustomerLicense_Editions) ProtoReflect() protoreflect.Message
func (*CustomerLicense_Editions) Reset ¶
func (x *CustomerLicense_Editions) Reset()
func (*CustomerLicense_Editions) String ¶
func (x *CustomerLicense_Editions) String() string
type LicenseNotification ¶
type LicenseNotification struct { // The ID of the license notification. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The ID of the application according to this notification. ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // The time the event occurred, measuring in milliseconds since the UNIX // epoch. Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The domain name of the customer corresponding to this notification. CustomerId string `protobuf:"bytes,4,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // The type of API resource. This is always appsmarket#licenseNotification. Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"` // The list of provisioning notifications. Provisions []*LicenseNotification_Provisions `protobuf:"bytes,6,rep,name=provisions,proto3" json:"provisions,omitempty"` // The list of expiry notifications. Expiries []*LicenseNotification_Expiries `protobuf:"bytes,7,rep,name=expiries,proto3" json:"expiries,omitempty"` // The list of reassignment notifications. Reassignments []*LicenseNotification_Reassignments `protobuf:"bytes,8,rep,name=reassignments,proto3" json:"reassignments,omitempty"` // The list of deletion notifications. Deletes []*LicenseNotification_Deletes `protobuf:"bytes,9,rep,name=deletes,proto3" json:"deletes,omitempty"` // contains filtered or unexported fields }
func (*LicenseNotification) Descriptor
deprecated
func (*LicenseNotification) Descriptor() ([]byte, []int)
Deprecated: Use LicenseNotification.ProtoReflect.Descriptor instead.
func (*LicenseNotification) GetApplicationId ¶
func (x *LicenseNotification) GetApplicationId() string
func (*LicenseNotification) GetCustomerId ¶
func (x *LicenseNotification) GetCustomerId() string
func (*LicenseNotification) GetDeletes ¶
func (x *LicenseNotification) GetDeletes() []*LicenseNotification_Deletes
func (*LicenseNotification) GetExpiries ¶
func (x *LicenseNotification) GetExpiries() []*LicenseNotification_Expiries
func (*LicenseNotification) GetId ¶
func (x *LicenseNotification) GetId() string
func (*LicenseNotification) GetKind ¶
func (x *LicenseNotification) GetKind() string
func (*LicenseNotification) GetProvisions ¶
func (x *LicenseNotification) GetProvisions() []*LicenseNotification_Provisions
func (*LicenseNotification) GetReassignments ¶
func (x *LicenseNotification) GetReassignments() []*LicenseNotification_Reassignments
func (*LicenseNotification) GetTimestamp ¶
func (x *LicenseNotification) GetTimestamp() int64
func (*LicenseNotification) ProtoMessage ¶
func (*LicenseNotification) ProtoMessage()
func (*LicenseNotification) ProtoReflect ¶
func (x *LicenseNotification) ProtoReflect() protoreflect.Message
func (*LicenseNotification) Reset ¶
func (x *LicenseNotification) Reset()
func (*LicenseNotification) String ¶
func (x *LicenseNotification) String() string
type LicenseNotificationList ¶
type LicenseNotificationList struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The list of notifications. One or more of: // // - `provisions`: A new license of the application has been provisioned. // - `expiries`: A license of the application has expired. // - `deletions`: An application has been deleted from a domain. // - `reassignments`: An administrator has assigned or revoked a seat license // for the application on the provided domain. Notifications []*LicenseNotification `protobuf:"bytes,1007,rep,name=notifications,proto3" json:"notifications,omitempty"` // The token used to continue querying for notifications after the final // notification in the current result set. NextPageToken string `protobuf:"bytes,100602,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*LicenseNotificationList) Descriptor
deprecated
func (*LicenseNotificationList) Descriptor() ([]byte, []int)
Deprecated: Use LicenseNotificationList.ProtoReflect.Descriptor instead.
func (*LicenseNotificationList) GetKind ¶
func (x *LicenseNotificationList) GetKind() string
func (*LicenseNotificationList) GetNextPageToken ¶
func (x *LicenseNotificationList) GetNextPageToken() string
func (*LicenseNotificationList) GetNotifications ¶
func (x *LicenseNotificationList) GetNotifications() []*LicenseNotification
func (*LicenseNotificationList) ProtoMessage ¶
func (*LicenseNotificationList) ProtoMessage()
func (*LicenseNotificationList) ProtoReflect ¶
func (x *LicenseNotificationList) ProtoReflect() protoreflect.Message
func (*LicenseNotificationList) Reset ¶
func (x *LicenseNotificationList) Reset()
func (*LicenseNotificationList) String ¶
func (x *LicenseNotificationList) String() string
type LicenseNotificationListRequest ¶
type LicenseNotificationListRequest struct { // Application Id ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` StartToken string `protobuf:"bytes,3,opt,name=start_token,json=startToken,proto3" json:"start_token,omitempty"` // Timestamp in milliseconds since epoch Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*LicenseNotificationListRequest) Descriptor
deprecated
func (*LicenseNotificationListRequest) Descriptor() ([]byte, []int)
Deprecated: Use LicenseNotificationListRequest.ProtoReflect.Descriptor instead.
func (*LicenseNotificationListRequest) GetApplicationId ¶
func (x *LicenseNotificationListRequest) GetApplicationId() string
func (*LicenseNotificationListRequest) GetMaxResults ¶
func (x *LicenseNotificationListRequest) GetMaxResults() uint32
func (*LicenseNotificationListRequest) GetStartToken ¶
func (x *LicenseNotificationListRequest) GetStartToken() string
func (*LicenseNotificationListRequest) GetTimestamp ¶
func (x *LicenseNotificationListRequest) GetTimestamp() uint64
func (*LicenseNotificationListRequest) ProtoMessage ¶
func (*LicenseNotificationListRequest) ProtoMessage()
func (*LicenseNotificationListRequest) ProtoReflect ¶
func (x *LicenseNotificationListRequest) ProtoReflect() protoreflect.Message
func (*LicenseNotificationListRequest) Reset ¶
func (x *LicenseNotificationListRequest) Reset()
func (*LicenseNotificationListRequest) String ¶
func (x *LicenseNotificationListRequest) String() string
type LicenseNotificationServiceClient ¶
type LicenseNotificationServiceClient interface { // Get a list of licensing notifications with regards to a given app. List(ctx context.Context, in *LicenseNotificationListRequest, opts ...grpc.CallOption) (*LicenseNotificationList, error) }
LicenseNotificationServiceClient is the client API for LicenseNotificationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLicenseNotificationServiceClient ¶
func NewLicenseNotificationServiceClient(cc grpc.ClientConnInterface) LicenseNotificationServiceClient
type LicenseNotificationServiceServer ¶
type LicenseNotificationServiceServer interface { // Get a list of licensing notifications with regards to a given app. List(context.Context, *LicenseNotificationListRequest) (*LicenseNotificationList, error) }
LicenseNotificationServiceServer is the server API for LicenseNotificationService service.
type LicenseNotification_Deletes ¶
type LicenseNotification_Deletes struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // (Deprecated) // // Deprecated: Do not use. EditionId string `protobuf:"bytes,901,opt,name=edition_id,json=editionId,proto3" json:"edition_id,omitempty"` // contains filtered or unexported fields }
func (*LicenseNotification_Deletes) Descriptor
deprecated
func (*LicenseNotification_Deletes) Descriptor() ([]byte, []int)
Deprecated: Use LicenseNotification_Deletes.ProtoReflect.Descriptor instead.
func (*LicenseNotification_Deletes) GetEditionId
deprecated
func (x *LicenseNotification_Deletes) GetEditionId() string
Deprecated: Do not use.
func (*LicenseNotification_Deletes) GetKind ¶
func (x *LicenseNotification_Deletes) GetKind() string
func (*LicenseNotification_Deletes) ProtoMessage ¶
func (*LicenseNotification_Deletes) ProtoMessage()
func (*LicenseNotification_Deletes) ProtoReflect ¶
func (x *LicenseNotification_Deletes) ProtoReflect() protoreflect.Message
func (*LicenseNotification_Deletes) Reset ¶
func (x *LicenseNotification_Deletes) Reset()
func (*LicenseNotification_Deletes) String ¶
func (x *LicenseNotification_Deletes) String() string
type LicenseNotification_Expiries ¶
type LicenseNotification_Expiries struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // (Deprecated) // // Deprecated: Do not use. EditionId string `protobuf:"bytes,701,opt,name=edition_id,json=editionId,proto3" json:"edition_id,omitempty"` // contains filtered or unexported fields }
func (*LicenseNotification_Expiries) Descriptor
deprecated
func (*LicenseNotification_Expiries) Descriptor() ([]byte, []int)
Deprecated: Use LicenseNotification_Expiries.ProtoReflect.Descriptor instead.
func (*LicenseNotification_Expiries) GetEditionId
deprecated
func (x *LicenseNotification_Expiries) GetEditionId() string
Deprecated: Do not use.
func (*LicenseNotification_Expiries) GetKind ¶
func (x *LicenseNotification_Expiries) GetKind() string
func (*LicenseNotification_Expiries) ProtoMessage ¶
func (*LicenseNotification_Expiries) ProtoMessage()
func (*LicenseNotification_Expiries) ProtoReflect ¶
func (x *LicenseNotification_Expiries) ProtoReflect() protoreflect.Message
func (*LicenseNotification_Expiries) Reset ¶
func (x *LicenseNotification_Expiries) Reset()
func (*LicenseNotification_Expiries) String ¶
func (x *LicenseNotification_Expiries) String() string
type LicenseNotification_Provisions ¶
type LicenseNotification_Provisions struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // (Deprecated) // // Deprecated: Do not use. EditionId string `protobuf:"bytes,601,opt,name=edition_id,json=editionId,proto3" json:"edition_id,omitempty"` // The number of seats that were provisioned. SeatCount int64 `protobuf:"varint,602,opt,name=seat_count,json=seatCount,proto3" json:"seat_count,omitempty"` // contains filtered or unexported fields }
func (*LicenseNotification_Provisions) Descriptor
deprecated
func (*LicenseNotification_Provisions) Descriptor() ([]byte, []int)
Deprecated: Use LicenseNotification_Provisions.ProtoReflect.Descriptor instead.
func (*LicenseNotification_Provisions) GetEditionId
deprecated
func (x *LicenseNotification_Provisions) GetEditionId() string
Deprecated: Do not use.
func (*LicenseNotification_Provisions) GetKind ¶
func (x *LicenseNotification_Provisions) GetKind() string
func (*LicenseNotification_Provisions) GetSeatCount ¶
func (x *LicenseNotification_Provisions) GetSeatCount() int64
func (*LicenseNotification_Provisions) ProtoMessage ¶
func (*LicenseNotification_Provisions) ProtoMessage()
func (*LicenseNotification_Provisions) ProtoReflect ¶
func (x *LicenseNotification_Provisions) ProtoReflect() protoreflect.Message
func (*LicenseNotification_Provisions) Reset ¶
func (x *LicenseNotification_Provisions) Reset()
func (*LicenseNotification_Provisions) String ¶
func (x *LicenseNotification_Provisions) String() string
type LicenseNotification_Reassignments ¶
type LicenseNotification_Reassignments struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The email address of the reassigned user. UserId string `protobuf:"bytes,801,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Type string `protobuf:"bytes,802,opt,name=type,proto3" json:"type,omitempty"` // (Deprecated) // // Deprecated: Do not use. EditionId string `protobuf:"bytes,803,opt,name=edition_id,json=editionId,proto3" json:"edition_id,omitempty"` // contains filtered or unexported fields }
func (*LicenseNotification_Reassignments) Descriptor
deprecated
func (*LicenseNotification_Reassignments) Descriptor() ([]byte, []int)
Deprecated: Use LicenseNotification_Reassignments.ProtoReflect.Descriptor instead.
func (*LicenseNotification_Reassignments) GetEditionId
deprecated
func (x *LicenseNotification_Reassignments) GetEditionId() string
Deprecated: Do not use.
func (*LicenseNotification_Reassignments) GetKind ¶
func (x *LicenseNotification_Reassignments) GetKind() string
func (*LicenseNotification_Reassignments) GetType ¶
func (x *LicenseNotification_Reassignments) GetType() string
func (*LicenseNotification_Reassignments) GetUserId ¶
func (x *LicenseNotification_Reassignments) GetUserId() string
func (*LicenseNotification_Reassignments) ProtoMessage ¶
func (*LicenseNotification_Reassignments) ProtoMessage()
func (*LicenseNotification_Reassignments) ProtoReflect ¶
func (x *LicenseNotification_Reassignments) ProtoReflect() protoreflect.Message
func (*LicenseNotification_Reassignments) Reset ¶
func (x *LicenseNotification_Reassignments) Reset()
func (*LicenseNotification_Reassignments) String ¶
func (x *LicenseNotification_Reassignments) String() string
type UnimplementedCustomerLicenseServiceServer ¶
type UnimplementedCustomerLicenseServiceServer struct { }
UnimplementedCustomerLicenseServiceServer can be embedded to have forward compatible implementations.
type UnimplementedLicenseNotificationServiceServer ¶
type UnimplementedLicenseNotificationServiceServer struct { }
UnimplementedLicenseNotificationServiceServer can be embedded to have forward compatible implementations.
type UnimplementedUserLicenseServiceServer ¶
type UnimplementedUserLicenseServiceServer struct { }
UnimplementedUserLicenseServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserLicenseServiceServer) Get ¶
func (*UnimplementedUserLicenseServiceServer) Get(context.Context, *UserLicenseGetRequest) (*UserLicense, error)
type UserLicense ¶
type UserLicense struct { // The type of API resource. This is always appsmarket#userLicense. Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` // The domain administrator has activated the application for this domain. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // The user's licensing status. One of: // // - `ACTIVE`: The user has a valid license and should be permitted to use the // application. // - `UNLICENSED`: The administrator of this user's domain never assigned a // seat for the application to this user. // - `EXPIRED`: The administrator assigned a seat to this user, but the // license is expired. State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // (Deprecated) // // Deprecated: Do not use. EditionId string `protobuf:"bytes,4,opt,name=edition_id,json=editionId,proto3" json:"edition_id,omitempty"` // The domain name of the user. CustomerId string `protobuf:"bytes,5,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"` // The ID of the application corresponding to the license query. ApplicationId string `protobuf:"bytes,6,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // The ID of user license. Id string `protobuf:"bytes,101,opt,name=id,proto3" json:"id,omitempty"` // The email address of the user. UserId string `protobuf:"bytes,102,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserLicense) Descriptor
deprecated
func (*UserLicense) Descriptor() ([]byte, []int)
Deprecated: Use UserLicense.ProtoReflect.Descriptor instead.
func (*UserLicense) GetApplicationId ¶
func (x *UserLicense) GetApplicationId() string
func (*UserLicense) GetCustomerId ¶
func (x *UserLicense) GetCustomerId() string
func (*UserLicense) GetEditionId
deprecated
func (x *UserLicense) GetEditionId() string
Deprecated: Do not use.
func (*UserLicense) GetEnabled ¶
func (x *UserLicense) GetEnabled() bool
func (*UserLicense) GetId ¶
func (x *UserLicense) GetId() string
func (*UserLicense) GetKind ¶
func (x *UserLicense) GetKind() string
func (*UserLicense) GetState ¶
func (x *UserLicense) GetState() string
func (*UserLicense) GetUserId ¶
func (x *UserLicense) GetUserId() string
func (*UserLicense) ProtoMessage ¶
func (*UserLicense) ProtoMessage()
func (*UserLicense) ProtoReflect ¶
func (x *UserLicense) ProtoReflect() protoreflect.Message
func (*UserLicense) Reset ¶
func (x *UserLicense) Reset()
func (*UserLicense) String ¶
func (x *UserLicense) String() string
type UserLicenseGetRequest ¶
type UserLicenseGetRequest struct { // Application Id ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` // User Id UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserLicenseGetRequest) Descriptor
deprecated
func (*UserLicenseGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserLicenseGetRequest.ProtoReflect.Descriptor instead.
func (*UserLicenseGetRequest) GetApplicationId ¶
func (x *UserLicenseGetRequest) GetApplicationId() string
func (*UserLicenseGetRequest) GetUserId ¶
func (x *UserLicenseGetRequest) GetUserId() string
func (*UserLicenseGetRequest) ProtoMessage ¶
func (*UserLicenseGetRequest) ProtoMessage()
func (*UserLicenseGetRequest) ProtoReflect ¶
func (x *UserLicenseGetRequest) ProtoReflect() protoreflect.Message
func (*UserLicenseGetRequest) Reset ¶
func (x *UserLicenseGetRequest) Reset()
func (*UserLicenseGetRequest) String ¶
func (x *UserLicenseGetRequest) String() string
type UserLicenseServiceClient ¶
type UserLicenseServiceClient interface { // Get the user's licensing status for their permission to use a given app. Get(ctx context.Context, in *UserLicenseGetRequest, opts ...grpc.CallOption) (*UserLicense, error) }
UserLicenseServiceClient is the client API for UserLicenseService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserLicenseServiceClient ¶
func NewUserLicenseServiceClient(cc grpc.ClientConnInterface) UserLicenseServiceClient
type UserLicenseServiceServer ¶
type UserLicenseServiceServer interface { // Get the user's licensing status for their permission to use a given app. Get(context.Context, *UserLicenseGetRequest) (*UserLicense, error) }
UserLicenseServiceServer is the server API for UserLicenseService service.