shared

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 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 C1APIAppV1App

type C1APIAppV1App 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"`
}

C1APIAppV1App - The App message.

type C1APIAppV1AppEntitlement

type C1APIAppV1AppEntitlement 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 *C1APIAppV1AppEntitlementDurationUnset `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 *C1APIPolicyV1ProvisionPolicy `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"`
}

C1APIAppV1AppEntitlement - 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 C1APIAppV1AppEntitlementDurationUnset

type C1APIAppV1AppEntitlementDurationUnset struct {
}

type C1APIAppV1AppEntitlementExpandMask

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

C1APIAppV1AppEntitlementExpandMask - The AppEntitlementExpandMask message.

type C1APIAppV1AppEntitlementUserBinding

type C1APIAppV1AppEntitlementUserBinding 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"`
}

C1APIAppV1AppEntitlementUserBinding - The AppEntitlementUserBinding message.

type C1APIAppV1AppEntitlementView

type C1APIAppV1AppEntitlementView 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 *C1APIAppV1AppEntitlement `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"`
}

C1APIAppV1AppEntitlementView - The AppEntitlementView message.

type C1APIAppV1AppEntitlementWithUserBindings

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

C1APIAppV1AppEntitlementWithUserBindings - The AppEntitlementWithUserBindings message.

type C1APIAppV1AppResource

type C1APIAppV1AppResource 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"`
}

C1APIAppV1AppResource - The AppResource message.

type C1APIAppV1AppResourceServiceGetResponse

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

C1APIAppV1AppResourceServiceGetResponse - The AppResourceServiceGetResponse message.

type C1APIAppV1AppResourceType

type C1APIAppV1AppResourceType 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"`
}

C1APIAppV1AppResourceType - The AppResourceType message.

type C1APIAppV1AppResourceTypeServiceGetResponse

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

C1APIAppV1AppResourceTypeServiceGetResponse - The AppResourceTypeServiceGetResponse message.

type C1APIAppV1AppResourceTypeView

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

C1APIAppV1AppResourceTypeView - The AppResourceTypeView message.

type C1APIAppV1AppResourceView

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

C1APIAppV1AppResourceView - The AppResourceView message.

type C1APIAppV1GetAppEntitlementResponse

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

C1APIAppV1GetAppEntitlementResponse - The GetAppEntitlementResponse message.

type C1APIAppV1GetAppResponse

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

C1APIAppV1GetAppResponse - The GetAppResponse message.

type C1APIAppV1ListAppUsersForIdentityWithGrantResponse

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

C1APIAppV1ListAppUsersForIdentityWithGrantResponse - The ListAppUsersForIdentityWithGrantResponse message.

type C1APIAuthV1IntrospectResponse

type C1APIAuthV1IntrospectResponse 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"`
}

C1APIAuthV1IntrospectResponse - The IntrospectResponse message.

type C1APIPolicyV1AppEntitlementReference

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

C1APIPolicyV1AppEntitlementReference - The AppEntitlementReference message.

type C1APIPolicyV1AppGroupApproval

type C1APIPolicyV1AppGroupApproval 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"`
}

C1APIPolicyV1AppGroupApproval - The AppGroupApproval message.

type C1APIPolicyV1AppOwnerApproval

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

C1APIPolicyV1AppOwnerApproval - The AppOwnerApproval message.

type C1APIPolicyV1Approval

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

C1APIPolicyV1Approval - 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 C1APIPolicyV1ApprovalInstance

type C1APIPolicyV1ApprovalInstance 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 *C1APIPolicyV1Approval `json:"approval,omitempty"`
	// The ApprovedAction message.
	Approved *C1APIPolicyV1ApprovedAction `json:"approved,omitempty"`
	// The DeniedAction message.
	Denied *C1APIPolicyV1DeniedAction `json:"denied,omitempty"`
	// The ReassignedAction message.
	Reassigned *C1APIPolicyV1ReassignedAction `json:"reassigned,omitempty"`
	// The ReassignedByErrorAction message.
	ReassignedByError *C1APIPolicyV1ReassignedByErrorAction `json:"reassignedByError,omitempty"`
	// The RestartAction message.
	Restarted *C1APIPolicyV1RestartAction `json:"restarted,omitempty"`
	// The state field.
	State *C1APIPolicyV1ApprovalInstanceState `json:"state,omitempty"`
}

C1APIPolicyV1ApprovalInstance - 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 C1APIPolicyV1ApprovalInstanceState

type C1APIPolicyV1ApprovalInstanceState string

C1APIPolicyV1ApprovalInstanceState - The state field.

const (
	C1APIPolicyV1ApprovalInstanceStateApprovalInstanceStateUnspecified          C1APIPolicyV1ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_UNSPECIFIED"
	C1APIPolicyV1ApprovalInstanceStateApprovalInstanceStateInit                 C1APIPolicyV1ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_INIT"
	C1APIPolicyV1ApprovalInstanceStateApprovalInstanceStateSendingNotifications C1APIPolicyV1ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_SENDING_NOTIFICATIONS"
	C1APIPolicyV1ApprovalInstanceStateApprovalInstanceStateWaiting              C1APIPolicyV1ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_WAITING"
	C1APIPolicyV1ApprovalInstanceStateApprovalInstanceStateDone                 C1APIPolicyV1ApprovalInstanceState = "APPROVAL_INSTANCE_STATE_DONE"
)

func (C1APIPolicyV1ApprovalInstanceState) ToPointer

func (*C1APIPolicyV1ApprovalInstanceState) UnmarshalJSON

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

type C1APIPolicyV1ApprovedAction

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

C1APIPolicyV1ApprovedAction - The ApprovedAction message.

type C1APIPolicyV1CancelledAction

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

C1APIPolicyV1CancelledAction - The CancelledAction message.

type C1APIPolicyV1CompletedAction

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

C1APIPolicyV1CompletedAction - The CompletedAction message.

type C1APIPolicyV1ConnectorProvision

type C1APIPolicyV1ConnectorProvision struct {
}

C1APIPolicyV1ConnectorProvision - The ConnectorProvision message.

type C1APIPolicyV1DelegatedProvision

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

C1APIPolicyV1DelegatedProvision - The DelegatedProvision message.

type C1APIPolicyV1DeniedAction

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

C1APIPolicyV1DeniedAction - The DeniedAction message.

type C1APIPolicyV1EntitlementOwnerApproval

type C1APIPolicyV1EntitlementOwnerApproval 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"`
}

C1APIPolicyV1EntitlementOwnerApproval - The EntitlementOwnerApproval message.

type C1APIPolicyV1ErroredAction

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

C1APIPolicyV1ErroredAction - The ErroredAction message.

type C1APIPolicyV1ManagerApproval

type C1APIPolicyV1ManagerApproval 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"`
}

C1APIPolicyV1ManagerApproval - The ManagerApproval message.

type C1APIPolicyV1ManualProvision

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

C1APIPolicyV1ManualProvision - The ManualProvision message.

type C1APIPolicyV1Policy

type C1APIPolicyV1Policy 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]C1APIPolicyV1PolicySteps `json:"policySteps,omitempty"`
	// The policyType field.
	PolicyType *C1APIPolicyV1PolicyPolicyType `json:"policyType,omitempty"`
	// The postActions field.
	PostActions []C1APIPolicyV1PolicyPostActions `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"`
}

C1APIPolicyV1Policy - The Policy message.

type C1APIPolicyV1PolicyInstance

type C1APIPolicyV1PolicyInstance 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 *C1APIPolicyV1PolicyStepInstance `json:"current,omitempty"`
	// The history field.
	History []C1APIPolicyV1PolicyStepInstance `json:"history,omitempty"`
	// The next field.
	Next []C1APIPolicyV1PolicyStep `json:"next,omitempty"`
	// The Policy message.
	Policy *C1APIPolicyV1Policy `json:"policy,omitempty"`
}

C1APIPolicyV1PolicyInstance - The PolicyInstance message.

type C1APIPolicyV1PolicyPolicyType

type C1APIPolicyV1PolicyPolicyType string

C1APIPolicyV1PolicyPolicyType - The policyType field.

const (
	C1APIPolicyV1PolicyPolicyTypePolicyTypeUnspecified   C1APIPolicyV1PolicyPolicyType = "POLICY_TYPE_UNSPECIFIED"
	C1APIPolicyV1PolicyPolicyTypePolicyTypeGrant         C1APIPolicyV1PolicyPolicyType = "POLICY_TYPE_GRANT"
	C1APIPolicyV1PolicyPolicyTypePolicyTypeRevoke        C1APIPolicyV1PolicyPolicyType = "POLICY_TYPE_REVOKE"
	C1APIPolicyV1PolicyPolicyTypePolicyTypeCertify       C1APIPolicyV1PolicyPolicyType = "POLICY_TYPE_CERTIFY"
	C1APIPolicyV1PolicyPolicyTypePolicyTypeAccessRequest C1APIPolicyV1PolicyPolicyType = "POLICY_TYPE_ACCESS_REQUEST"
	C1APIPolicyV1PolicyPolicyTypePolicyTypeProvision     C1APIPolicyV1PolicyPolicyType = "POLICY_TYPE_PROVISION"
)

func (C1APIPolicyV1PolicyPolicyType) ToPointer

func (*C1APIPolicyV1PolicyPolicyType) UnmarshalJSON

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

type C1APIPolicyV1PolicyPostActions

type C1APIPolicyV1PolicyPostActions 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"`
}

C1APIPolicyV1PolicyPostActions - 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 C1APIPolicyV1PolicyStep

type C1APIPolicyV1PolicyStep 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 *C1APIPolicyV1Approval `json:"approval,omitempty"`
	// The Provision message.
	Provision *C1APIPolicyV1Provision `json:"provision,omitempty"`
}

C1APIPolicyV1PolicyStep - 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 C1APIPolicyV1PolicyStepInstance

type C1APIPolicyV1PolicyStepInstance 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 *C1APIPolicyV1ApprovalInstance `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 *C1APIPolicyV1ProvisionInstance `json:"provision,omitempty"`
	// The state field.
	State *C1APIPolicyV1PolicyStepInstanceState `json:"state,omitempty"`
}

C1APIPolicyV1PolicyStepInstance - 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 C1APIPolicyV1PolicyStepInstanceState

type C1APIPolicyV1PolicyStepInstanceState string

C1APIPolicyV1PolicyStepInstanceState - The state field.

const (
	C1APIPolicyV1PolicyStepInstanceStatePolicyStepStateUnspecified C1APIPolicyV1PolicyStepInstanceState = "POLICY_STEP_STATE_UNSPECIFIED"
	C1APIPolicyV1PolicyStepInstanceStatePolicyStepStateActive      C1APIPolicyV1PolicyStepInstanceState = "POLICY_STEP_STATE_ACTIVE"
	C1APIPolicyV1PolicyStepInstanceStatePolicyStepStateDone        C1APIPolicyV1PolicyStepInstanceState = "POLICY_STEP_STATE_DONE"
)

func (C1APIPolicyV1PolicyStepInstanceState) ToPointer

func (*C1APIPolicyV1PolicyStepInstanceState) UnmarshalJSON

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

type C1APIPolicyV1PolicySteps

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

C1APIPolicyV1PolicySteps - The PolicySteps message.

type C1APIPolicyV1Provision

type C1APIPolicyV1Provision 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 *C1APIPolicyV1ProvisionPolicy `json:"provisionPolicy,omitempty"`
}

C1APIPolicyV1Provision - The Provision message.

type C1APIPolicyV1ProvisionInstance

type C1APIPolicyV1ProvisionInstance struct {
	// The CancelledAction message.
	Cancelled *C1APIPolicyV1CancelledAction `json:"cancelled,omitempty"`
	// The CompletedAction message.
	Completed *C1APIPolicyV1CompletedAction `json:"completed,omitempty"`
	// The ErroredAction message.
	Errored *C1APIPolicyV1ErroredAction `json:"errored,omitempty"`
	// The notificationId field.
	NotificationID *string `json:"notificationId,omitempty"`
	// The Provision message.
	Provision *C1APIPolicyV1Provision `json:"provision,omitempty"`
	// The ReassignedByErrorAction message.
	ReassignedByError *C1APIPolicyV1ReassignedByErrorAction `json:"reassignedByError,omitempty"`
	// The state field.
	State *C1APIPolicyV1ProvisionInstanceState `json:"state,omitempty"`
}

C1APIPolicyV1ProvisionInstance - 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 C1APIPolicyV1ProvisionInstanceState

type C1APIPolicyV1ProvisionInstanceState string

C1APIPolicyV1ProvisionInstanceState - The state field.

const (
	C1APIPolicyV1ProvisionInstanceStateProvisionInstanceStateUnspecified                     C1APIPolicyV1ProvisionInstanceState = "PROVISION_INSTANCE_STATE_UNSPECIFIED"
	C1APIPolicyV1ProvisionInstanceStateProvisionInstanceStateInit                            C1APIPolicyV1ProvisionInstanceState = "PROVISION_INSTANCE_STATE_INIT"
	C1APIPolicyV1ProvisionInstanceStateProvisionInstanceStateCreateConnectorActionsForTarget C1APIPolicyV1ProvisionInstanceState = "PROVISION_INSTANCE_STATE_CREATE_CONNECTOR_ACTIONS_FOR_TARGET"
	C1APIPolicyV1ProvisionInstanceStateProvisionInstanceStateSendingNotifications            C1APIPolicyV1ProvisionInstanceState = "PROVISION_INSTANCE_STATE_SENDING_NOTIFICATIONS"
	C1APIPolicyV1ProvisionInstanceStateProvisionInstanceStateWaiting                         C1APIPolicyV1ProvisionInstanceState = "PROVISION_INSTANCE_STATE_WAITING"
	C1APIPolicyV1ProvisionInstanceStateProvisionInstanceStateDone                            C1APIPolicyV1ProvisionInstanceState = "PROVISION_INSTANCE_STATE_DONE"
)

func (C1APIPolicyV1ProvisionInstanceState) ToPointer

func (*C1APIPolicyV1ProvisionInstanceState) UnmarshalJSON

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

type C1APIPolicyV1ProvisionPolicy

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

C1APIPolicyV1ProvisionPolicy - 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 C1APIPolicyV1ReassignedAction

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

C1APIPolicyV1ReassignedAction - The ReassignedAction message.

type C1APIPolicyV1ReassignedByErrorAction

type C1APIPolicyV1ReassignedByErrorAction 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"`
}

C1APIPolicyV1ReassignedByErrorAction - The ReassignedByErrorAction message.

type C1APIPolicyV1RestartAction

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

C1APIPolicyV1RestartAction - The RestartAction message.

type C1APIPolicyV1SelfApproval

type C1APIPolicyV1SelfApproval 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"`
}

C1APIPolicyV1SelfApproval - The SelfApproval message.

type C1APIPolicyV1UserApproval

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

C1APIPolicyV1UserApproval - The UserApproval message.

type C1APIRequestcatalogV1RequestCatalogSearchServiceSearchEntitlementsRequest

type C1APIRequestcatalogV1RequestCatalogSearchServiceSearchEntitlementsRequest struct {
	// The entitlementAlias field.
	EntitlementAlias *string `json:"entitlementAlias,omitempty"`
	// The AppEntitlementExpandMask message.
	ExpandMask *C1APIAppV1AppEntitlementExpandMask `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"`
}

C1APIRequestcatalogV1RequestCatalogSearchServiceSearchEntitlementsRequest - The RequestCatalogSearchServiceSearchEntitlementsRequest message.

type C1APIRequestcatalogV1RequestCatalogSearchServiceSearchEntitlementsResponse

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

C1APIRequestcatalogV1RequestCatalogSearchServiceSearchEntitlementsResponse - The RequestCatalogSearchServiceSearchEntitlementsResponse message.

type C1APITaskV1ExternalRef

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

C1APITaskV1ExternalRef - The ExternalRef message.

type C1APITaskV1ExternalRefExternalRefSource

type C1APITaskV1ExternalRefExternalRefSource string

C1APITaskV1ExternalRefExternalRefSource - The externalRefSource field.

const (
	C1APITaskV1ExternalRefExternalRefSourceUnspecified C1APITaskV1ExternalRefExternalRefSource = "UNSPECIFIED"
	C1APITaskV1ExternalRefExternalRefSourceJira        C1APITaskV1ExternalRefExternalRefSource = "JIRA"
)

func (C1APITaskV1ExternalRefExternalRefSource) ToPointer

func (*C1APITaskV1ExternalRefExternalRefSource) UnmarshalJSON

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

type C1APITaskV1Task

type C1APITaskV1Task struct {
	// The actions field.
	Actions []C1APITaskV1TaskActions `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 []C1APITaskV1ExternalRef `json:"externalRefs,omitempty"`
	//  General Metadata
	//
	ID *string `json:"id,omitempty"`
	// The numericId field.
	NumericID *string `json:"numericId,omitempty"`
	// The PolicyInstance message.
	Policy *C1APIPolicyV1PolicyInstance `json:"policy,omitempty"`
	// The processing field.
	Processing *C1APITaskV1TaskProcessing `json:"processing,omitempty"`
	//  State
	//
	State *C1APITaskV1TaskState `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      *C1APITaskV1TaskType `json:"type,omitempty"`
	UpdatedAt *time.Time           `json:"updatedAt,omitempty"`
	//  External IDS
	//
	UserID *string `json:"userId,omitempty"`
}

C1APITaskV1Task - The Task message.

type C1APITaskV1TaskActions

type C1APITaskV1TaskActions string
const (
	C1APITaskV1TaskActionsTaskActionTypeUnspecified                   C1APITaskV1TaskActions = "TASK_ACTION_TYPE_UNSPECIFIED"
	C1APITaskV1TaskActionsTaskActionTypeClose                         C1APITaskV1TaskActions = "TASK_ACTION_TYPE_CLOSE"
	C1APITaskV1TaskActionsTaskActionTypeApprove                       C1APITaskV1TaskActions = "TASK_ACTION_TYPE_APPROVE"
	C1APITaskV1TaskActionsTaskActionTypeDeny                          C1APITaskV1TaskActions = "TASK_ACTION_TYPE_DENY"
	C1APITaskV1TaskActionsTaskActionTypeComment                       C1APITaskV1TaskActions = "TASK_ACTION_TYPE_COMMENT"
	C1APITaskV1TaskActionsTaskActionTypeDelete                        C1APITaskV1TaskActions = "TASK_ACTION_TYPE_DELETE"
	C1APITaskV1TaskActionsTaskActionTypeReassign                      C1APITaskV1TaskActions = "TASK_ACTION_TYPE_REASSIGN"
	C1APITaskV1TaskActionsTaskActionTypeRestart                       C1APITaskV1TaskActions = "TASK_ACTION_TYPE_RESTART"
	C1APITaskV1TaskActionsTaskActionTypeSendReminder                  C1APITaskV1TaskActions = "TASK_ACTION_TYPE_SEND_REMINDER"
	C1APITaskV1TaskActionsTaskActionTypeProvisionComplete             C1APITaskV1TaskActions = "TASK_ACTION_TYPE_PROVISION_COMPLETE"
	C1APITaskV1TaskActionsTaskActionTypeProvisionCancelled            C1APITaskV1TaskActions = "TASK_ACTION_TYPE_PROVISION_CANCELLED"
	C1APITaskV1TaskActionsTaskActionTypeProvisionErrored              C1APITaskV1TaskActions = "TASK_ACTION_TYPE_PROVISION_ERRORED"
	C1APITaskV1TaskActionsTaskActionTypeProvisionAppUserTargetCreated C1APITaskV1TaskActions = "TASK_ACTION_TYPE_PROVISION_APP_USER_TARGET_CREATED"
	C1APITaskV1TaskActionsTaskActionTypeRollbackSkipped               C1APITaskV1TaskActions = "TASK_ACTION_TYPE_ROLLBACK_SKIPPED"
	C1APITaskV1TaskActionsTaskActionTypeHardReset                     C1APITaskV1TaskActions = "TASK_ACTION_TYPE_HARD_RESET"
)

func (C1APITaskV1TaskActions) ToPointer

func (*C1APITaskV1TaskActions) UnmarshalJSON

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

type C1APITaskV1TaskActionsServiceApproveRequestInput

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

C1APITaskV1TaskActionsServiceApproveRequestInput - The TaskActionsServiceApproveRequest message.

type C1APITaskV1TaskActionsServiceApproveResponse

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

C1APITaskV1TaskActionsServiceApproveResponse - The TaskActionsServiceApproveResponse message.

type C1APITaskV1TaskActionsServiceCommentRequestInput

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

C1APITaskV1TaskActionsServiceCommentRequestInput - The TaskActionsServiceCommentRequest message.

type C1APITaskV1TaskActionsServiceCommentResponse

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

C1APITaskV1TaskActionsServiceCommentResponse - The TaskActionsServiceCommentResponse message.

type C1APITaskV1TaskActionsServiceDenyRequestInput

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

C1APITaskV1TaskActionsServiceDenyRequestInput - The TaskActionsServiceDenyRequest message.

type C1APITaskV1TaskActionsServiceDenyResponse

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

C1APITaskV1TaskActionsServiceDenyResponse - The TaskActionsServiceDenyResponse message.

type C1APITaskV1TaskExpandMask

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

C1APITaskV1TaskExpandMask - Make sure to update the TicketExpandMask

type C1APITaskV1TaskProcessing

type C1APITaskV1TaskProcessing string

C1APITaskV1TaskProcessing - The processing field.

const (
	C1APITaskV1TaskProcessingTaskProcessingTypeUnspecified C1APITaskV1TaskProcessing = "TASK_PROCESSING_TYPE_UNSPECIFIED"
	C1APITaskV1TaskProcessingTaskProcessingTypeProcessing  C1APITaskV1TaskProcessing = "TASK_PROCESSING_TYPE_PROCESSING"
	C1APITaskV1TaskProcessingTaskProcessingTypeWaiting     C1APITaskV1TaskProcessing = "TASK_PROCESSING_TYPE_WAITING"
	C1APITaskV1TaskProcessingTaskProcessingTypeDone        C1APITaskV1TaskProcessing = "TASK_PROCESSING_TYPE_DONE"
)

func (C1APITaskV1TaskProcessing) ToPointer

func (*C1APITaskV1TaskProcessing) UnmarshalJSON

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

type C1APITaskV1TaskRef

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

C1APITaskV1TaskRef - The TaskRef message.

type C1APITaskV1TaskRevokeSource

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

C1APITaskV1TaskRevokeSource - 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 C1APITaskV1TaskRevokeSourceExpired

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

C1APITaskV1TaskRevokeSourceExpired - The TaskRevokeSourceExpired message.

type C1APITaskV1TaskRevokeSourceNonUsage

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

C1APITaskV1TaskRevokeSourceNonUsage - The TaskRevokeSourceNonUsage message.

type C1APITaskV1TaskRevokeSourceRequest

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

C1APITaskV1TaskRevokeSourceRequest - The TaskRevokeSourceRequest message.

type C1APITaskV1TaskRevokeSourceReview

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

C1APITaskV1TaskRevokeSourceReview - The TaskRevokeSourceReview message.

type C1APITaskV1TaskSearchRequest

type C1APITaskV1TaskSearchRequest 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 *C1APITaskV1TaskSearchRequestCurrentStep `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 *C1APITaskV1TaskExpandMask `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 []C1APITaskV1TaskRef `json:"refs,omitempty"`
	// The sortBy field.
	SortBy *C1APITaskV1TaskSearchRequestSortBy `json:"sortBy,omitempty"`
	//  Find Tasks which are referncing this C1 UserID
	//
	SubjectIds []string `json:"subjectIds,omitempty"`
	// The taskStates field.
	TaskStates []C1APITaskV1TaskSearchRequestTaskStates `json:"taskStates,omitempty"`
	//  TODO(pquerna): why is this a MESSAGE that only CONTAINS AN ENUM?
	//
	TaskTypes []C1APITaskV1TaskType `json:"taskTypes,omitempty"`
}

C1APITaskV1TaskSearchRequest - The TaskSearchRequest message.

type C1APITaskV1TaskSearchRequestCurrentStep

type C1APITaskV1TaskSearchRequestCurrentStep string

C1APITaskV1TaskSearchRequestCurrentStep - The currentStep field.

const (
	C1APITaskV1TaskSearchRequestCurrentStepTaskSearchCurrentStepUnspecified C1APITaskV1TaskSearchRequestCurrentStep = "TASK_SEARCH_CURRENT_STEP_UNSPECIFIED"
	C1APITaskV1TaskSearchRequestCurrentStepTaskSearchCurrentStepApproval    C1APITaskV1TaskSearchRequestCurrentStep = "TASK_SEARCH_CURRENT_STEP_APPROVAL"
	C1APITaskV1TaskSearchRequestCurrentStepTaskSearchCurrentStepProvision   C1APITaskV1TaskSearchRequestCurrentStep = "TASK_SEARCH_CURRENT_STEP_PROVISION"
)

func (C1APITaskV1TaskSearchRequestCurrentStep) ToPointer

func (*C1APITaskV1TaskSearchRequestCurrentStep) UnmarshalJSON

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

type C1APITaskV1TaskSearchRequestSortBy

type C1APITaskV1TaskSearchRequestSortBy string

C1APITaskV1TaskSearchRequestSortBy - The sortBy field.

const (
	C1APITaskV1TaskSearchRequestSortByTaskSearchSortByUnspecified  C1APITaskV1TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_UNSPECIFIED"
	C1APITaskV1TaskSearchRequestSortByTaskSearchSortByAccount      C1APITaskV1TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_ACCOUNT"
	C1APITaskV1TaskSearchRequestSortByTaskSearchSortByResource     C1APITaskV1TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_RESOURCE"
	C1APITaskV1TaskSearchRequestSortByTaskSearchSortByAccountOwner C1APITaskV1TaskSearchRequestSortBy = "TASK_SEARCH_SORT_BY_ACCOUNT_OWNER"
)

func (C1APITaskV1TaskSearchRequestSortBy) ToPointer

func (*C1APITaskV1TaskSearchRequestSortBy) UnmarshalJSON

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

type C1APITaskV1TaskSearchRequestTaskStates

type C1APITaskV1TaskSearchRequestTaskStates string
const (
	C1APITaskV1TaskSearchRequestTaskStatesTaskStateUnspecified C1APITaskV1TaskSearchRequestTaskStates = "TASK_STATE_UNSPECIFIED"
	C1APITaskV1TaskSearchRequestTaskStatesTaskStateOpen        C1APITaskV1TaskSearchRequestTaskStates = "TASK_STATE_OPEN"
	C1APITaskV1TaskSearchRequestTaskStatesTaskStateClosed      C1APITaskV1TaskSearchRequestTaskStates = "TASK_STATE_CLOSED"
)

func (C1APITaskV1TaskSearchRequestTaskStates) ToPointer

func (*C1APITaskV1TaskSearchRequestTaskStates) UnmarshalJSON

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

type C1APITaskV1TaskSearchResponse

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

C1APITaskV1TaskSearchResponse - The TaskSearchResponse message.

type C1APITaskV1TaskServiceCreateGrantRequest

type C1APITaskV1TaskServiceCreateGrantRequest 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    *C1APITaskV1TaskExpandMask `json:"expandMask,omitempty"`
	GrantDuration *string                    `json:"grantDuration,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
}

C1APITaskV1TaskServiceCreateGrantRequest - The TaskServiceCreateGrantRequest message.

type C1APITaskV1TaskServiceCreateGrantResponse

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

C1APITaskV1TaskServiceCreateGrantResponse - The TaskServiceCreateGrantResponse message.

type C1APITaskV1TaskServiceCreateRevokeRequest

type C1APITaskV1TaskServiceCreateRevokeRequest 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 *C1APITaskV1TaskExpandMask `json:"expandMask,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
}

C1APITaskV1TaskServiceCreateRevokeRequest - The TaskServiceCreateRevokeRequest message.

type C1APITaskV1TaskServiceCreateRevokeResponse

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

C1APITaskV1TaskServiceCreateRevokeResponse - The TaskServiceCreateRevokeResponse message.

type C1APITaskV1TaskServiceGetResponse

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

