Variables
LineItemChangeType_name, LineItemChangeType_value
var (
LineItemChangeType_name = map[int32]string{
0: "LINE_ITEM_CHANGE_TYPE_UNSPECIFIED",
1: "LINE_ITEM_CHANGE_TYPE_CREATE",
2: "LINE_ITEM_CHANGE_TYPE_UPDATE",
3: "LINE_ITEM_CHANGE_TYPE_CANCEL",
4: "LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION",
}
LineItemChangeType_value = map[string]int32{
"LINE_ITEM_CHANGE_TYPE_UNSPECIFIED": 0,
"LINE_ITEM_CHANGE_TYPE_CREATE": 1,
"LINE_ITEM_CHANGE_TYPE_UPDATE": 2,
"LINE_ITEM_CHANGE_TYPE_CANCEL": 3,
"LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION": 4,
}
)
Enum value maps for LineItemChangeType.
LineItemChangeState_name, LineItemChangeState_value
var (
LineItemChangeState_name = map[int32]string{
0: "LINE_ITEM_CHANGE_STATE_UNSPECIFIED",
1: "LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL",
2: "LINE_ITEM_CHANGE_STATE_APPROVED",
3: "LINE_ITEM_CHANGE_STATE_COMPLETED",
4: "LINE_ITEM_CHANGE_STATE_REJECTED",
5: "LINE_ITEM_CHANGE_STATE_ABANDONED",
6: "LINE_ITEM_CHANGE_STATE_ACTIVATING",
}
LineItemChangeState_value = map[string]int32{
"LINE_ITEM_CHANGE_STATE_UNSPECIFIED": 0,
"LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL": 1,
"LINE_ITEM_CHANGE_STATE_APPROVED": 2,
"LINE_ITEM_CHANGE_STATE_COMPLETED": 3,
"LINE_ITEM_CHANGE_STATE_REJECTED": 4,
"LINE_ITEM_CHANGE_STATE_ABANDONED": 5,
"LINE_ITEM_CHANGE_STATE_ACTIVATING": 6,
}
)
Enum value maps for LineItemChangeState.
LineItemChangeStateReasonType_name, LineItemChangeStateReasonType_value
var (
LineItemChangeStateReasonType_name = map[int32]string{
0: "LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED",
1: "LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED",
2: "LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED",
3: "LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED",
}
LineItemChangeStateReasonType_value = map[string]int32{
"LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED": 0,
"LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED": 1,
"LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED": 2,
"LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED": 3,
}
)
Enum value maps for LineItemChangeStateReasonType.
AutoRenewalBehavior_name, AutoRenewalBehavior_value
var (
AutoRenewalBehavior_name = map[int32]string{
0: "AUTO_RENEWAL_BEHAVIOR_UNSPECIFIED",
1: "AUTO_RENEWAL_BEHAVIOR_ENABLE",
2: "AUTO_RENEWAL_BEHAVIOR_DISABLE",
}
AutoRenewalBehavior_value = map[string]int32{
"AUTO_RENEWAL_BEHAVIOR_UNSPECIFIED": 0,
"AUTO_RENEWAL_BEHAVIOR_ENABLE": 1,
"AUTO_RENEWAL_BEHAVIOR_DISABLE": 2,
}
)
Enum value maps for AutoRenewalBehavior.
CancelOrderRequest_CancellationPolicy_name, CancelOrderRequest_CancellationPolicy_value
var (
CancelOrderRequest_CancellationPolicy_name = map[int32]string{
0: "CANCELLATION_POLICY_UNSPECIFIED",
1: "CANCELLATION_POLICY_CANCEL_IMMEDIATELY",
2: "CANCELLATION_POLICY_CANCEL_AT_TERM_END",
}
CancelOrderRequest_CancellationPolicy_value = map[string]int32{
"CANCELLATION_POLICY_UNSPECIFIED": 0,
"CANCELLATION_POLICY_CANCEL_IMMEDIATELY": 1,
"CANCELLATION_POLICY_CANCEL_AT_TERM_END": 2,
}
)
Enum value maps for CancelOrderRequest_CancellationPolicy.
File_google_cloud_commerce_consumer_procurement_v1_license_management_service_proto
var File_google_cloud_commerce_consumer_procurement_v1_license_management_service_proto protoreflect.FileDescriptor
File_google_cloud_commerce_consumer_procurement_v1_order_proto
var File_google_cloud_commerce_consumer_procurement_v1_order_proto protoreflect.FileDescriptor
File_google_cloud_commerce_consumer_procurement_v1_procurement_service_proto
var File_google_cloud_commerce_consumer_procurement_v1_procurement_service_proto protoreflect.FileDescriptor
Functions
func RegisterConsumerProcurementServiceServer
func RegisterConsumerProcurementServiceServer(s *grpc.Server, srv ConsumerProcurementServiceServer)
func RegisterLicenseManagementServiceServer
func RegisterLicenseManagementServiceServer(s *grpc.Server, srv LicenseManagementServiceServer)
AssignRequest
type AssignRequest struct {
// Required. License pool name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Username.
// Format: `[email protected]`.
Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
// contains filtered or unexported fields
}
Request message for [LicenseManagementService.Assign][google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.Assign].
func (*AssignRequest) Descriptor
func (*AssignRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignRequest.ProtoReflect.Descriptor instead.
func (*AssignRequest) GetParent
func (x *AssignRequest) GetParent() string
func (*AssignRequest) GetUsernames
func (x *AssignRequest) GetUsernames() []string
func (*AssignRequest) ProtoMessage
func (*AssignRequest) ProtoMessage()
func (*AssignRequest) ProtoReflect
func (x *AssignRequest) ProtoReflect() protoreflect.Message
func (*AssignRequest) Reset
func (x *AssignRequest) Reset()
func (*AssignRequest) String
func (x *AssignRequest) String() string
AssignResponse
type AssignResponse struct {
// contains filtered or unexported fields
}
Response message for [LicenseManagementService.Assign][google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.Assign].
func (*AssignResponse) Descriptor
func (*AssignResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignResponse.ProtoReflect.Descriptor instead.
func (*AssignResponse) ProtoMessage
func (*AssignResponse) ProtoMessage()
func (*AssignResponse) ProtoReflect
func (x *AssignResponse) ProtoReflect() protoreflect.Message
func (*AssignResponse) Reset
func (x *AssignResponse) Reset()
func (*AssignResponse) String
func (x *AssignResponse) String() string
AssignmentProtocol
type AssignmentProtocol struct {
// The type of assignment protocol.
//
// Types that are assignable to AssignmentType:
//
// *AssignmentProtocol_ManualAssignmentType_
// *AssignmentProtocol_AutoAssignmentType_
AssignmentType isAssignmentProtocol_AssignmentType `protobuf_oneof:"assignment_type"`
// contains filtered or unexported fields
}
Assignment protocol for a license pool.
func (*AssignmentProtocol) Descriptor
func (*AssignmentProtocol) Descriptor() ([]byte, []int)
Deprecated: Use AssignmentProtocol.ProtoReflect.Descriptor instead.
func (*AssignmentProtocol) GetAssignmentType
func (m *AssignmentProtocol) GetAssignmentType() isAssignmentProtocol_AssignmentType
func (*AssignmentProtocol) GetAutoAssignmentType
func (x *AssignmentProtocol) GetAutoAssignmentType() *AssignmentProtocol_AutoAssignmentType
func (*AssignmentProtocol) GetManualAssignmentType
func (x *AssignmentProtocol) GetManualAssignmentType() *AssignmentProtocol_ManualAssignmentType
func (*AssignmentProtocol) ProtoMessage
func (*AssignmentProtocol) ProtoMessage()
func (*AssignmentProtocol) ProtoReflect
func (x *AssignmentProtocol) ProtoReflect() protoreflect.Message
func (*AssignmentProtocol) Reset
func (x *AssignmentProtocol) Reset()
func (*AssignmentProtocol) String
func (x *AssignmentProtocol) String() string
AssignmentProtocol_AutoAssignmentType
type AssignmentProtocol_AutoAssignmentType struct {
// Optional. The time to live for an inactive license. After this time has
// passed, the license will be automatically unassigned from the user. Must
// be at least 7 days, if set. If unset, the license will never expire.
InactiveLicenseTtl *durationpb.Duration `protobuf:"bytes,1,opt,name=inactive_license_ttl,json=inactiveLicenseTtl,proto3" json:"inactive_license_ttl,omitempty"`
// contains filtered or unexported fields
}
Configuration for automatic assignments handled by data plane operations.
func (*AssignmentProtocol_AutoAssignmentType) Descriptor
func (*AssignmentProtocol_AutoAssignmentType) Descriptor() ([]byte, []int)
Deprecated: Use AssignmentProtocol_AutoAssignmentType.ProtoReflect.Descriptor instead.
func (*AssignmentProtocol_AutoAssignmentType) GetInactiveLicenseTtl
func (x *AssignmentProtocol_AutoAssignmentType) GetInactiveLicenseTtl() *durationpb.Duration
func (*AssignmentProtocol_AutoAssignmentType) ProtoMessage
func (*AssignmentProtocol_AutoAssignmentType) ProtoMessage()
func (*AssignmentProtocol_AutoAssignmentType) ProtoReflect
func (x *AssignmentProtocol_AutoAssignmentType) ProtoReflect() protoreflect.Message
func (*AssignmentProtocol_AutoAssignmentType) Reset
func (x *AssignmentProtocol_AutoAssignmentType) Reset()
func (*AssignmentProtocol_AutoAssignmentType) String
func (x *AssignmentProtocol_AutoAssignmentType) String() string
AssignmentProtocol_AutoAssignmentType_
type AssignmentProtocol_AutoAssignmentType_ struct {
// Allow automatic assignments triggered by data plane operations.
AutoAssignmentType *AssignmentProtocol_AutoAssignmentType `protobuf:"bytes,3,opt,name=auto_assignment_type,json=autoAssignmentType,proto3,oneof"`
}
AssignmentProtocol_ManualAssignmentType
type AssignmentProtocol_ManualAssignmentType struct {
// contains filtered or unexported fields
}
Allow manual assignments triggered by administrative operations only.
func (*AssignmentProtocol_ManualAssignmentType) Descriptor
func (*AssignmentProtocol_ManualAssignmentType) Descriptor() ([]byte, []int)
Deprecated: Use AssignmentProtocol_ManualAssignmentType.ProtoReflect.Descriptor instead.
func (*AssignmentProtocol_ManualAssignmentType) ProtoMessage
func (*AssignmentProtocol_ManualAssignmentType) ProtoMessage()
func (*AssignmentProtocol_ManualAssignmentType) ProtoReflect
func (x *AssignmentProtocol_ManualAssignmentType) ProtoReflect() protoreflect.Message
func (*AssignmentProtocol_ManualAssignmentType) Reset
func (x *AssignmentProtocol_ManualAssignmentType) Reset()
func (*AssignmentProtocol_ManualAssignmentType) String
func (x *AssignmentProtocol_ManualAssignmentType) String() string
AssignmentProtocol_ManualAssignmentType_
type AssignmentProtocol_ManualAssignmentType_ struct {
// Allow manual assignments triggered by administrative operations only.
ManualAssignmentType *AssignmentProtocol_ManualAssignmentType `protobuf:"bytes,2,opt,name=manual_assignment_type,json=manualAssignmentType,proto3,oneof"`
}
AutoRenewalBehavior
type AutoRenewalBehavior int32
Indicates the auto renewal behavior customer specifies on subscription.
AutoRenewalBehavior_AUTO_RENEWAL_BEHAVIOR_UNSPECIFIED, AutoRenewalBehavior_AUTO_RENEWAL_BEHAVIOR_ENABLE, AutoRenewalBehavior_AUTO_RENEWAL_BEHAVIOR_DISABLE
const (
// If unspecified, the auto renewal behavior will follow the default config.
AutoRenewalBehavior_AUTO_RENEWAL_BEHAVIOR_UNSPECIFIED AutoRenewalBehavior = 0
// Auto Renewal will be enabled on subscription.
AutoRenewalBehavior_AUTO_RENEWAL_BEHAVIOR_ENABLE AutoRenewalBehavior = 1
// Auto Renewal will be disabled on subscription.
AutoRenewalBehavior_AUTO_RENEWAL_BEHAVIOR_DISABLE AutoRenewalBehavior = 2
)
func (AutoRenewalBehavior) Descriptor
func (AutoRenewalBehavior) Descriptor() protoreflect.EnumDescriptor
func (AutoRenewalBehavior) Enum
func (x AutoRenewalBehavior) Enum() *AutoRenewalBehavior
func (AutoRenewalBehavior) EnumDescriptor
func (AutoRenewalBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutoRenewalBehavior.Descriptor instead.
func (AutoRenewalBehavior) Number
func (x AutoRenewalBehavior) Number() protoreflect.EnumNumber
func (AutoRenewalBehavior) String
func (x AutoRenewalBehavior) String() string
func (AutoRenewalBehavior) Type
func (AutoRenewalBehavior) Type() protoreflect.EnumType
CancelOrderMetadata
type CancelOrderMetadata struct {
// contains filtered or unexported fields
}
Message stored in the metadata field of the Operation returned by [ConsumerProcurementService.CancelOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.CancelOrder].
func (*CancelOrderMetadata) Descriptor
func (*CancelOrderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CancelOrderMetadata.ProtoReflect.Descriptor instead.
func (*CancelOrderMetadata) ProtoMessage
func (*CancelOrderMetadata) ProtoMessage()
func (*CancelOrderMetadata) ProtoReflect
func (x *CancelOrderMetadata) ProtoReflect() protoreflect.Message
func (*CancelOrderMetadata) Reset
func (x *CancelOrderMetadata) Reset()
func (*CancelOrderMetadata) String
func (x *CancelOrderMetadata) String() string
CancelOrderRequest
type CancelOrderRequest struct {
// Required. The resource name of the order.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The weak etag, which can be optionally populated, of the order
// that this cancel request is based on. Validation checking will only happen
// if the invoker supplies this field.
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Cancellation policy of this request.
CancellationPolicy CancelOrderRequest_CancellationPolicy `protobuf:"varint,3,opt,name=cancellation_policy,json=cancellationPolicy,proto3,enum=google.cloud.commerce.consumer.procurement.v1.CancelOrderRequest_CancellationPolicy" json:"cancellation_policy,omitempty"`
// contains filtered or unexported fields
}
Request message for [ConsumerProcurementService.CancelOrder][google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.CancelOrder].
func (*CancelOrderRequest) Descriptor
func (*CancelOrderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOrderRequest.ProtoReflect.Descriptor instead.
func (*CancelOrderRequest) GetCancellationPolicy
func (x *CancelOrderRequest) GetCancellationPolicy() CancelOrderRequest_CancellationPolicy
func (*CancelOrderRequest) GetEtag
func (x *CancelOrderRequest) GetEtag() string
func (*CancelOrderRequest) GetName
func (x *CancelOrderRequest) GetName() string
func (*CancelOrderRequest) ProtoMessage
func (*CancelOrderRequest) ProtoMessage()
func (*CancelOrderRequest) ProtoReflect
func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message
func (*CancelOrderRequest) Reset
func (x *CancelOrderRequest) Reset()
func (*CancelOrderRequest) String
func (x *CancelOrderRequest) String() string
CancelOrderRequest_CancellationPolicy
type CancelOrderRequest_CancellationPolicy int32
Indicates the cancellation policy the customer uses to cancel the order.
CancelOrderRequest_CANCELLATION_POLICY_UNSPECIFIED, CancelOrderRequest_CANCELLATION_POLICY_CANCEL_IMMEDIATELY, CancelOrderRequest_CANCELLATION_POLICY_CANCEL_AT_TERM_END
const (
// If unspecified, cancellation will try to cancel the order, if order
// cannot be immediately cancelled, auto renewal will be turned off.
// However, caller should avoid using the value as it will yield a
// non-deterministic result. This is still supported mainly to maintain
// existing integrated usages and ensure backwards compatibility.
CancelOrderRequest_CANCELLATION_POLICY_UNSPECIFIED CancelOrderRequest_CancellationPolicy = 0
// Request will cancel the whole order immediately, if order cannot be
// immediately cancelled, the request will fail.
CancelOrderRequest_CANCELLATION_POLICY_CANCEL_IMMEDIATELY CancelOrderRequest_CancellationPolicy = 1
// Request will cancel the auto renewal, if order is not subscription based,
// the request will fail.
CancelOrderRequest_CANCELLATION_POLICY_CANCEL_AT_TERM_END CancelOrderRequest_CancellationPolicy = 2
)
func (CancelOrderRequest_CancellationPolicy) Descriptor
func (CancelOrderRequest_CancellationPolicy) Descriptor() protoreflect.EnumDescriptor
func (CancelOrderRequest_CancellationPolicy) Enum
func (CancelOrderRequest_CancellationPolicy) EnumDescriptor
func (CancelOrderRequest_CancellationPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use CancelOrderRequest_CancellationPolicy.Descriptor instead.
func (CancelOrderRequest_CancellationPolicy) Number
func (x CancelOrderRequest_CancellationPolicy) Number() protoreflect.EnumNumber
func (CancelOrderRequest_CancellationPolicy) String
func (x CancelOrderRequest_CancellationPolicy) String() string
func (CancelOrderRequest_CancellationPolicy) Type
func (CancelOrderRequest_CancellationPolicy) Type() protoreflect.EnumType
ConsumerProcurementServiceClient
type ConsumerProcurementServiceClient interface {
// Creates a new [Order][google.cloud.commerce.consumer.procurement.v1.Order].
//
// This API only supports GCP spend-based committed use
// discounts specified by GCP documentation.
//
// The returned long-running operation is in-progress until the backend
// completes the creation of the resource. Once completed, the order is
// in
// [OrderState.ORDER_STATE_ACTIVE][google.cloud.commerce.consumer.procurement.v1.OrderState.ORDER_STATE_ACTIVE].
// In case of failure, the order resource will be removed.
PlaceOrder(ctx context.Context, in *PlaceOrderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the requested
// [Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.
GetOrder(ctx context.Context, in *GetOrderRequest, opts ...grpc.CallOption) (*Order, error)
// Lists [Order][google.cloud.commerce.consumer.procurement.v1.Order]
// resources that the user has access to, within the scope of the parent
// resource.
ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error)
// Modifies an existing
// [Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.
ModifyOrder(ctx context.Context, in *ModifyOrderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Cancels an existing
// [Order][google.cloud.commerce.consumer.procurement.v1.Order]. Every product
// procured in the Order will be cancelled.
CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
ConsumerProcurementServiceClient is the client API for ConsumerProcurementService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConsumerProcurementServiceClient
func NewConsumerProcurementServiceClient(cc grpc.ClientConnInterface) ConsumerProcurementServiceClient
ConsumerProcurementServiceServer
type ConsumerProcurementServiceServer interface {
// Creates a new [Order][google.cloud.commerce.consumer.procurement.v1.Order].
//
// This API only supports GCP spend-based committed use
// discounts specified by GCP documentation.
//
// The returned long-running operation is in-progress until the backend
// completes the creation of the resource. Once completed, the order is
// in
// [OrderState.ORDER_STATE_ACTIVE][google.cloud.commerce.consumer.procurement.v1.OrderState.ORDER_STATE_ACTIVE].
// In case of failure, the order resource will be removed.
PlaceOrder(context.Context, *PlaceOrderRequest) (*longrunningpb.Operation, error)
// Returns the requested
// [Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.
GetOrder(context.Context, *GetOrderRequest) (*Order, error)
// Lists [Order][google.cloud.commerce.consumer.procurement.v1.Order]
// resources that the user has access to, within the scope of the parent
// resource.
ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
// Modifies an existing
// [Order][google.cloud.commerce.consumer.procurement.v1.Order] resource.
ModifyOrder(context.Context, *ModifyOrderRequest) (*longrunningpb.Operation, error)
// Cancels an existing
// [Order][google.cloud.commerce.consumer.procurement.v1.Order]. Every product
// procured in the Order will be cancelled.
CancelOrder(context.Context, *CancelOrderRequest) (*longrunningpb.Operation, error)
}
ConsumerProcurementServiceServer is the server API for ConsumerProcurementService service.
EnumerateLicensedUsersRequest
type EnumerateLicensedUsersRequest struct {
// Required. License pool name.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of users to return. The service may return
// fewer than this value.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `EnumerateLicensedUsers`
// call. Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request message for [LicenseManagementService.EnumerateLicensedUsers][google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.EnumerateLicensedUsers].
func (*EnumerateLicensedUsersRequest) Descriptor
func (*EnumerateLicensedUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnumerateLicensedUsersRequest.ProtoReflect.Descriptor instead.
func (*EnumerateLicensedUsersRequest) GetPageSize
func (x *EnumerateLicensedUsersRequest) GetPageSize() int32
func (*EnumerateLicensedUsersRequest) GetPageToken
func (x *EnumerateLicensedUsersRequest) GetPageToken() string
func (*EnumerateLicensedUsersRequest) GetParent
func (x *EnumerateLicensedUsersRequest) GetParent() string
func (*EnumerateLicensedUsersRequest) ProtoMessage
func (*EnumerateLicensedUsersRequest) ProtoMessage()
func (*EnumerateLicensedUsersRequest) ProtoReflect
func (x *EnumerateLicensedUsersRequest) ProtoReflect() protoreflect.Message
func (*EnumerateLicensedUsersRequest) Reset
func (x *EnumerateLicensedUsersRequest) Reset()
func (*EnumerateLicensedUsersRequest) String
func (x *EnumerateLicensedUsersRequest) String() string
EnumerateLicensedUsersResponse
type EnumerateLicensedUsersResponse struct {
// The list of licensed users.
LicensedUsers []*LicensedUser `protobuf:"bytes,1,rep,name=licensed_users,json=licensedUsers,proto3" json:"licensed_users,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for [LicenseManagementService.EnumerateLicensedUsers][google.cloud.commerce.consumer.procurement.v1.LicenseManagementService.EnumerateLicensedUsers].
func (*EnumerateLicensedUsersResponse) Descriptor
func (*EnumerateLicensedUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnumerateLicensedUsersResponse.ProtoReflect.Descriptor instead.
func (*EnumerateLicensedUsersResponse) GetLicensedUsers
func (x *