shared

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App added in v1.0.3

type App struct {
	// The appAccountId field.
	AppAccountID *string `json:"appAccountId,omitempty"`
	// The appAccountName field.
	AppAccountName *string `json:"appAccountName,omitempty"`
	// The certifyPolicyId field.
	CertifyPolicyID *string    `json:"certifyPolicyId,omitempty"`
	CreatedAt       *time.Time `json:"createdAt,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	FieldMask   *string `json:"fieldMask,omitempty"`
	// The grantPolicyId field.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The iconUrl field.
	IconURL *string `json:"iconUrl,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The logoUri field.
	LogoURI *string `json:"logoUri,omitempty"`
	// The monthlyCostUsd field.
	MonthlyCostUsd *float64 `json:"monthlyCostUsd,omitempty"`
	// The parentAppId field.
	ParentAppID *string `json:"parentAppId,omitempty"`
	// The revokePolicyId field.
	RevokePolicyID *string    `json:"revokePolicyId,omitempty"`
	UpdatedAt      *time.Time `json:"updatedAt,omitempty"`
	// The userCount field.
	UserCount *string `json:"userCount,omitempty"`
}

App - The App message.

type AppActionsServiceGenerateReportRequest added in v1.0.3

type AppActionsServiceGenerateReportRequest struct {
}

AppActionsServiceGenerateReportRequest - The AppActionsServiceGenerateReportRequest message.

type AppActionsServiceGenerateReportResponse added in v1.0.3

type AppActionsServiceGenerateReportResponse struct {
}

AppActionsServiceGenerateReportResponse - The AppActionsServiceGenerateReportResponse message.

type AppEntitlement added in v1.0.3