C1APITaskV1TaskServiceGetResponse - The TaskServiceGetResponse message.

type C1APITaskV1TaskState

type C1APITaskV1TaskState string

C1APITaskV1TaskState - State

const (
	C1APITaskV1TaskStateTaskStateUnspecified C1APITaskV1TaskState = "TASK_STATE_UNSPECIFIED"
	C1APITaskV1TaskStateTaskStateOpen        C1APITaskV1TaskState = "TASK_STATE_OPEN"
	C1APITaskV1TaskStateTaskStateClosed      C1APITaskV1TaskState = "TASK_STATE_CLOSED"
)

func (C1APITaskV1TaskState) ToPointer

func (*C1APITaskV1TaskState) UnmarshalJSON

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

type C1APITaskV1TaskType

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

C1APITaskV1TaskType - 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 C1APITaskV1TaskTypeCertify

type C1APITaskV1TaskTypeCertify 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     *C1APITaskV1TaskTypeCertifyOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time                         `json:"outcomeTime,omitempty"`
}

C1APITaskV1TaskTypeCertify - The TaskTypeCertify message.

type C1APITaskV1TaskTypeCertifyOutcome

type C1APITaskV1TaskTypeCertifyOutcome string

C1APITaskV1TaskTypeCertifyOutcome - The outcome field.

const (
	C1APITaskV1TaskTypeCertifyOutcomeCertifyOutcomeUnspecified C1APITaskV1TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_UNSPECIFIED"
	C1APITaskV1TaskTypeCertifyOutcomeCertifyOutcomeCertified   C1APITaskV1TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_CERTIFIED"
	C1APITaskV1TaskTypeCertifyOutcomeCertifyOutcomeDecertified C1APITaskV1TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_DECERTIFIED"
	C1APITaskV1TaskTypeCertifyOutcomeCertifyOutcomeError       C1APITaskV1TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_ERROR"
	C1APITaskV1TaskTypeCertifyOutcomeCertifyOutcomeCancelled   C1APITaskV1TaskTypeCertifyOutcome = "CERTIFY_OUTCOME_CANCELLED"
)

func (C1APITaskV1TaskTypeCertifyOutcome) ToPointer

func (*C1APITaskV1TaskTypeCertifyOutcome) UnmarshalJSON

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

type C1APITaskV1TaskTypeGrant

type C1APITaskV1TaskTypeGrant 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     *C1APITaskV1TaskTypeGrantOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time                       `json:"outcomeTime,omitempty"`
}

C1APITaskV1TaskTypeGrant - The TaskTypeGrant message.

type C1APITaskV1TaskTypeGrantOutcome

type C1APITaskV1TaskTypeGrantOutcome string

C1APITaskV1TaskTypeGrantOutcome - The outcome field.

const (
	C1APITaskV1TaskTypeGrantOutcomeGrantOutcomeUnspecified C1APITaskV1TaskTypeGrantOutcome = "GRANT_OUTCOME_UNSPECIFIED"
	C1APITaskV1TaskTypeGrantOutcomeGrantOutcomeGranted     C1APITaskV1TaskTypeGrantOutcome = "GRANT_OUTCOME_GRANTED"
	C1APITaskV1TaskTypeGrantOutcomeGrantOutcomeDenied      C1APITaskV1TaskTypeGrantOutcome = "GRANT_OUTCOME_DENIED"
	C1APITaskV1TaskTypeGrantOutcomeGrantOutcomeError       C1APITaskV1TaskTypeGrantOutcome = "GRANT_OUTCOME_ERROR"
	C1APITaskV1TaskTypeGrantOutcomeGrantOutcomeCancelled   C1APITaskV1TaskTypeGrantOutcome = "GRANT_OUTCOME_CANCELLED"
)

func (C1APITaskV1TaskTypeGrantOutcome) ToPointer

func (*C1APITaskV1TaskTypeGrantOutcome) UnmarshalJSON

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

type C1APITaskV1TaskTypeRevoke

type C1APITaskV1TaskTypeRevoke 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     *C1APITaskV1TaskTypeRevokeOutcome `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 *C1APITaskV1TaskRevokeSource `json:"source,omitempty"`
}

C1APITaskV1TaskTypeRevoke - The TaskTypeRevoke message.

type C1APITaskV1TaskTypeRevokeOutcome

type C1APITaskV1TaskTypeRevokeOutcome string

C1APITaskV1TaskTypeRevokeOutcome - The outcome field.

const (
	C1APITaskV1TaskTypeRevokeOutcomeRevokeOutcomeUnspecified C1APITaskV1TaskTypeRevokeOutcome = "REVOKE_OUTCOME_UNSPECIFIED"
	C1APITaskV1TaskTypeRevokeOutcomeRevokeOutcomeRevoked     C1APITaskV1TaskTypeRevokeOutcome = "REVOKE_OUTCOME_REVOKED"
	C1APITaskV1TaskTypeRevokeOutcomeRevokeOutcomeDenied      C1APITaskV1TaskTypeRevokeOutcome = "REVOKE_OUTCOME_DENIED"
	C1APITaskV1TaskTypeRevokeOutcomeRevokeOutcomeError       C1APITaskV1TaskTypeRevokeOutcome = "REVOKE_OUTCOME_ERROR"
	C1APITaskV1TaskTypeRevokeOutcomeRevokeOutcomeCancelled   C1APITaskV1TaskTypeRevokeOutcome = "REVOKE_OUTCOME_CANCELLED"
)

func (C1APITaskV1TaskTypeRevokeOutcome) ToPointer

func (*C1APITaskV1TaskTypeRevokeOutcome) UnmarshalJSON

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

type C1APITaskV1TaskView

type C1APITaskV1TaskView 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 *C1APITaskV1Task `json:"task,omitempty"`
	// The userPath field.
	UserPath *string `json:"userPath,omitempty"`
}

C1APITaskV1TaskView - The TaskView message.

type C1APIUserV1User

type C1APIUserV1User 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 []C1APIUserV1UserAttributeMappingSource `json:"departmentSources,omitempty"`
	// The directoryIds field.
	DirectoryIds []string `json:"directoryIds,omitempty"`
	// The directoryStatus field.
	DirectoryStatus *C1APIUserV1UserDirectoryStatus `json:"directoryStatus,omitempty"`
	// The directoryStatusSources field.
	DirectoryStatusSources []C1APIUserV1UserAttributeMappingSource `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 []C1APIUserV1UserAttributeMappingSource `json:"employmentStatusSources,omitempty"`
	// The employmentType field.
	EmploymentType *string `json:"employmentType,omitempty"`
	// The employmentTypeSources field.
	EmploymentTypeSources []C1APIUserV1UserAttributeMappingSource `json:"employmentTypeSources,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The jobTitle field.
	JobTitle *string `json:"jobTitle,omitempty"`
	// The jobTitleSources field.
	JobTitleSources []C1APIUserV1UserAttributeMappingSource `json:"jobTitleSources,omitempty"`
	// The managerIds field.
	ManagerIds []string `json:"managerIds,omitempty"`
	// The managerSources field.
	ManagerSources []C1APIUserV1UserAttributeMappingSource `json:"managerSources,omitempty"`
	// The roleIds field.
	RoleIds []string `json:"roleIds,omitempty"`
	// The status field.
	Status    *C1APIUserV1UserStatus `json:"status,omitempty"`
	UpdatedAt *time.Time             `json:"updatedAt,omitempty"`
}

C1APIUserV1User - The User message.

type C1APIUserV1UserAttributeMappingSource

type C1APIUserV1UserAttributeMappingSource 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"`
}

C1APIUserV1UserAttributeMappingSource - The UserAttributeMappingSource message.

type C1APIUserV1UserDirectoryStatus

type C1APIUserV1UserDirectoryStatus string

C1APIUserV1UserDirectoryStatus - The directoryStatus field.

const (
	C1APIUserV1UserDirectoryStatusUnknown  C1APIUserV1UserDirectoryStatus = "UNKNOWN"
	C1APIUserV1UserDirectoryStatusEnabled  C1APIUserV1UserDirectoryStatus = "ENABLED"
	C1APIUserV1UserDirectoryStatusDisabled C1APIUserV1UserDirectoryStatus = "DISABLED"
	C1APIUserV1UserDirectoryStatusDeleted  C1APIUserV1UserDirectoryStatus = "DELETED"
)

func (C1APIUserV1UserDirectoryStatus) ToPointer

func (*C1APIUserV1UserDirectoryStatus) UnmarshalJSON

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

type C1APIUserV1UserServiceGetResponse

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

C1APIUserV1UserServiceGetResponse - The UserServiceGetResponse message.

type C1APIUserV1UserStatus

type C1APIUserV1UserStatus string

C1APIUserV1UserStatus - The status field.

const (
	C1APIUserV1UserStatusUnknown  C1APIUserV1UserStatus = "UNKNOWN"
	C1APIUserV1UserStatusEnabled  C1APIUserV1UserStatus = "ENABLED"
	C1APIUserV1UserStatusDisabled C1APIUserV1UserStatus = "DISABLED"
	C1APIUserV1UserStatusDeleted  C1APIUserV1UserStatus = "DELETED"
)

func (C1APIUserV1UserStatus) ToPointer

func (*C1APIUserV1UserStatus) UnmarshalJSON

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

type C1APIUserV1UserView

type C1APIUserV1UserView 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 *C1APIUserV1User `json:"user,omitempty"`
}

C1APIUserV1UserView - The UserView message.

Source Files

Jump to

Keyboard shortcuts

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