Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + type Account struct + Approvals []*Approval + CreateTime string + ForceSendFields []string + InputProperties googleapi.RawMessage + Name string + NullFields []string + Provider string + State string + UpdateTime string + func (s *Account) MarshalJSON() ([]byte, error) + type Approval struct + ForceSendFields []string + Name string + NullFields []string + Reason string + State string + UpdateTime string + func (s *Approval) MarshalJSON() ([]byte, error) + type ApproveAccountRequest struct + ApprovalName string + ForceSendFields []string + NullFields []string + Properties map[string]string + Reason string + func (s *ApproveAccountRequest) MarshalJSON() ([]byte, error) + type ApproveEntitlementPlanChangeRequest struct + ForceSendFields []string + NullFields []string + PendingPlanName string + func (s *ApproveEntitlementPlanChangeRequest) MarshalJSON() ([]byte, error) + type ApproveEntitlementRequest struct + ForceSendFields []string + NullFields []string + Properties map[string]string + func (s *ApproveEntitlementRequest) MarshalJSON() ([]byte, error) + type Consumer struct + ForceSendFields []string + NullFields []string + Project string + func (s *Consumer) MarshalJSON() ([]byte, error) + type Empty struct + type Entitlement struct + Account string + Consumers []*Consumer + CreateTime string + ForceSendFields []string + InputProperties googleapi.RawMessage + MessageToUser string + Name string + NewPendingPlan string + NullFields []string + Plan string + Product string + ProductExternalName string + Provider string + QuoteExternalName string + State string + SubscriptionEndTime string + UpdateTime string + UsageReportingId string + func (s *Entitlement) MarshalJSON() ([]byte, error) + type ListAccountsResponse struct + Accounts []*Account + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListAccountsResponse) MarshalJSON() ([]byte, error) + type ListEntitlementsResponse struct + Entitlements []*Entitlement + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListEntitlementsResponse) MarshalJSON() ([]byte, error) + type ProvidersAccountsApproveCall struct + func (c *ProvidersAccountsApproveCall) Context(ctx context.Context) *ProvidersAccountsApproveCall + func (c *ProvidersAccountsApproveCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersAccountsApproveCall) Fields(s ...googleapi.Field) *ProvidersAccountsApproveCall + func (c *ProvidersAccountsApproveCall) Header() http.Header + type ProvidersAccountsGetCall struct + func (c *ProvidersAccountsGetCall) Context(ctx context.Context) *ProvidersAccountsGetCall + func (c *ProvidersAccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error) + func (c *ProvidersAccountsGetCall) Fields(s ...googleapi.Field) *ProvidersAccountsGetCall + func (c *ProvidersAccountsGetCall) Header() http.Header + func (c *ProvidersAccountsGetCall) IfNoneMatch(entityTag string) *ProvidersAccountsGetCall + type ProvidersAccountsListCall struct + func (c *ProvidersAccountsListCall) Context(ctx context.Context) *ProvidersAccountsListCall + func (c *ProvidersAccountsListCall) Do(opts ...googleapi.CallOption) (*ListAccountsResponse, error) + func (c *ProvidersAccountsListCall) Fields(s ...googleapi.Field) *ProvidersAccountsListCall + func (c *ProvidersAccountsListCall) Header() http.Header + func (c *ProvidersAccountsListCall) IfNoneMatch(entityTag string) *ProvidersAccountsListCall + func (c *ProvidersAccountsListCall) PageSize(pageSize int64) *ProvidersAccountsListCall + func (c *ProvidersAccountsListCall) PageToken(pageToken string) *ProvidersAccountsListCall + func (c *ProvidersAccountsListCall) Pages(ctx context.Context, f func(*ListAccountsResponse) error) error + type ProvidersAccountsRejectCall struct + func (c *ProvidersAccountsRejectCall) Context(ctx context.Context) *ProvidersAccountsRejectCall + func (c *ProvidersAccountsRejectCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersAccountsRejectCall) Fields(s ...googleapi.Field) *ProvidersAccountsRejectCall + func (c *ProvidersAccountsRejectCall) Header() http.Header + type ProvidersAccountsResetCall struct + func (c *ProvidersAccountsResetCall) Context(ctx context.Context) *ProvidersAccountsResetCall + func (c *ProvidersAccountsResetCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersAccountsResetCall) Fields(s ...googleapi.Field) *ProvidersAccountsResetCall + func (c *ProvidersAccountsResetCall) Header() http.Header + type ProvidersAccountsService struct + func NewProvidersAccountsService(s *Service) *ProvidersAccountsService + func (r *ProvidersAccountsService) Approve(name string, approveaccountrequest *ApproveAccountRequest) *ProvidersAccountsApproveCall + func (r *ProvidersAccountsService) Get(name string) *ProvidersAccountsGetCall + func (r *ProvidersAccountsService) List(parent string) *ProvidersAccountsListCall + func (r *ProvidersAccountsService) Reject(name string, rejectaccountrequest *RejectAccountRequest) *ProvidersAccountsRejectCall + func (r *ProvidersAccountsService) Reset(name string, resetaccountrequest *ResetAccountRequest) *ProvidersAccountsResetCall + type ProvidersEntitlementsApproveCall struct + func (c *ProvidersEntitlementsApproveCall) Context(ctx context.Context) *ProvidersEntitlementsApproveCall + func (c *ProvidersEntitlementsApproveCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersEntitlementsApproveCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsApproveCall + func (c *ProvidersEntitlementsApproveCall) Header() http.Header + type ProvidersEntitlementsApprovePlanChangeCall struct + func (c *ProvidersEntitlementsApprovePlanChangeCall) Context(ctx context.Context) *ProvidersEntitlementsApprovePlanChangeCall + func (c *ProvidersEntitlementsApprovePlanChangeCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersEntitlementsApprovePlanChangeCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsApprovePlanChangeCall + func (c *ProvidersEntitlementsApprovePlanChangeCall) Header() http.Header + type ProvidersEntitlementsGetCall struct + func (c *ProvidersEntitlementsGetCall) Context(ctx context.Context) *ProvidersEntitlementsGetCall + func (c *ProvidersEntitlementsGetCall) Do(opts ...googleapi.CallOption) (*Entitlement, error) + func (c *ProvidersEntitlementsGetCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsGetCall + func (c *ProvidersEntitlementsGetCall) Header() http.Header + func (c *ProvidersEntitlementsGetCall) IfNoneMatch(entityTag string) *ProvidersEntitlementsGetCall + type ProvidersEntitlementsListCall struct + func (c *ProvidersEntitlementsListCall) Context(ctx context.Context) *ProvidersEntitlementsListCall + func (c *ProvidersEntitlementsListCall) Do(opts ...googleapi.CallOption) (*ListEntitlementsResponse, error) + func (c *ProvidersEntitlementsListCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsListCall + func (c *ProvidersEntitlementsListCall) Filter(filter string) *ProvidersEntitlementsListCall + func (c *ProvidersEntitlementsListCall) Header() http.Header + func (c *ProvidersEntitlementsListCall) IfNoneMatch(entityTag string) *ProvidersEntitlementsListCall + func (c *ProvidersEntitlementsListCall) PageSize(pageSize int64) *ProvidersEntitlementsListCall + func (c *ProvidersEntitlementsListCall) PageToken(pageToken string) *ProvidersEntitlementsListCall + func (c *ProvidersEntitlementsListCall) Pages(ctx context.Context, f func(*ListEntitlementsResponse) error) error + type ProvidersEntitlementsPatchCall struct + func (c *ProvidersEntitlementsPatchCall) Context(ctx context.Context) *ProvidersEntitlementsPatchCall + func (c *ProvidersEntitlementsPatchCall) Do(opts ...googleapi.CallOption) (*Entitlement, error) + func (c *ProvidersEntitlementsPatchCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsPatchCall + func (c *ProvidersEntitlementsPatchCall) Header() http.Header + func (c *ProvidersEntitlementsPatchCall) UpdateMask(updateMask string) *ProvidersEntitlementsPatchCall + type ProvidersEntitlementsRejectCall struct + func (c *ProvidersEntitlementsRejectCall) Context(ctx context.Context) *ProvidersEntitlementsRejectCall + func (c *ProvidersEntitlementsRejectCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersEntitlementsRejectCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsRejectCall + func (c *ProvidersEntitlementsRejectCall) Header() http.Header + type ProvidersEntitlementsRejectPlanChangeCall struct + func (c *ProvidersEntitlementsRejectPlanChangeCall) Context(ctx context.Context) *ProvidersEntitlementsRejectPlanChangeCall + func (c *ProvidersEntitlementsRejectPlanChangeCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersEntitlementsRejectPlanChangeCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsRejectPlanChangeCall + func (c *ProvidersEntitlementsRejectPlanChangeCall) Header() http.Header + type ProvidersEntitlementsService struct + func NewProvidersEntitlementsService(s *Service) *ProvidersEntitlementsService + func (r *ProvidersEntitlementsService) Approve(name string, approveentitlementrequest *ApproveEntitlementRequest) *ProvidersEntitlementsApproveCall + func (r *ProvidersEntitlementsService) ApprovePlanChange(name string, ...) *ProvidersEntitlementsApprovePlanChangeCall + func (r *ProvidersEntitlementsService) Get(name string) *ProvidersEntitlementsGetCall + func (r *ProvidersEntitlementsService) List(parent string) *ProvidersEntitlementsListCall + func (r *ProvidersEntitlementsService) Patch(name string, entitlement *Entitlement) *ProvidersEntitlementsPatchCall + func (r *ProvidersEntitlementsService) Reject(name string, rejectentitlementrequest *RejectEntitlementRequest) *ProvidersEntitlementsRejectCall + func (r *ProvidersEntitlementsService) RejectPlanChange(name string, ...) *ProvidersEntitlementsRejectPlanChangeCall + func (r *ProvidersEntitlementsService) Suspend(name string, suspendentitlementrequest *SuspendEntitlementRequest) *ProvidersEntitlementsSuspendCall + type ProvidersEntitlementsSuspendCall struct + func (c *ProvidersEntitlementsSuspendCall) Context(ctx context.Context) *ProvidersEntitlementsSuspendCall + func (c *ProvidersEntitlementsSuspendCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProvidersEntitlementsSuspendCall) Fields(s ...googleapi.Field) *ProvidersEntitlementsSuspendCall + func (c *ProvidersEntitlementsSuspendCall) Header() http.Header + type ProvidersService struct + Accounts *ProvidersAccountsService + Entitlements *ProvidersEntitlementsService + func NewProvidersService(s *Service) *ProvidersService + type RejectAccountRequest struct + ApprovalName string + ForceSendFields []string + NullFields []string + Reason string + func (s *RejectAccountRequest) MarshalJSON() ([]byte, error) + type RejectEntitlementPlanChangeRequest struct + ForceSendFields []string + NullFields []string + PendingPlanName string + Reason string + func (s *RejectEntitlementPlanChangeRequest) MarshalJSON() ([]byte, error) + type RejectEntitlementRequest struct + ForceSendFields []string + NullFields []string + Reason string + func (s *RejectEntitlementRequest) MarshalJSON() ([]byte, error) + type ResetAccountRequest struct + type Service struct + BasePath string + Providers *ProvidersService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SuspendEntitlementRequest struct + ForceSendFields []string + NullFields []string + Reason string + func (s *SuspendEntitlementRequest) MarshalJSON() ([]byte, error)