type AppEntitlement struct {
	// The alias field.
	Alias *string `json:"alias,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appResourceId field.
	AppResourceID *string `json:"appResourceId,omitempty"`
	// The appResourceTypeId field.
	AppResourceTypeID *string `json:"appResourceTypeId,omitempty"`
	// The certifyPolicyId field.
	CertifyPolicyID *string `json:"certifyPolicyId,omitempty"`
	// The complianceFrameworkValueIds field.
	ComplianceFrameworkValueIds []string   `json:"complianceFrameworkValueIds,omitempty"`
	CreatedAt                   *time.Time `json:"createdAt,omitempty"`
	DeletedAt                   *time.Time `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName   *string                      `json:"displayName,omitempty"`
	DurationGrant *string                      `json:"durationGrant,omitempty"`
	DurationUnset *AppEntitlementDurationUnset `json:"durationUnset,omitempty"`
	// The grantCount field.
	GrantCount *string `json:"grantCount,omitempty"`
	// The grantPolicyId field.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The ProvisionPolicy message.
	//
	// This message contains a oneof named typ. Only a single field of the following list may be set at a time:
	//   - connector
	//   - manual
	//   - delegated
	//
	ProvisionerPolicy *ProvisionPolicy `json:"provisionerPolicy,omitempty"`
	// The revokePolicyId field.
	RevokePolicyID *string `json:"revokePolicyId,omitempty"`
	// The riskLevelValueId field.
	RiskLevelValueID *string `json:"riskLevelValueId,omitempty"`
	// The slug field.
	Slug *string `json:"slug,omitempty"`
	// The systemBuiltin field.
	SystemBuiltin *bool      `json:"systemBuiltin,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
}

AppEntitlement - The AppEntitlement message.

This message contains a oneof named max_grant_duration. Only a single field of the following list may be set at a time:

  • durationUnset
  • durationGrant

type AppEntitlementDurationUnset added in v1.0.3

type AppEntitlementDurationUnset struct {
}

type AppEntitlementExpandMask added in v1.0.3

type AppEntitlementExpandMask struct {
	// The paths field.
	Paths []string `json:"paths,omitempty"`
}

AppEntitlementExpandMask - The AppEntitlementExpandMask message.

type AppEntitlementReference added in v1.0.3

type AppEntitlementReference struct {
	// The appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
}

AppEntitlementReference - The AppEntitlementReference message.

type AppEntitlementUserBinding added in v1.0.3

type AppEntitlementUserBinding struct {
	// The appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID     *string    `json:"appUserId,omitempty"`
	CreatedAt     *time.Time `json:"createdAt,omitempty"`
	DeletedAt     *time.Time `json:"deletedAt,omitempty"`
	DeprovisionAt *time.Time `json:"deprovisionAt,omitempty"`
}

AppEntitlementUserBinding - The AppEntitlementUserBinding message.

type AppEntitlementView added in v1.0.3

type AppEntitlementView struct {
	// The AppEntitlement message.
	//
	// This message contains a oneof named max_grant_duration. Only a single field of the following list may be set at a time:
	//   - durationUnset
	//   - durationGrant
	//
	AppEntitlement *AppEntitlement `json:"appEntitlement,omitempty"`
	// The appPath field.
	AppPath *string `json:"appPath,omitempty"`
	// The appResourcePath field.
	AppResourcePath *string `json:"appResourcePath,omitempty"`
	// The appResourceTypePath field.
	AppResourceTypePath *string `json:"appResourceTypePath,omitempty"`
}

AppEntitlementView - The AppEntitlementView message.

type AppEntitlementWithUserBindings added in v1.0.3

type AppEntitlementWithUserBindings struct {
	// The appEntitlementUserBindings field.
	AppEntitlementUserBindings []AppEntitlementUserBinding `json:"appEntitlementUserBindings,omitempty"`
	// The AppEntitlementView message.
	Entitlement *AppEntitlementView `json:"entitlement,omitempty"`
}

AppEntitlementWithUserBindings - The AppEntitlementWithUserBindings message.

type AppGroupApproval added in v1.0.3

type AppGroupApproval struct {
	// The allowSelfApproval field.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// The appGroupId field.
	AppGroupID *string `json:"appGroupId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The fallback field.
	Fallback *bool `json:"fallback,omitempty"`
	// The fallbackUserIds field.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

AppGroupApproval - The AppGroupApproval message.

type AppOwnerApproval added in v1.0.3

type AppOwnerApproval struct {
	//  App owner is based on the app id and doesn't need to have self-contained data
	//
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
}

AppOwnerApproval - The AppOwnerApproval message.

type AppPopulationReport added in v1.0.3

type AppPopulationReport struct {
	// The appId field.
	AppID     *string    `json:"appId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The downloadUrl field.
	DownloadURL *string `json:"downloadUrl,omitempty"`
	// The hashes field.
	Hashes map[string]string `json:"hashes,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The state field.
	State *AppPopulationReportState `json:"state,omitempty"`
}

AppPopulationReport - The AppPopulationReport message.

type AppPopulationReportState added in v1.0.3

type AppPopulationReportState string

AppPopulationReportState - The state field.

const (
	AppPopulationReportStateReportStateUnspecified AppPopulationReportState = "REPORT_STATE_UNSPECIFIED"
	AppPopulationReportStateReportStatePending     AppPopulationReportState = "REPORT_STATE_PENDING"
	AppPopulationReportStateReportStateOk          AppPopulationReportState = "REPORT_STATE_OK"
	AppPopulationReportStateReportStateError       AppPopulationReportState = "REPORT_STATE_ERROR"
)

func (AppPopulationReportState) ToPointer added in v1.0.3

func (*AppPopulationReportState) UnmarshalJSON added in v1.0.3

func (e *AppPopulationReportState) UnmarshalJSON(data []byte) error

type AppReportServiceListResponse added in v1.0.3

type AppReportServiceListResponse struct {
	// The list field.
	List []AppPopulationReport `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

AppReportServiceListResponse - The AppReportServiceListResponse message.

type AppResource added in v1.0.3

type AppResource struct {
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appResourceTypeId field.
	AppResourceTypeID *string    `json:"appResourceTypeId,omitempty"`
	CreatedAt         *time.Time `json:"createdAt,omitempty"`
	// The customDescription field.
	CustomDescription *string    `json:"customDescription,omitempty"`
	DeletedAt         *time.Time `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The grantCount field.
	GrantCount *string `json:"grantCount,omitempty"`
	// The id field.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

AppResource - The AppResource message.

type AppResourceServiceGetResponse added in v1.0.3

type AppResourceServiceGetResponse struct {
	// The AppResourceView message.
	AppResourceView *AppResourceView `json:"appResourceView,omitempty"`
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
}

AppResourceServiceGetResponse - The AppResourceServiceGetResponse message.

type AppResourceServiceListResponse added in v1.0.3

type AppResourceServiceListResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The list field.
	List []AppResourceView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

AppResourceServiceListResponse - The AppResourceServiceListResponse message.

type AppResourceType added in v1.0.3

type AppResourceType struct {
	// The appId field.
	AppID     *string    `json:"appId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The id field.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

AppResourceType - The AppResourceType message.

type AppResourceTypeServiceGetResponse added in v1.0.3

type AppResourceTypeServiceGetResponse struct {
	// The AppResourceTypeView message.
	AppResourceTypeView *AppResourceTypeView `json:"appResourceTypeView,omitempty"`
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
}

AppResourceTypeServiceGetResponse - The AppResourceTypeServiceGetResponse message.

type AppResourceTypeView added in v1.0.3

type AppResourceTypeView struct {
	// The appPath field.
	AppPath *string `json:"appPath,omitempty"`
	// The AppResourceType message.
	AppResourceType *AppResourceType `json:"appResourceType,omitempty"`
}

AppResourceTypeView - The AppResourceTypeView message.

type AppResourceView added in v1.0.3

type AppResourceView struct {
	// The appPath field.
	AppPath *string `json:"appPath,omitempty"`
	// The AppResource message.
	AppResource *AppResource `json:"appResource,omitempty"`
	// The resourceTypePath field.
	ResourceTypePath *string `json:"resourceTypePath,omitempty"`
}

AppResourceView - The AppResourceView message.

type AppUsageControls added in v1.0.3

type AppUsageControls struct {
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The notify field.
	Notify *bool `json:"notify,omitempty"`
	// The notifyAfterDays field.
	NotifyAfterDays *float64 `json:"notifyAfterDays,omitempty"`
	// The revoke field.
	Revoke *bool `json:"revoke,omitempty"`
	// The revokeAfterDays field.
	RevokeAfterDays *float64 `json:"revokeAfterDays,omitempty"`
}

AppUsageControls - The AppUsageControls message.

type Approval added in v1.0.3

type Approval struct {
	// The allowReassignment field.
	AllowReassignment *bool `json:"allowReassignment,omitempty"`
	// The AppOwnerApproval message.
	AppOwners *AppOwnerApproval `json:"appOwners,omitempty"`
	// The assigned field.
	Assigned *bool `json:"assigned,omitempty"`
	// The EntitlementOwnerApproval message.
	EntitlementOwners *EntitlementOwnerApproval `json:"entitlementOwners,omitempty"`
	// The AppGroupApproval message.
	Group *AppGroupApproval `json:"group,omitempty"`
	// The ManagerApproval message.
	Manager *ManagerApproval `json:"manager,omitempty"`
	// The requireApprovalReason field.
	RequireApprovalReason *bool `json:"requireApprovalReason,omitempty"`
	// The requireReassignmentReason field.
	RequireReassignmentReason *bool `json:"requireReassignmentReason,omitempty"`
	// The SelfApproval message.
	Self *SelfApproval `json:"self,omitempty"`
	// The UserApproval message.
	Users *UserApproval `json:"users,omitempty"`
}

Approval - The Approval message.

This message contains a oneof named typ. Only a single field of the following list may be set at a time:

  • users
  • manager
  • appOwners
  • group
  • self
  • entitlementOwners

type ApprovalInstance added in v1.0.3

type ApprovalInstance struct {
	// The Approval message.
	//
	// This message contains a oneof named typ. Only a single field of the following list may be set at a time:
	//   - users
	//   - manager
	//   - appOwners
	//   - group
	//   - self
	//   - entitlementOwners
	//
	Approval *Approval `json:"approval,omitempty"`
	// The ApprovedAction message.
	Approved *ApprovedAction `json:"approved,omitempty"`
	// The DeniedAction message.
	Denied *DeniedAction `json:"denied,omitempty"`
	// The ReassignedAction message.
	Reassigned *ReassignedAction `json:"reassigned,omitempty"`
	// The ReassignedByErrorAction message.
	ReassignedByError *ReassignedByErrorAction `json:"reassignedByError,omitempty"`
	// The RestartAction message.
	Restarted *RestartAction `json:"restarted,omitempty"`
	// The state field.
	State *ApprovalInstanceState `json:"state,omitempty"`
}

ApprovalInstance - The ApprovalInstance message.

This message contains a oneof named outcome. Only a single field of the following list may be set at a time:

  • approved
  • denied
  • reassigned
  • restarted
  • reassignedByError

type ApprovalInstanceState added in v1.0.3

type ApprovalInstanceState string

ApprovalInstanceState - The state field.

const (
	ApprovalInstanceStateApprovalInstanceStateUnspecified          ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_UNSPECIFIED"
	ApprovalInstanceStateApprovalInstanceStateInit                 ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_INIT"
	ApprovalInstanceStateApprovalInstanceStateSendingNotifications ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_SENDING_NOTIFICATIONS"
	ApprovalInstanceStateApprovalInstanceStateWaiting              ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_WAITING"
	ApprovalInstanceStateApprovalInstanceStateDone                 ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_DONE"
)

func (ApprovalInstanceState) ToPointer added in v1.0.3

func (*ApprovalInstanceState) UnmarshalJSON added in v1.0.3

func (e *ApprovalInstanceState) UnmarshalJSON(data []byte) error

type ApprovedAction added in v1.0.3

type ApprovedAction struct {
	ApprovedAt *time.Time `json:"approvedAt,omitempty"`
	// The entitlements field.
	Entitlements []AppEntitlementReference `json:"entitlements,omitempty"`
	// The userId field.
	UserID *string `json:"userId,omitempty"`
}

ApprovedAction - The ApprovedAction message.

type CancelledAction added in v1.0.3

type CancelledAction struct {
	CancelledAt *time.Time `json:"cancelledAt,omitempty"`
	// The cancelledByUserId field.
	CancelledByUserID *string `json:"cancelledByUserId,omitempty"`
}

CancelledAction - The CancelledAction message.

type CompletedAction added in v1.0.3

type CompletedAction struct {
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// The entitlements field.
	Entitlements []AppEntitlementReference `json:"entitlements,omitempty"`
	// The userId field.
	UserID *string `json:"userId,omitempty"`
}

CompletedAction - The CompletedAction message.

type ConnectorProvision added in v1.0.3

type ConnectorProvision struct {
}

ConnectorProvision - The ConnectorProvision message.

type CreatePolicyRequest added in v1.0.3

type CreatePolicyRequest struct {
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The policyType field.
	PolicyType *CreatePolicyRequestPolicyType `json:"policyType,omitempty"`
}

CreatePolicyRequest - The CreatePolicyRequest message.

type CreatePolicyRequestPolicyType added in v1.0.3

type CreatePolicyRequestPolicyType string

CreatePolicyRequestPolicyType - The policyType field.

const (
	CreatePolicyRequestPolicyTypePolicyTypeUnspecified   CreatePolicyRequestPolicyType = "POLICY_TYPE_UNSPECIFIED"
	CreatePolicyRequestPolicyTypePolicyTypeGrant         CreatePolicyRequestPolicyType = "POLICY_TYPE_GRANT"
	CreatePolicyRequestPolicyTypePolicyTypeRevoke        CreatePolicyRequestPolicyType = "POLICY_TYPE_REVOKE"
	CreatePolicyRequestPolicyTypePolicyTypeCertify       CreatePolicyRequestPolicyType = "POLICY_TYPE_CERTIFY"
	CreatePolicyRequestPolicyTypePolicyTypeAccessRequest CreatePolicyRequestPolicyType = "POLICY_TYPE_ACCESS_REQUEST"
	CreatePolicyRequestPolicyTypePolicyTypeProvision     CreatePolicyRequestPolicyType = "POLICY_TYPE_PROVISION"
)

func (CreatePolicyRequestPolicyType) ToPointer added in v1.0.3

func (*CreatePolicyRequestPolicyType) UnmarshalJSON added in v1.0.3

func (e *CreatePolicyRequestPolicyType) UnmarshalJSON(data []byte) error

type DelegatedProvision added in v1.0.3

type DelegatedProvision struct {
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The entitlementId field.
	EntitlementID *string `json:"entitlementId,omitempty"`
}

DelegatedProvision - The DelegatedProvision message.

type DeletePolicyRequest added in v1.0.3

type DeletePolicyRequest struct {
}

DeletePolicyRequest - The DeletePolicyRequest message.

type DeletePolicyResponse added in v1.0.3

type DeletePolicyResponse struct {
}

DeletePolicyResponse - The DeletePolicyResponse message.

type DeniedAction added in v1.0.3

type DeniedAction struct {
	DeniedAt *time.Time `json:"deniedAt,omitempty"`
	// The userId field.
	UserID *string `json:"userId,omitempty"`
}

DeniedAction - The DeniedAction message.

type Directory added in v1.0.3

type Directory struct {
	// The appId field.
	AppID     *string    `json:"appId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Directory - The Directory message.

type DirectoryExpandMask added in v1.0.3

type DirectoryExpandMask struct {
	// The paths field.
	Paths []string `json:"paths,omitempty"`
}

DirectoryExpandMask - The DirectoryExpandMask message.

type DirectoryServiceCreateRequest added in v1.0.3

type DirectoryServiceCreateRequest struct {
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The DirectoryExpandMask message.
	ExpandMask *DirectoryExpandMask `json:"expandMask,omitempty"`
}

DirectoryServiceCreateRequest - The DirectoryServiceCreateRequest message.

type DirectoryServiceCreateResponse added in v1.0.3

type DirectoryServiceCreateResponse struct {
	// The DirectoryView message.
	DirectoryView *DirectoryView `json:"directoryView,omitempty"`
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
}

DirectoryServiceCreateResponse - The DirectoryServiceCreateResponse message.

type DirectoryServiceDeleteRequest added in v1.0.3

type DirectoryServiceDeleteRequest struct {
}

DirectoryServiceDeleteRequest - The DirectoryServiceDeleteRequest message.

type DirectoryServiceDeleteResponse added in v1.0.3

type DirectoryServiceDeleteResponse struct {
}

DirectoryServiceDeleteResponse - The DirectoryServiceDeleteResponse message.

type DirectoryServiceGetResponse added in v1.0.3

type DirectoryServiceGetResponse struct {
	// The DirectoryView message.
	DirectoryView *DirectoryView `json:"directoryView,omitempty"`
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
}

DirectoryServiceGetResponse - The DirectoryServiceGetResponse message.

type DirectoryServiceListResponse added in v1.0.3

type DirectoryServiceListResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The list field.
	List []DirectoryView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

DirectoryServiceListResponse - The DirectoryServiceListResponse message.

type DirectoryView added in v1.0.3

type DirectoryView struct {
	// The appPath field.
	AppPath *string `json:"appPath,omitempty"`
	// The Directory message.
	Directory *Directory `json:"directory,omitempty"`
}

DirectoryView - The DirectoryView message.

type EntitlementOwnerApproval added in v1.0.3

type EntitlementOwnerApproval struct {
	//  Entitlement owner is based on the current entitlement's id and doesn't need to have self-contained data
	//
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// The fallback field.
	Fallback *bool `json:"fallback,omitempty"`
	// The fallbackUserIds field.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

EntitlementOwnerApproval - The EntitlementOwnerApproval message.

type ErroredAction added in v1.0.3

type ErroredAction struct {
	// The description field.
	Description *string `json:"description,omitempty"`
	// The errorCode field.
	ErrorCode *string    `json:"errorCode,omitempty"`
	ErroredAt *time.Time `json:"erroredAt,omitempty"`
}

ErroredAction - The ErroredAction message.

type ExternalRef added in v1.0.3

type ExternalRef struct {
	// The externalRefSource field.
	ExternalRefSource *ExternalRefExternalRefSource `json:"externalRefSource,omitempty"`
	// The name field.
	Name *string `json:"name,omitempty"`
	// The url field.
	URL *string `json:"url,omitempty"`
}

ExternalRef - The ExternalRef message.

type ExternalRefExternalRefSource added in v1.0.3

type ExternalRefExternalRefSource string

ExternalRefExternalRefSource - The externalRefSource field.

const (
	ExternalRefExternalRefSourceUnspecified ExternalRefExternalRefSource = "UNSPECIFIED"
	ExternalRefExternalRefSourceJira        ExternalRefExternalRefSource = "JIRA"
)

func (ExternalRefExternalRefSource) ToPointer added in v1.0.3

func (*ExternalRefExternalRefSource) UnmarshalJSON added in v1.0.3

func (e *ExternalRefExternalRefSource) UnmarshalJSON(data []byte) error

type GetAppEntitlementResponse added in v1.0.3

type GetAppEntitlementResponse struct {
	// The AppEntitlementView message.
	AppEntitlementView *AppEntitlementView `json:"appEntitlementView,omitempty"`
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
}

GetAppEntitlementResponse - The GetAppEntitlementResponse message.

type GetAppResponse added in v1.0.3

type GetAppResponse struct {
	// The App message.
	App *App `json:"app,omitempty"`
}

GetAppResponse - The GetAppResponse message.

type GetAppUsageControlsResponse added in v1.0.3

type GetAppUsageControlsResponse struct {
	// The AppUsageControls message.
	AppUsageControls *AppUsageControls `json:"appUsageControls,omitempty"`
	// The hasUsageData field.
	HasUsageData *bool `json:"hasUsageData,omitempty"`
}

GetAppUsageControlsResponse - The GetAppUsageControlsResponse message.

type IntrospectResponse added in v1.0.3

type IntrospectResponse struct {
	// The features field.
	Features []string `json:"features,omitempty"`
	// The permissions field.
	Permissions []string `json:"permissions,omitempty"`
	// The principleId field.
	PrincipleID *string `json:"principleId,omitempty"`
	// The roles field.
	Roles []string `json:"roles,omitempty"`
	// The userId field.
	UserID *string `json:"userId,omitempty"`
}

IntrospectResponse - The IntrospectResponse message.

type ListAppUsersForIdentityWithGrantResponse added in v1.0.3

type ListAppUsersForIdentityWithGrantResponse struct {
	// The bindings field.
	Bindings []AppEntitlementUserBinding `json:"bindings,omitempty"`
}

ListAppUsersForIdentityWithGrantResponse - The ListAppUsersForIdentityWithGrantResponse message.

type ListAppsResponse added in v1.0.3

type ListAppsResponse struct {
	// The list field.
	List []App `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

ListAppsResponse - The ListAppsResponse message.

type ListPolicyResponse added in v1.0.3

type ListPolicyResponse struct {
	// The list field.
	List []Policy `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

ListPolicyResponse - The ListPolicyResponse message.

type ListRolesResponse added in v1.0.3

type ListRolesResponse struct {
	// The list field.
	List []Role `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

ListRolesResponse - The ListRolesResponse message.

type ManagerApproval added in v1.0.3

type ManagerApproval struct {
	// The allowSelfApproval field.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// The assignedUserIds field.
	AssignedUserIds []string `json:"assignedUserIds,omitempty"`
	// The fallback field.
	Fallback *bool `json:"fallback,omitempty"`
	// The fallbackUserIds field.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

ManagerApproval - The ManagerApproval message.

type ManualProvision added in v1.0.3

type ManualProvision struct {
	// The instructions field.
	Instructions *string `json:"instructions,omitempty"`
	// The userIds field.
	UserIds []string `json:"userIds,omitempty"`
}

ManualProvision - The ManualProvision message.

type Policy added in v1.0.3

type Policy struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	//  Properties
	//
	ID *string `json:"id,omitempty"`
	// The policySteps field.
	PolicySteps map[string]PolicySteps `json:"policySteps,omitempty"`
	// The policyType field.
	PolicyType *PolicyPolicyType `json:"policyType,omitempty"`
	// The postActions field.
	PostActions []PolicyPostActions `json:"postActions,omitempty"`
	// The reassignTasksToDelegates field.
	ReassignTasksToDelegates *bool `json:"reassignTasksToDelegates,omitempty"`
	// The systemBuiltin field.
	SystemBuiltin *bool      `json:"systemBuiltin,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
}

Policy - The Policy message.

type PolicyInstance added in v1.0.3

type PolicyInstance struct {
	// The PolicyStepInstance message.
	//
	// This message contains a oneof named instance. Only a single field of the following list may be set at a time:
	//   - approval
	//   - provision
	//
	Current *PolicyStepInstance `json:"current,omitempty"`
	// The history field.
	History []PolicyStepInstance `json:"history,omitempty"`
	// The next field.
	Next []PolicyStep `json:"next,omitempty"`
	// The Policy message.
	Policy *Policy `json:"policy,omitempty"`
}

PolicyInstance - The PolicyInstance message.

type PolicyPolicyType added in v1.0.3

type PolicyPolicyType string

PolicyPolicyType - The policyType field.

const (
	PolicyPolicyTypePolicyTypeUnspecified   PolicyPolicyType = "POLICY_TYPE_UNSPECIFIED"
	PolicyPolicyTypePolicyTypeGrant         PolicyPolicyType = "POLICY_TYPE_GRANT"
	PolicyPolicyTypePolicyTypeRevoke        PolicyPolicyType = "POLICY_TYPE_REVOKE"
	PolicyPolicyTypePolicyTypeCertify       PolicyPolicyType = "POLICY_TYPE_CERTIFY"
	PolicyPolicyTypePolicyTypeAccessRequest PolicyPolicyType = "POLICY_TYPE_ACCESS_REQUEST"
	PolicyPolicyTypePolicyTypeProvision     PolicyPolicyType = "POLICY_TYPE_PROVISION"
)

func (PolicyPolicyType) ToPointer added in v1.0.3

func (e PolicyPolicyType) ToPointer() *PolicyPolicyType

func (*PolicyPolicyType) UnmarshalJSON added in v1.0.3

func (e *PolicyPolicyType) UnmarshalJSON(data []byte) error

type PolicyPostActions added in v1.0.3

type PolicyPostActions struct {
	//  ONLY valid when used in a CERTIFY Ticket Type:
	//  Causes any deprovision or change in a grant to be applied when Certify Ticket is closed.
	//
	// This field is part of the `action` oneof.
	// See the documentation for `c1.api.policy.v1.PolicyPostActions` for more details.
	CertifyRemediateImmediately *bool `json:"certifyRemediateImmediately,omitempty"`
}

PolicyPostActions - The PolicyPostActions message.

This message contains a oneof named action. Only a single field of the following list may be set at a time:

  • certifyRemediateImmediately

type PolicyStep added in v1.0.3

type PolicyStep struct {
	// The Approval message.
	//
	// This message contains a oneof named typ. Only a single field of the following list may be set at a time:
	//   - users
	//   - manager
	//   - appOwners
	//   - group
	//   - self
	//   - entitlementOwners
	//
	Approval *Approval `json:"approval,omitempty"`
	// The Provision message.
	Provision *Provision `json:"provision,omitempty"`
}

PolicyStep - The PolicyStep message.

This message contains a oneof named step. Only a single field of the following list may be set at a time:

  • approval
  • provision

type PolicyStepInstance added in v1.0.3

type PolicyStepInstance struct {
	// The ApprovalInstance message.
	//
	// This message contains a oneof named outcome. Only a single field of the following list may be set at a time:
	//   - approved
	//   - denied
	//   - reassigned
	//   - restarted
	//   - reassignedByError
	//
	Approval *ApprovalInstance `json:"approval,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The ProvisionInstance message.
	//
	// This message contains a oneof named outcome. Only a single field of the following list may be set at a time:
	//   - completed
	//   - cancelled
	//   - errored
	//   - reassignedByError
	//
	Provision *ProvisionInstance `json:"provision,omitempty"`
	// The state field.
	State *PolicyStepInstanceState `json:"state,omitempty"`
}

PolicyStepInstance - The PolicyStepInstance message.

This message contains a oneof named instance. Only a single field of the following list may be set at a time:

  • approval
  • provision

type PolicyStepInstanceState added in v1.0.3

type PolicyStepInstanceState string

PolicyStepInstanceState - The state field.

const (
	PolicyStepInstanceStatePolicyStepStateUnspecified PolicyStepInstanceState = "POLICY_STEP_STATE_UNSPECIFIED"
	PolicyStepInstanceStatePolicyStepStateActive      PolicyStepInstanceState = "POLICY_STEP_STATE_ACTIVE"
	PolicyStepInstanceStatePolicyStepStateDone        PolicyStepInstanceState = "POLICY_STEP_STATE_DONE"
)

func (PolicyStepInstanceState) ToPointer added in v1.0.3

func (*PolicyStepInstanceState) UnmarshalJSON added in v1.0.3

func (e *PolicyStepInstanceState) UnmarshalJSON(data []byte) error

type PolicySteps added in v1.0.3

type PolicySteps struct {
	// The steps field.
	Steps []PolicyStep `json:"steps,omitempty"`
}

PolicySteps - The PolicySteps message.

type Provision added in v1.0.3

type Provision struct {
	// The assigned field.
	Assigned *bool `json:"assigned,omitempty"`
	// The ProvisionPolicy message.
	//
	// This message contains a oneof named typ. Only a single field of the following list may be set at a time:
	//   - connector
	//   - manual
	//   - delegated
	//
	ProvisionPolicy *ProvisionPolicy `json:"provisionPolicy,omitempty"`
}

Provision - The Provision message.

type ProvisionInstance added in v1.0.3

type ProvisionInstance struct {
	// The CancelledAction message.
	Cancelled *CancelledAction `json:"cancelled,omitempty"`
	// The CompletedAction message.
	Completed *CompletedAction `json:"completed,omitempty"`
	// The ErroredAction message.
	Errored *ErroredAction `json:"errored,omitempty"`
	// The notificationId field.
	NotificationID *string `json:"notificationId,omitempty"`
	// The Provision message.
	Provision *Provision `json:"provision,omitempty"`
	// The ReassignedByErrorAction message.
	ReassignedByError *ReassignedByErrorAction `json:"reassignedByError,omitempty"`
	// The state field.
	State *ProvisionInstanceState `json:"state,omitempty"`
}

ProvisionInstance - The ProvisionInstance message.

This message contains a oneof named outcome. Only a single field of the following list may be set at a time:

  • completed
  • cancelled
  • errored
  • reassignedByError

type ProvisionInstanceState added in v1.0.3

type ProvisionInstanceState string

ProvisionInstanceState - The state field.

const (
	ProvisionInstanceStateProvisionInstanceStateUnspecified                     ProvisionInstanceState = "PROVISION_INSTANCE_STATE_UNSPECIFIED"
	ProvisionInstanceStateProvisionInstanceStateInit                            ProvisionInstanceState = "PROVISION_INSTANCE_STATE_INIT"
	ProvisionInstanceStateProvisionInstanceStateCreateConnectorActionsForTarget ProvisionInstanceState = "PROVISION_INSTANCE_STATE_CREATE_CONNECTOR_ACTIONS_FOR_TARGET"
	ProvisionInstanceStateProvisionInstanceStateSendingNotifications            ProvisionInstanceState = "PROVISION_INSTANCE_STATE_SENDING_NOTIFICATIONS"
	ProvisionInstanceStateProvisionInstanceStateWaiting                         ProvisionInstanceState = "PROVISION_INSTANCE_STATE_WAITING"
	ProvisionInstanceStateProvisionInstanceStateDone                            ProvisionInstanceState = "PROVISION_INSTANCE_STATE_DONE"
)

func (ProvisionInstanceState) ToPointer added in v1.0.3

func (*ProvisionInstanceState) UnmarshalJSON added in v1.0.3

func (e *ProvisionInstanceState) UnmarshalJSON(data []byte) error

type ProvisionPolicy added in v1.0.3

type ProvisionPolicy struct {
	// The ConnectorProvision message.
	Connector *ConnectorProvision `json:"connector,omitempty"`
	// The DelegatedProvision message.
	Delegated *DelegatedProvision `json:"delegated,omitempty"`
	// The ManualProvision message.
	Manual *ManualProvision `json:"manual,omitempty"`
}

ProvisionPolicy - The ProvisionPolicy message.

This message contains a oneof named typ. Only a single field of the following list may be set at a time:

  • connector
  • manual
  • delegated

type ReassignedAction added in v1.0.3

type ReassignedAction struct {
	// The newPolicyStepId field.
	NewPolicyStepID *string    `json:"newPolicyStepId,omitempty"`
	ReassignedAt    *time.Time `json:"reassignedAt,omitempty"`
	// The userId field.
	UserID *string `json:"userId,omitempty"`
}

ReassignedAction - The ReassignedAction message.

type ReassignedByErrorAction added in v1.0.3

type ReassignedByErrorAction struct {
	// The description field.
	Description *string `json:"description,omitempty"`
	// The errorCode field.
	ErrorCode *string `json:"errorCode,omitempty"`
	// The errorUserId field.
	ErrorUserID *string    `json:"errorUserId,omitempty"`
	ErroredAt   *time.Time `json:"erroredAt,omitempty"`
	// The newPolicyStepId field.
	NewPolicyStepID *string    `json:"newPolicyStepId,omitempty"`
	ReassignedAt    *time.Time `json:"reassignedAt,omitempty"`
}

ReassignedByErrorAction - The ReassignedByErrorAction message.

type RequestCatalogSearchServiceSearchEntitlementsRequest added in v1.0.3

type RequestCatalogSearchServiceSearchEntitlementsRequest struct {
	// The entitlementAlias field.
	EntitlementAlias *string `json:"entitlementAlias,omitempty"`
	// The AppEntitlementExpandMask message.
	ExpandMask *AppEntitlementExpandMask `json:"expandMask,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
}

RequestCatalogSearchServiceSearchEntitlementsRequest - The RequestCatalogSearchServiceSearchEntitlementsRequest message.

type RequestCatalogSearchServiceSearchEntitlementsResponse added in v1.0.3

type RequestCatalogSearchServiceSearchEntitlementsResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The list field.
	List []AppEntitlementWithUserBindings `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

RequestCatalogSearchServiceSearchEntitlementsResponse - The RequestCatalogSearchServiceSearchEntitlementsResponse message.

type RestartAction added in v1.0.3

type RestartAction struct {
	// The oldPolicyStepId field.
	OldPolicyStepID *string    `json:"oldPolicyStepId,omitempty"`
	RestartedAt     *time.Time `json:"restartedAt,omitempty"`
	// The userId field.
	UserID *string `json:"userId,omitempty"`
}

RestartAction - The RestartAction message.

type Role added in v1.0.3

type Role struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The name field.
	Name *string `json:"name,omitempty"`
	// The permissions field.
	Permissions []string `json:"permissions,omitempty"`
	// The serviceRoles field.
	ServiceRoles []string `json:"serviceRoles,omitempty"`
	// The systemBuiltin field.
	SystemBuiltin *bool      `json:"systemBuiltin,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
}

Role - The Role message.

type SearchAppResourceTypesRequest added in v1.0.3

type SearchAppResourceTypesRequest struct {
	// The appIds field.
	AppIds []string `json:"appIds,omitempty"`
	// The excludeResourceTypeIds field.
	ExcludeResourceTypeIds []string `json:"excludeResourceTypeIds,omitempty"`
	// The excludeResourceTypeTraitIds field.
	ExcludeResourceTypeTraitIds []string `json:"excludeResourceTypeTraitIds,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
	// The resourceTypeIds field.
	ResourceTypeIds []string `json:"resourceTypeIds,omitempty"`
	// The resourceTypeTraitIds field.
	ResourceTypeTraitIds []string `json:"resourceTypeTraitIds,omitempty"`
}

SearchAppResourceTypesRequest - The SearchAppResourceTypesRequest message.

type SearchAppResourceTypesResponse added in v1.0.3

type SearchAppResourceTypesResponse struct {
	// The list field.
	List []AppResourceType `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

SearchAppResourceTypesResponse - The SearchAppResourceTypesResponse message.

type SearchAppsRequest added in v1.0.3

type SearchAppsRequest struct {
	// The appIds field.
	AppIds []string `json:"appIds,omitempty"`
	// The excludeAppIds field.
	ExcludeAppIds []string `json:"excludeAppIds,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
}

SearchAppsRequest - The SearchAppsRequest message.

type SearchAppsResponse added in v1.0.3

type SearchAppsResponse struct {
	// The list field.
	List []App `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

SearchAppsResponse - The SearchAppsResponse message.

type SearchUsersRequest added in v1.0.3

type SearchUsersRequest struct {
	// The excludeIds field.
	ExcludeIds []string `json:"excludeIds,omitempty"`
	// The UserExpandMask message.
	ExpandMask *UserExpandMask `json:"expandMask,omitempty"`
	// The ids field.
	Ids []string `json:"ids,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
	// The refs field.
	Refs []UserRef `json:"refs,omitempty"`
	// The roleIds field.
	RoleIds []string `json:"roleIds,omitempty"`
	// The userStatuses field.
	UserStatuses []SearchUsersRequestUserStatuses `json:"userStatuses,omitempty"`
}

SearchUsersRequest - The SearchUsersRequest message.

type SearchUsersRequestUserStatuses added in v1.0.3

type SearchUsersRequestUserStatuses string
const (
	SearchUsersRequestUserStatusesUnknown  SearchUsersRequestUserStatuses = "UNKNOWN"
	SearchUsersRequestUserStatusesEnabled  SearchUsersRequestUserStatuses = "ENABLED"
	SearchUsersRequestUserStatusesDisabled SearchUsersRequestUserStatuses = "DISABLED"
	SearchUsersRequestUserStatusesDeleted  SearchUsersRequestUserStatuses = "DELETED"
)

func (SearchUsersRequestUserStatuses) ToPointer added in v1.0.3

func (*SearchUsersRequestUserStatuses) UnmarshalJSON added in v1.0.3

func (e *SearchUsersRequestUserStatuses) UnmarshalJSON(data []byte) error

type SearchUsersResponse added in v1.0.3

type SearchUsersResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The list field.
	List []UserView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

SearchUsersResponse - The SearchUsersResponse message.

type SelfApproval added in v1.0.3

type SelfApproval struct {
	// The assignedUserIds field.
	AssignedUserIds []string `json:"assignedUserIds,omitempty"`
	// The fallback field.
	Fallback *bool `json:"fallback,omitempty"`
	//  Self approval is the target of the ticket
	//
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

SelfApproval - The SelfApproval message.

type Task added in v1.0.3

type Task struct {
	// The actions field.
	Actions []TaskActions `json:"actions,omitempty"`
	// The analysisId field.
	AnalysisID *string `json:"analysisId,omitempty"`
	// The annotations field.
	Annotations []map[string]interface{} `json:"annotations,omitempty"`
	// The commentCount field.
	CommentCount *float64   `json:"commentCount,omitempty"`
	CreatedAt    *time.Time `json:"createdAt,omitempty"`
	// The createdByUserId field.
	CreatedByUserID *string    `json:"createdByUserId,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The externalRefs field.
	ExternalRefs []ExternalRef `json:"externalRefs,omitempty"`
	//  General Metadata
	//
	ID *string `json:"id,omitempty"`
	// The numericId field.
	NumericID *string `json:"numericId,omitempty"`
	// The PolicyInstance message.
	Policy *PolicyInstance `json:"policy,omitempty"`
	// The processing field.
	Processing *TaskProcessing `json:"processing,omitempty"`
	//  State
	//
	State *TaskState `json:"state,omitempty"`
	// The stepApproverIds field.
	StepApproverIds []string `json:"stepApproverIds,omitempty"`
	// The TaskType message.
	//
	// This message contains a oneof named task_type. Only a single field of the following list may be set at a time:
	//   - grant
	//   - revoke
	//   - certify
	//
	Type      *TaskType  `json:"type,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	//  External IDS
	//
	UserID *string `json:"userId,omitempty"`
}

Task - The Task message.

type TaskActions added in v1.0.3

type TaskActions string
const (
	TaskActionsTaskActionTypeUnspecified                   TaskActions = "TASK_ACTION_TYPE_UNSPECIFIED"
	TaskActionsTaskActionTypeClose                         TaskActions = "TASK_ACTION_TYPE_CLOSE"
	TaskActionsTaskActionTypeApprove                       TaskActions = "TASK_ACTION_TYPE_APPROVE"
	TaskActionsTaskActionTypeDeny                          TaskActions = "TASK_ACTION_TYPE_DENY"
	TaskActionsTaskActionTypeComment                       TaskActions = "TASK_ACTION_TYPE_COMMENT"
	TaskActionsTaskActionTypeDelete                        TaskActions = "TASK_ACTION_TYPE_DELETE"
	TaskActionsTaskActionTypeReassign                      TaskActions = "TASK_ACTION_TYPE_REASSIGN"
	TaskActionsTaskActionTypeRestart                       TaskActions = "TASK_ACTION_TYPE_RESTART"
	TaskActionsTaskActionTypeSendReminder                  TaskActions = "TASK_ACTION_TYPE_SEND_REMINDER"
	TaskActionsTaskActionTypeProvisionComplete             TaskActions = "TASK_ACTION_TYPE_PROVISION_COMPLETE"
	TaskActionsTaskActionTypeProvisionCancelled            TaskActions = "TASK_ACTION_TYPE_PROVISION_CANCELLED"
	TaskActionsTaskActionTypeProvisionErrored              TaskActions = "TASK_ACTION_TYPE_PROVISION_ERRORED"
	TaskActionsTaskActionTypeProvisionAppUserTargetCreated TaskActions = "TASK_ACTION_TYPE_PROVISION_APP_USER_TARGET_CREATED"
	TaskActionsTaskActionTypeRollbackSkipped               TaskActions = "TASK_ACTION_TYPE_ROLLBACK_SKIPPED"
	TaskActionsTaskActionTypeHardReset                     TaskActions = "TASK_ACTION_TYPE_HARD_RESET"
)

func (TaskActions) ToPointer added in v1.0.3

func (e TaskActions) ToPointer() *TaskActions

func (*TaskActions) UnmarshalJSON added in v1.0.3

func (e *TaskActions) UnmarshalJSON(data []byte) error

type TaskActionsServiceApproveRequest added in v1.0.3

type TaskActionsServiceApproveRequest struct {
	// The comment field.
	Comment *string `json:"comment,omitempty"`
	//  Make sure to update the TicketExpandMask
	//
	ExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The policyStepId field.
	PolicyStepID *string `json:"policyStepId,omitempty"`
}

TaskActionsServiceApproveRequest - The TaskActionsServiceApproveRequest message.

type TaskActionsServiceApproveResponse added in v1.0.3

type TaskActionsServiceApproveResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The TaskView message.
	TaskView *TaskView `json:"taskView,omitempty"`
}

TaskActionsServiceApproveResponse - The TaskActionsServiceApproveResponse message.

type TaskActionsServiceCommentRequest added in v1.0.3

type TaskActionsServiceCommentRequest struct {
	// The comment field.
	Comment *string `json:"comment,omitempty"`
	//  Make sure to update the TicketExpandMask
	//
	ExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
}

TaskActionsServiceCommentRequest - The TaskActionsServiceCommentRequest message.

type TaskActionsServiceCommentResponse added in v1.0.3

type TaskActionsServiceCommentResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The TaskView message.
	TaskView *TaskView `json:"taskView,omitempty"`
}

TaskActionsServiceCommentResponse - The TaskActionsServiceCommentResponse message.

type TaskActionsServiceDenyRequest added in v1.0.3

type TaskActionsServiceDenyRequest struct {
	// The comment field.
	Comment *string `json:"comment,omitempty"`
	//  Make sure to update the TicketExpandMask
	//
	ExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The policyStepId field.
	PolicyStepID *string `json:"policyStepId,omitempty"`
}

TaskActionsServiceDenyRequest - The TaskActionsServiceDenyRequest message.

type TaskActionsServiceDenyResponse added in v1.0.3

type TaskActionsServiceDenyResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The TaskView message.
	TaskView *TaskView `json:"taskView,omitempty"`
}

TaskActionsServiceDenyResponse - The TaskActionsServiceDenyResponse message.

type TaskExpandMask added in v1.0.3

type TaskExpandMask struct {
	// The paths field.
	Paths []string `json:"paths,omitempty"`
}

TaskExpandMask - Make sure to update the TicketExpandMask

type TaskProcessing added in v1.0.3

type TaskProcessing string

TaskProcessing - The processing field.

const (
	TaskProcessingTaskProcessingTypeUnspecified TaskProcessing = "TASK_PROCESSING_TYPE_UNSPECIFIED"
	TaskProcessingTaskProcessingTypeProcessing  TaskProcessing = "TASK_PROCESSING_TYPE_PROCESSING"
	TaskProcessingTaskProcessingTypeWaiting     TaskProcessing = "TASK_PROCESSING_TYPE_WAITING"
	TaskProcessingTaskProcessingTypeDone        TaskProcessing = "TASK_PROCESSING_TYPE_DONE"
)

func (TaskProcessing) ToPointer added in v1.0.3

func (e TaskProcessing) ToPointer() *TaskProcessing

func (*TaskProcessing) UnmarshalJSON added in v1.0.3

func (e *TaskProcessing) UnmarshalJSON(data []byte) error

type TaskRef added in v1.0.3

type TaskRef struct {
	// The id field.
	ID *string `json:"id,omitempty"`
}

TaskRef - The TaskRef message.

type TaskRevokeSource added in v1.0.3

type TaskRevokeSource struct {
	// The TaskRevokeSourceExpired message.
	Expired *TaskRevokeSourceExpired `json:"expired,omitempty"`
	// The TaskRevokeSourceNonUsage message.
	NonUsage *TaskRevokeSourceNonUsage `json:"nonUsage,omitempty"`
	// The TaskRevokeSourceRequest message.
	Request *TaskRevokeSourceRequest `json:"request,omitempty"`
	// The TaskRevokeSourceReview message.
	Review *TaskRevokeSourceReview `json:"review,omitempty"`
}

TaskRevokeSource - The TaskRevokeSource message.

This message contains a oneof named origin. Only a single field of the following list may be set at a time:

  • review
  • request
  • expired
  • nonUsage

type TaskRevokeSourceExpired added in v1.0.3

type TaskRevokeSourceExpired struct {
	ExpiredAt *time.Time `json:"expiredAt,omitempty"`
}

TaskRevokeSourceExpired - The TaskRevokeSourceExpired message.

type TaskRevokeSourceNonUsage added in v1.0.3

type TaskRevokeSourceNonUsage struct {
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	LastLogin *time.Time `json:"lastLogin,omitempty"`
}

TaskRevokeSourceNonUsage - The TaskRevokeSourceNonUsage message.

type TaskRevokeSourceRequest added in v1.0.3

type TaskRevokeSourceRequest struct {
	// The requestUserId field.
	RequestUserID *string `json:"requestUserId,omitempty"`
}

TaskRevokeSourceRequest - The TaskRevokeSourceRequest message.

type TaskRevokeSourceReview added in v1.0.3

type TaskRevokeSourceReview struct {
	// The accessReviewId field.
	AccessReviewID *string `json:"accessReviewId,omitempty"`
	// The certTicketId field.
	CertTicketID *string `json:"certTicketId,omitempty"`
}

TaskRevokeSourceReview - The TaskRevokeSourceReview message.

type TaskSearchRequest added in v1.0.3

type TaskSearchRequest struct {
	// The accessReviewIds field.
	AccessReviewIds []string `json:"accessReviewIds,omitempty"`
	// The accountOwnerIds field.
	AccountOwnerIds []string `json:"accountOwnerIds,omitempty"`
	// The actorId field.
	ActorID *string `json:"actorId,omitempty"`
	// The appEntitlementIds field.
	AppEntitlementIds []string `json:"appEntitlementIds,omitempty"`
	// The appResourceIds field.
	AppResourceIds []string `json:"appResourceIds,omitempty"`
	// The appResourceTypeIds field.
	AppResourceTypeIds []string `json:"appResourceTypeIds,omitempty"`
	//  Find Tasks which are referncing a Set of AppUserIDs
	//
	AppUserSubjectIds []string `json:"appUserSubjectIds,omitempty"`
	// The applicationIds field.
	ApplicationIds []string `json:"applicationIds,omitempty"`
	//  Search tasks by  List of UserIDs which are currently assigned these Tasks
	//
	AssigneesInIds []string   `json:"assigneesInIds,omitempty"`
	CreatedAfter   *time.Time `json:"createdAfter,omitempty"`
	CreatedBefore  *time.Time `json:"createdBefore,omitempty"`
	// The currentStep field.
	CurrentStep *TaskSearchRequestCurrentStep `json:"currentStep,omitempty"`
	// The excludeAppEntitlementIds field.
	ExcludeAppEntitlementIds []string `json:"excludeAppEntitlementIds,omitempty"`
	//  Exclude Specific TaskIDs from this serach result.
	//
	ExcludeIds []string `json:"excludeIds,omitempty"`
	//  Make sure to update the TicketExpandMask
	//
	ExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The includeDeleted field.
	IncludeDeleted *bool `json:"includeDeleted,omitempty"`
	//  Search tasks by a List of UserIDs which are currently assigned to OR have previously acted upon this Task
	//
	MyWorkUserIds []string `json:"myWorkUserIds,omitempty"`
	//  Find a Task which was opened by UserIDs
	//
	OpenerIds []string `json:"openerIds,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	//  Search tasks by a  List of UserIDs which have previously approved or otherwise acted upon this Task
	//
	PreviouslyActedOnIds []string `json:"previouslyActedOnIds,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
	// The refs field.
	Refs []TaskRef `json:"refs,omitempty"`
	// The sortBy field.
	SortBy *TaskSearchRequestSortBy `json:"sortBy,omitempty"`
	//  Find Tasks which are referncing this C1 UserID
	//
	SubjectIds []string `json:"subjectIds,omitempty"`
	// The taskStates field.
	TaskStates []TaskSearchRequestTaskStates `json:"taskStates,omitempty"`
	//  TODO(pquerna): why is this a MESSAGE that only CONTAINS AN ENUM?
	//
	TaskTypes []TaskType `json:"taskTypes,omitempty"`
}

TaskSearchRequest - The TaskSearchRequest message.

type TaskSearchRequestCurrentStep added in v1.0.3

type TaskSearchRequestCurrentStep string

TaskSearchRequestCurrentStep - The currentStep field.

const (
	TaskSearchRequestCurrentStepTaskSearchCurrentStepUnspecified TaskSearchRequestCurrentStep = "TASK_SEARCH_CURRENT_STEP_UNSPECIFIED"
	TaskSearchRequestCurrentStepTaskSearchCurrentStepApproval    TaskSearchRequestCurrentStep = "TASK_SEARCH_CURRENT_STEP_APPROVAL"
	TaskSearchRequestCurrentStepTaskSearchCurrentStepProvision   TaskSearchRequestCurrentStep = "TASK_SEARCH_CURRENT_STEP_PROVISION"
)

func (TaskSearchRequestCurrentStep) ToPointer added in v1.0.3

func (*TaskSearchRequestCurrentStep) UnmarshalJSON added in v1.0.3

func (e *TaskSearchRequestCurrentStep) UnmarshalJSON(data []byte) error

type TaskSearchRequestSortBy added in v1.0.3

type TaskSearchRequestSortBy string

TaskSearchRequestSortBy - The sortBy field.

const (
	TaskSearchRequestSortByTaskSearchSortByUnspecified  TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_UNSPECIFIED"
	TaskSearchRequestSortByTaskSearchSortByAccount      TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_ACCOUNT"
	TaskSearchRequestSortByTaskSearchSortByResource     TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_RESOURCE"
	TaskSearchRequestSortByTaskSearchSortByAccountOwner TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_ACCOUNT_OWNER"
)

func (TaskSearchRequestSortBy) ToPointer added in v1.0.3

func (*TaskSearchRequestSortBy) UnmarshalJSON added in v1.0.3

func (e *TaskSearchRequestSortBy) UnmarshalJSON(data []byte) error

type TaskSearchRequestTaskStates added in v1.0.3

type TaskSearchRequestTaskStates string
const (
	TaskSearchRequestTaskStatesTaskStateUnspecified TaskSearchRequestTaskStates = "TASK_STATE_UNSPECIFIED"
	TaskSearchRequestTaskStatesTaskStateOpen        TaskSearchRequestTaskStates = "TASK_STATE_OPEN"
	TaskSearchRequestTaskStatesTaskStateClosed      TaskSearchRequestTaskStates = "TASK_STATE_CLOSED"
)

func (TaskSearchRequestTaskStates) ToPointer added in v1.0.3

func (*TaskSearchRequestTaskStates) UnmarshalJSON added in v1.0.3

func (e *TaskSearchRequestTaskStates) UnmarshalJSON(data []byte) error

type TaskSearchResponse added in v1.0.3

type TaskSearchResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The list field.
	List []TaskView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

TaskSearchResponse - The TaskSearchResponse message.

type TaskServiceCreateGrantRequest added in v1.0.3

type TaskServiceCreateGrantRequest struct {
	// The appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID *string `json:"appUserId,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	//  Make sure to update the TicketExpandMask
	//
	ExpandMask    *TaskExpandMask `json:"expandMask,omitempty"`
	GrantDuration *string         `json:"grantDuration,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
}

TaskServiceCreateGrantRequest - The TaskServiceCreateGrantRequest message.

type TaskServiceCreateGrantResponse added in v1.0.3

type TaskServiceCreateGrantResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The TaskView message.
	TaskView *TaskView `json:"taskView,omitempty"`
}

TaskServiceCreateGrantResponse - The TaskServiceCreateGrantResponse message.

type TaskServiceCreateRevokeRequest added in v1.0.3

type TaskServiceCreateRevokeRequest struct {
	// The appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID *string `json:"appUserId,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	//  Make sure to update the TicketExpandMask
	//
	ExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
}

TaskServiceCreateRevokeRequest - The TaskServiceCreateRevokeRequest message.

type TaskServiceCreateRevokeResponse added in v1.0.3

type TaskServiceCreateRevokeResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The TaskView message.
	TaskView *TaskView `json:"taskView,omitempty"`
}

TaskServiceCreateRevokeResponse - The TaskServiceCreateRevokeResponse message.

type TaskServiceGetResponse added in v1.0.3

type TaskServiceGetResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The TaskView message.
	TaskView *TaskView `json:"taskView,omitempty"`
}

TaskServiceGetResponse - The TaskServiceGetResponse message.

type TaskState added in v1.0.3

type TaskState string

TaskState - State

const (
	TaskStateTaskStateUnspecified TaskState = "TASK_STATE_UNSPECIFIED"
	TaskStateTaskStateOpen        TaskState = "TASK_STATE_OPEN"
	TaskStateTaskStateClosed      TaskState = "TASK_STATE_CLOSED"
)

func (TaskState) ToPointer added in v1.0.3

func (e TaskState) ToPointer() *TaskState

func (*TaskState) UnmarshalJSON added in v1.0.3

func (e *TaskState) UnmarshalJSON(data []byte) error

type TaskType added in v1.0.3

type TaskType struct {
	// The TaskTypeCertify message.
	Certify *TaskTypeCertify `json:"certify,omitempty"`
	// The TaskTypeGrant message.
	Grant *TaskTypeGrant `json:"grant,omitempty"`
	// The TaskTypeRevoke message.
	Revoke *TaskTypeRevoke `json:"revoke,omitempty"`
}

TaskType - The TaskType message.

This message contains a oneof named task_type. Only a single field of the following list may be set at a time:

  • grant
  • revoke
  • certify

type TaskTypeCertify added in v1.0.3

type TaskTypeCertify struct {
	// The accessReviewId field.
	AccessReviewID *string `json:"accessReviewId,omitempty"`
	// The accessReviewSelection field.
	AccessReviewSelection *string `json:"accessReviewSelection,omitempty"`
	// The appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID *string `json:"appUserId,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
	// The outcome field.
	Outcome     *TaskTypeCertifyOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time              `json:"outcomeTime,omitempty"`
}

TaskTypeCertify - The TaskTypeCertify message.

type TaskTypeCertifyOutcome added in v1.0.3

type TaskTypeCertifyOutcome string

TaskTypeCertifyOutcome - The outcome field.

const (
	TaskTypeCertifyOutcomeCertifyOutcomeUnspecified TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_UNSPECIFIED"
	TaskTypeCertifyOutcomeCertifyOutcomeCertified   TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_CERTIFIED"
	TaskTypeCertifyOutcomeCertifyOutcomeDecertified TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_DECERTIFIED"
	TaskTypeCertifyOutcomeCertifyOutcomeError       TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_ERROR"
	TaskTypeCertifyOutcomeCertifyOutcomeCancelled   TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_CANCELLED"
)

func (TaskTypeCertifyOutcome) ToPointer added in v1.0.3

func (*TaskTypeCertifyOutcome) UnmarshalJSON added in v1.0.3

func (e *TaskTypeCertifyOutcome) UnmarshalJSON(data []byte) error

type TaskTypeGrant added in v1.0.3

type TaskTypeGrant struct {
	// The appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID     *string `json:"appUserId,omitempty"`
	GrantDuration *string `json:"grantDuration,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
	// The outcome field.
	Outcome     *TaskTypeGrantOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time            `json:"outcomeTime,omitempty"`
}

TaskTypeGrant - The TaskTypeGrant message.

type TaskTypeGrantOutcome added in v1.0.3

type TaskTypeGrantOutcome string

TaskTypeGrantOutcome - The outcome field.

const (
	TaskTypeGrantOutcomeGrantOutcomeUnspecified TaskTypeGrantOutcome = "GRANT_OUTCOME_UNSPECIFIED"
	TaskTypeGrantOutcomeGrantOutcomeGranted     TaskTypeGrantOutcome = "GRANT_OUTCOME_GRANTED"
	TaskTypeGrantOutcomeGrantOutcomeDenied      TaskTypeGrantOutcome = "GRANT_OUTCOME_DENIED"
	TaskTypeGrantOutcomeGrantOutcomeError       TaskTypeGrantOutcome = "GRANT_OUTCOME_ERROR"
	TaskTypeGrantOutcomeGrantOutcomeCancelled   TaskTypeGrantOutcome = "GRANT_OUTCOME_CANCELLED"
)

func (TaskTypeGrantOutcome) ToPointer added in v1.0.3

func (*TaskTypeGrantOutcome) UnmarshalJSON added in v1.0.3

func (e *TaskTypeGrantOutcome) UnmarshalJSON(data []byte) error

type TaskTypeRevoke added in v1.0.3

type TaskTypeRevoke struct {
	// The appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID *string `json:"appUserId,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
	// The outcome field.
	Outcome     *TaskTypeRevokeOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time             `json:"outcomeTime,omitempty"`
	// The TaskRevokeSource message.
	//
	// This message contains a oneof named origin. Only a single field of the following list may be set at a time:
	//   - review
	//   - request
	//   - expired
	//   - nonUsage
	//
	Source *TaskRevokeSource `json:"source,omitempty"`
}

TaskTypeRevoke - The TaskTypeRevoke message.

type TaskTypeRevokeOutcome added in v1.0.3

type TaskTypeRevokeOutcome string

TaskTypeRevokeOutcome - The outcome field.

const (
	TaskTypeRevokeOutcomeRevokeOutcomeUnspecified TaskTypeRevokeOutcome = "REVOKE_OUTCOME_UNSPECIFIED"
	TaskTypeRevokeOutcomeRevokeOutcomeRevoked     TaskTypeRevokeOutcome = "REVOKE_OUTCOME_REVOKED"
	TaskTypeRevokeOutcomeRevokeOutcomeDenied      TaskTypeRevokeOutcome = "REVOKE_OUTCOME_DENIED"
	TaskTypeRevokeOutcomeRevokeOutcomeError       TaskTypeRevokeOutcome = "REVOKE_OUTCOME_ERROR"
	TaskTypeRevokeOutcomeRevokeOutcomeCancelled   TaskTypeRevokeOutcome = "REVOKE_OUTCOME_CANCELLED"
)

func (TaskTypeRevokeOutcome) ToPointer added in v1.0.3

func (*TaskTypeRevokeOutcome) UnmarshalJSON added in v1.0.3

func (e *TaskTypeRevokeOutcome) UnmarshalJSON(data []byte) error

type TaskView added in v1.0.3

type TaskView struct {
	// The accessReviewPath field.
	AccessReviewPath *string `json:"accessReviewPath,omitempty"`
	// The appPath field.
	AppPath *string `json:"appPath,omitempty"`
	// The appUserPath field.
	AppUserPath *string `json:"appUserPath,omitempty"`
	// The createdByUserPath field.
	CreatedByUserPath *string `json:"createdByUserPath,omitempty"`
	// The entitlementsPath field.
	EntitlementsPath *string `json:"entitlementsPath,omitempty"`
	// The identityUserPath field.
	IdentityUserPath *string `json:"identityUserPath,omitempty"`
	// The stepApproversPath field.
	StepApproversPath *string `json:"stepApproversPath,omitempty"`
	// The Task message.
	Task *Task `json:"task,omitempty"`
	// The userPath field.
	UserPath *string `json:"userPath,omitempty"`
}

TaskView - The TaskView message.

type User added in v1.0.3

type User struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The delegatedUserId field.
	DelegatedUserID *string    `json:"delegatedUserId,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The department field.
	Department *string `json:"department,omitempty"`
	// The departmentSources field.
	DepartmentSources []UserAttributeMappingSource `json:"departmentSources,omitempty"`
	// The directoryIds field.
	DirectoryIds []string `json:"directoryIds,omitempty"`
	// The directoryStatus field.
	DirectoryStatus *UserDirectoryStatus `json:"directoryStatus,omitempty"`
	// The directoryStatusSources field.
	DirectoryStatusSources []UserAttributeMappingSource `json:"directoryStatusSources,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The email field.
	Email *string `json:"email,omitempty"`
	// The employmentStatus field.
	EmploymentStatus *string `json:"employmentStatus,omitempty"`
	// The employmentStatusSources field.
	EmploymentStatusSources []UserAttributeMappingSource `json:"employmentStatusSources,omitempty"`
	// The employmentType field.
	EmploymentType *string `json:"employmentType,omitempty"`
	// The employmentTypeSources field.
	EmploymentTypeSources []UserAttributeMappingSource `json:"employmentTypeSources,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The jobTitle field.
	JobTitle *string `json:"jobTitle,omitempty"`
	// The jobTitleSources field.
	JobTitleSources []UserAttributeMappingSource `json:"jobTitleSources,omitempty"`
	// The managerIds field.
	ManagerIds []string `json:"managerIds,omitempty"`
	// The managerSources field.
	ManagerSources []UserAttributeMappingSource `json:"managerSources,omitempty"`
	// The roleIds field.
	RoleIds []string `json:"roleIds,omitempty"`
	// The status field.
	Status    *UserStatus `json:"status,omitempty"`
	UpdatedAt *time.Time  `json:"updatedAt,omitempty"`
}

User - The User message.

type UserApproval added in v1.0.3

type UserApproval struct {
	// The allowSelfApproval field.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// The userIds field.
	UserIds []string `json:"userIds,omitempty"`
}

UserApproval - The UserApproval message.

type UserAttributeMappingSource added in v1.0.3

type UserAttributeMappingSource struct {
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID *string `json:"appUserId,omitempty"`
	// The appUserProfileAttributeKey field.
	AppUserProfileAttributeKey *string `json:"appUserProfileAttributeKey,omitempty"`
	// The userAttributeMappingId field.
	UserAttributeMappingID *string `json:"userAttributeMappingId,omitempty"`
	// The value field.
	Value *string `json:"value,omitempty"`
}

UserAttributeMappingSource - The UserAttributeMappingSource message.

type UserDirectoryStatus added in v1.0.3

type UserDirectoryStatus string

UserDirectoryStatus - The directoryStatus field.

const (
	UserDirectoryStatusUnknown  UserDirectoryStatus = "UNKNOWN"
	UserDirectoryStatusEnabled  UserDirectoryStatus = "ENABLED"
	UserDirectoryStatusDisabled UserDirectoryStatus = "DISABLED"
	UserDirectoryStatusDeleted  UserDirectoryStatus = "DELETED"
)

func (UserDirectoryStatus) ToPointer added in v1.0.3

func (*UserDirectoryStatus) UnmarshalJSON added in v1.0.3

func (e *UserDirectoryStatus) UnmarshalJSON(data []byte) error

type UserExpandMask added in v1.0.3

type UserExpandMask struct {
	// The paths field.
	Paths []string `json:"paths,omitempty"`
}

UserExpandMask - The UserExpandMask message.

type UserRef added in v1.0.3

type UserRef struct {
	// The id field.
	ID *string `json:"id,omitempty"`
}

UserRef - The UserRef message.

type UserServiceGetResponse added in v1.0.3

type UserServiceGetResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The UserView message.
	UserView *UserView `json:"userView,omitempty"`
}

UserServiceGetResponse - The UserServiceGetResponse message.

type UserServiceListResponse added in v1.0.3

type UserServiceListResponse struct {
	// The expanded field.
	Expanded []map[string]interface{} `json:"expanded,omitempty"`
	// The list field.
	List []UserView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

UserServiceListResponse - The UserServiceListResponse message.

type UserStatus added in v1.0.3

type UserStatus string

UserStatus - The status field.

const (
	UserStatusUnknown  UserStatus = "UNKNOWN"
	UserStatusEnabled  UserStatus = "ENABLED"
	UserStatusDisabled UserStatus = "DISABLED"
	UserStatusDeleted  UserStatus = "DELETED"
)

func (UserStatus) ToPointer added in v1.0.3

func (e UserStatus) ToPointer() *UserStatus

func (*UserStatus) UnmarshalJSON added in v1.0.3

func (e *UserStatus) UnmarshalJSON(data []byte) error

type UserView added in v1.0.3

type UserView struct {
	// The delegatedUserPath field.
	DelegatedUserPath *string `json:"delegatedUserPath,omitempty"`
	// The directoriesPath field.
	DirectoriesPath *string `json:"directoriesPath,omitempty"`
	// The managersPath field.
	ManagersPath *string `json:"managersPath,omitempty"`
	// The rolesPath field.
	RolesPath *string `json:"rolesPath,omitempty"`
	// The User message.
	User *User `json:"user,omitempty"`
}

UserView - The UserView message.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL