shared

package
v2.1.11 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Accept ¶

type Accept struct {
}

Accept - This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.

type AcceptInstance ¶

type AcceptInstance struct {
}

AcceptInstance - This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.

The instance is just a marker for it being copied into an active policy.

type Actions ¶

type Actions string
const (
	ActionsTaskActionTypeUnspecified                              Actions = "TASK_ACTION_TYPE_UNSPECIFIED"
	ActionsTaskActionTypeClose                                    Actions = "TASK_ACTION_TYPE_CLOSE"
	ActionsTaskActionTypeApprove                                  Actions = "TASK_ACTION_TYPE_APPROVE"
	ActionsTaskActionTypeDeny                                     Actions = "TASK_ACTION_TYPE_DENY"
	ActionsTaskActionTypeComment                                  Actions = "TASK_ACTION_TYPE_COMMENT"
	ActionsTaskActionTypeDelete                                   Actions = "TASK_ACTION_TYPE_DELETE"
	ActionsTaskActionTypeReassign                                 Actions = "TASK_ACTION_TYPE_REASSIGN"
	ActionsTaskActionTypeRestart                                  Actions = "TASK_ACTION_TYPE_RESTART"
	ActionsTaskActionTypeSendReminder                             Actions = "TASK_ACTION_TYPE_SEND_REMINDER"
	ActionsTaskActionTypeProvisionComplete                        Actions = "TASK_ACTION_TYPE_PROVISION_COMPLETE"
	ActionsTaskActionTypeProvisionCancelled                       Actions = "TASK_ACTION_TYPE_PROVISION_CANCELLED"
	ActionsTaskActionTypeProvisionErrored                         Actions = "TASK_ACTION_TYPE_PROVISION_ERRORED"
	ActionsTaskActionTypeProvisionAppUserTargetCreated            Actions = "TASK_ACTION_TYPE_PROVISION_APP_USER_TARGET_CREATED"
	ActionsTaskActionTypeRollbackSkipped                          Actions = "TASK_ACTION_TYPE_ROLLBACK_SKIPPED"
	ActionsTaskActionTypeHardReset                                Actions = "TASK_ACTION_TYPE_HARD_RESET"
	ActionsTaskActionTypeEscalateToEmergencyAccess                Actions = "TASK_ACTION_TYPE_ESCALATE_TO_EMERGENCY_ACCESS"
	ActionsTaskActionTypeChangePolicy                             Actions = "TASK_ACTION_TYPE_CHANGE_POLICY"
	ActionsTaskActionTypeRecalculateDenialFromBasePolicyDecisions Actions = "TASK_ACTION_TYPE_RECALCULATE_DENIAL_FROM_BASE_POLICY_DECISIONS"
)

func (Actions) ToPointer ¶

func (e Actions) ToPointer() *Actions

func (*Actions) UnmarshalJSON ¶

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

type AddAppEntitlementOwnerRequest ¶

type AddAppEntitlementOwnerRequest struct {
	// The user_id field for the user to add as an owner of the app entitlement.
	UserID *string `json:"userId,omitempty"`
}

AddAppEntitlementOwnerRequest - The request message for adding an app entitlement owner.

func (*AddAppEntitlementOwnerRequest) GetUserID ¶

func (o *AddAppEntitlementOwnerRequest) GetUserID() *string

type AddAppEntitlementOwnerResponse ¶

type AddAppEntitlementOwnerResponse struct {
}

AddAppEntitlementOwnerResponse - The empty response message for adding an app entitlement owner.

type AddAppOwnerRequest ¶

type AddAppOwnerRequest struct {
}

AddAppOwnerRequest - Empty request body. Just placeholder for the add app owner request which uses URL values for input.

type AddAppOwnerResponse ¶

type AddAppOwnerResponse struct {
}

AddAppOwnerResponse - Empty response with a status code indicating success

type Annotations ¶

type Annotations struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

Annotations - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*Annotations) GetAdditionalProperties ¶

func (o *Annotations) GetAdditionalProperties() map[string]interface{}

func (*Annotations) GetAtType ¶

func (o *Annotations) GetAtType() *string

func (Annotations) MarshalJSON ¶

func (a Annotations) MarshalJSON() ([]byte, error)

func (*Annotations) UnmarshalJSON ¶

func (a *Annotations) UnmarshalJSON(data []byte) error

type App ¶

type App struct {
	// The ID of the Account named by AccountName.
	AppAccountID *string `json:"appAccountId,omitempty"`
	// The AccountName of the app. For example, AWS is AccountID, Github is Org Name, and Okta is Okta Subdomain.
	AppAccountName *string `json:"appAccountName,omitempty"`
	// The ID of the Certify Policy associated with this App.
	CertifyPolicyID *string    `json:"certifyPolicyId,omitempty"`
	CreatedAt       *time.Time `json:"createdAt,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The app's description.
	Description *string `json:"description,omitempty"`
	// The app's display name.
	DisplayName *string `json:"displayName,omitempty"`
	FieldMask   *string `json:"fieldMask,omitempty"`
	// The ID of the Grant Policy associated with this App.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The URL of an icon to display for the app.
	IconURL *string `json:"iconUrl,omitempty"`
	// The ID of the app.
	ID *string `json:"id,omitempty"`
	// Specifies if the app is a directory.
	IsDirectory *bool `json:"isDirectory,omitempty"`
	// The URL of a logo to display for the app.
	LogoURI *string `json:"logoUri,omitempty"`
	// The cost of an app per-seat, so that total cost can be calculated by the grant count.
	MonthlyCostUsd *float64 `json:"monthlyCostUsd,omitempty"`
	// The ID of the app that created this app, if any.
	ParentAppID *string `json:"parentAppId,omitempty"`
	// The ID of the Revoke Policy associated with this App.
	RevokePolicyID *string    `json:"revokePolicyId,omitempty"`
	UpdatedAt      *time.Time `json:"updatedAt,omitempty"`
	// The number of users with grants to this app.
	UserCount *string `json:"userCount,omitempty"`
}

The App object provides all of the details for an app, as well as some configuration.

func (*App) GetAppAccountID ¶

func (o *App) GetAppAccountID() *string

func (*App) GetAppAccountName ¶

func (o *App) GetAppAccountName() *string

func (*App) GetCertifyPolicyID ¶

func (o *App) GetCertifyPolicyID() *string

func (*App) GetCreatedAt ¶

func (o *App) GetCreatedAt() *time.Time

func (*App) GetDeletedAt ¶

func (o *App) GetDeletedAt() *time.Time

func (*App) GetDescription ¶

func (o *App) GetDescription() *string

func (*App) GetDisplayName ¶

func (o *App) GetDisplayName() *string

func (*App) GetFieldMask ¶

func (o *App) GetFieldMask() *string

func (*App) GetGrantPolicyID ¶

func (o *App) GetGrantPolicyID() *string

func (*App) GetID ¶

func (o *App) GetID() *string

func (*App) GetIconURL ¶

func (o *App) GetIconURL() *string

func (*App) GetIsDirectory ¶

func (o *App) GetIsDirectory() *bool

func (*App) GetLogoURI ¶

func (o *App) GetLogoURI() *string

func (*App) GetMonthlyCostUsd ¶

func (o *App) GetMonthlyCostUsd() *float64

func (*App) GetParentAppID ¶

func (o *App) GetParentAppID() *string

func (*App) GetRevokePolicyID ¶

func (o *App) GetRevokePolicyID() *string

func (*App) GetUpdatedAt ¶

func (o *App) GetUpdatedAt() *time.Time

func (*App) GetUserCount ¶

func (o *App) GetUserCount() *string

func (App) MarshalJSON ¶

func (a App) MarshalJSON() ([]byte, error)

func (*App) UnmarshalJSON ¶

func (a *App) UnmarshalJSON(data []byte) error

type AppActionsServiceGenerateReportRequest ¶

type AppActionsServiceGenerateReportRequest struct {
}

AppActionsServiceGenerateReportRequest - Empty request body. Just placeholder for the generate app report request which uses URL values for input.

type AppActionsServiceGenerateReportResponse ¶

type AppActionsServiceGenerateReportResponse struct {
}

AppActionsServiceGenerateReportResponse - Empty response body. Status code indicates success.

type AppEntitlement ¶

type AppEntitlement struct {
	// ProvisionPolicy is a oneOf that indicates how a provision step should be processed.
	//
	// 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:"provisionerPolicy,omitempty"`
	// The alias of the app entitlement used by Cone. Also exact-match queryable.
	Alias *string `json:"alias,omitempty"`
	// The ID of the app that is associated with the app entitlement.
	AppID *string `json:"appId,omitempty"`
	// The ID of the app resource that is associated with the app entitlement
	AppResourceID *string `json:"appResourceId,omitempty"`
	// The ID of the app resource type that is associated with the app entitlement
	AppResourceTypeID *string `json:"appResourceTypeId,omitempty"`
	// The ID of the policy that will be used for certify tickets related to the app entitlement.
	CertifyPolicyID *string `json:"certifyPolicyId,omitempty"`
	// The IDs of different compliance frameworks associated with this app entitlement ex (SOX, HIPAA, PCI, etc.)
	ComplianceFrameworkValueIds []string   `json:"complianceFrameworkValueIds,omitempty"`
	CreatedAt                   *time.Time `json:"createdAt,omitempty"`
	DeletedAt                   *time.Time `json:"deletedAt,omitempty"`
	// The description of the app entitlement.
	Description *string `json:"description,omitempty"`
	// The display name of the app entitlement.
	DisplayName   *string        `json:"displayName,omitempty"`
	DurationGrant *string        `json:"durationGrant,omitempty"`
	DurationUnset *DurationUnset `json:"durationUnset,omitempty"`
	// This enables tasks to be created in an emergency and use a selected emergency access policy.
	EmergencyGrantEnabled *bool `json:"emergencyGrantEnabled,omitempty"`
	// The ID of the policy that will be used for emergency access grant tasks.
	EmergencyGrantPolicyID *string `json:"emergencyGrantPolicyId,omitempty"`
	// The amount of grants open for this entitlement
	GrantCount *string `json:"grantCount,omitempty"`
	// The ID of the policy that will be used for grant tickets related to the app entitlement.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The unique ID for the App Entitlement.
	ID *string `json:"id,omitempty"`
	// The ID of the policy that will be used for revoke tickets related to the app entitlement
	RevokePolicyID *string `json:"revokePolicyId,omitempty"`
	// The riskLevelValueId field.
	RiskLevelValueID *string `json:"riskLevelValueId,omitempty"`
	// The slug is displayed as an oval next to the name in the frontend of C1, it tells you what permission the entitlement grants. See https://www.conductorone.com/docs/product/manage-access/entitlements/
	Slug *string `json:"slug,omitempty"`
	// This field indicates if this is a system builtin entitlement.
	SystemBuiltin  *bool      `json:"systemBuiltin,omitempty"`
	UpdatedAt      *time.Time `json:"updatedAt,omitempty"`
	UserEditedMask *string    `json:"userEditedMask,omitempty"`
}

AppEntitlement - The app entitlement represents one permission in a downstream App (SAAS) that can be granted. For example, GitHub Read vs GitHub Write.

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

func (*AppEntitlement) GetAlias ¶

func (o *AppEntitlement) GetAlias() *string

func (*AppEntitlement) GetAppID ¶

func (o *AppEntitlement) GetAppID() *string

func (*AppEntitlement) GetAppResourceID ¶

func (o *AppEntitlement) GetAppResourceID() *string

func (*AppEntitlement) GetAppResourceTypeID ¶

func (o *AppEntitlement) GetAppResourceTypeID() *string

func (*AppEntitlement) GetCertifyPolicyID ¶

func (o *AppEntitlement) GetCertifyPolicyID() *string

func (*AppEntitlement) GetComplianceFrameworkValueIds ¶

func (o *AppEntitlement) GetComplianceFrameworkValueIds() []string

func (*AppEntitlement) GetCreatedAt ¶

func (o *AppEntitlement) GetCreatedAt() *time.Time

func (*AppEntitlement) GetDeletedAt ¶

func (o *AppEntitlement) GetDeletedAt() *time.Time

func (*AppEntitlement) GetDescription ¶

func (o *AppEntitlement) GetDescription() *string

func (*AppEntitlement) GetDisplayName ¶

func (o *AppEntitlement) GetDisplayName() *string

func (*AppEntitlement) GetDurationGrant ¶

func (o *AppEntitlement) GetDurationGrant() *string

func (*AppEntitlement) GetDurationUnset ¶

func (o *AppEntitlement) GetDurationUnset() *DurationUnset

func (*AppEntitlement) GetEmergencyGrantEnabled ¶

func (o *AppEntitlement) GetEmergencyGrantEnabled() *bool

func (*AppEntitlement) GetEmergencyGrantPolicyID ¶

func (o *AppEntitlement) GetEmergencyGrantPolicyID() *string

func (*AppEntitlement) GetGrantCount ¶

func (o *AppEntitlement) GetGrantCount() *string

func (*AppEntitlement) GetGrantPolicyID ¶

func (o *AppEntitlement) GetGrantPolicyID() *string

func (*AppEntitlement) GetID ¶

func (o *AppEntitlement) GetID() *string

func (*AppEntitlement) GetProvisionPolicy ¶

func (o *AppEntitlement) GetProvisionPolicy() *ProvisionPolicy

func (*AppEntitlement) GetRevokePolicyID ¶

func (o *AppEntitlement) GetRevokePolicyID() *string

func (*AppEntitlement) GetRiskLevelValueID ¶

func (o *AppEntitlement) GetRiskLevelValueID() *string

func (*AppEntitlement) GetSlug ¶

func (o *AppEntitlement) GetSlug() *string

func (*AppEntitlement) GetSystemBuiltin ¶

func (o *AppEntitlement) GetSystemBuiltin() *bool

func (*AppEntitlement) GetUpdatedAt ¶

func (o *AppEntitlement) GetUpdatedAt() *time.Time

func (*AppEntitlement) GetUserEditedMask ¶

func (o *AppEntitlement) GetUserEditedMask() *string

func (AppEntitlement) MarshalJSON ¶

func (a AppEntitlement) MarshalJSON() ([]byte, error)

func (*AppEntitlement) UnmarshalJSON ¶

func (a *AppEntitlement) UnmarshalJSON(data []byte) error

type AppEntitlementExpandMask ¶

type AppEntitlementExpandMask struct {
	// Array of strings to describe which items to expand on the return value. Can be any combination of "*", "app_id", "app_resource_type_id", or "app_resource_id".
	Paths []string `json:"paths,omitempty"`
}

AppEntitlementExpandMask - The app entitlement expand mask allows the user to get additional information when getting responses containing app entitlement views.

func (*AppEntitlementExpandMask) GetPaths ¶

func (o *AppEntitlementExpandMask) GetPaths() []string

type AppEntitlementInput ¶

type AppEntitlementInput struct {
	// ProvisionPolicy is a oneOf that indicates how a provision step should be processed.
	//
	// 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:"provisionerPolicy,omitempty"`
	// The ID of the app that is associated with the app entitlement.
	AppID *string `json:"appId,omitempty"`
	// The ID of the app resource that is associated with the app entitlement
	AppResourceID *string `json:"appResourceId,omitempty"`
	// The ID of the app resource type that is associated with the app entitlement
	AppResourceTypeID *string `json:"appResourceTypeId,omitempty"`
	// The ID of the policy that will be used for certify tickets related to the app entitlement.
	CertifyPolicyID *string `json:"certifyPolicyId,omitempty"`
	// The IDs of different compliance frameworks associated with this app entitlement ex (SOX, HIPAA, PCI, etc.)
	ComplianceFrameworkValueIds []string `json:"complianceFrameworkValueIds,omitempty"`
	// The description of the app entitlement.
	Description *string `json:"description,omitempty"`
	// The display name of the app entitlement.
	DisplayName   *string        `json:"displayName,omitempty"`
	DurationGrant *string        `json:"durationGrant,omitempty"`
	DurationUnset *DurationUnset `json:"durationUnset,omitempty"`
	// This enables tasks to be created in an emergency and use a selected emergency access policy.
	EmergencyGrantEnabled *bool `json:"emergencyGrantEnabled,omitempty"`
	// The ID of the policy that will be used for emergency access grant tasks.
	EmergencyGrantPolicyID *string `json:"emergencyGrantPolicyId,omitempty"`
	// The ID of the policy that will be used for grant tickets related to the app entitlement.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The ID of the policy that will be used for revoke tickets related to the app entitlement
	RevokePolicyID *string `json:"revokePolicyId,omitempty"`
	// The riskLevelValueId field.
	RiskLevelValueID *string `json:"riskLevelValueId,omitempty"`
	// The slug is displayed as an oval next to the name in the frontend of C1, it tells you what permission the entitlement grants. See https://www.conductorone.com/docs/product/manage-access/entitlements/
	Slug           *string `json:"slug,omitempty"`
	UserEditedMask *string `json:"userEditedMask,omitempty"`
}

AppEntitlementInput - The app entitlement represents one permission in a downstream App (SAAS) that can be granted. For example, GitHub Read vs GitHub Write.

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

func (*AppEntitlementInput) GetAppID ¶

func (o *AppEntitlementInput) GetAppID() *string

func (*AppEntitlementInput) GetAppResourceID ¶

func (o *AppEntitlementInput) GetAppResourceID() *string

func (*AppEntitlementInput) GetAppResourceTypeID ¶

func (o *AppEntitlementInput) GetAppResourceTypeID() *string

func (*AppEntitlementInput) GetCertifyPolicyID ¶

func (o *AppEntitlementInput) GetCertifyPolicyID() *string

func (*AppEntitlementInput) GetComplianceFrameworkValueIds ¶

func (o *AppEntitlementInput) GetComplianceFrameworkValueIds() []string

func (*AppEntitlementInput) GetDescription ¶

func (o *AppEntitlementInput) GetDescription() *string

func (*AppEntitlementInput) GetDisplayName ¶

func (o *AppEntitlementInput) GetDisplayName() *string

func (*AppEntitlementInput) GetDurationGrant ¶

func (o *AppEntitlementInput) GetDurationGrant() *string

func (*AppEntitlementInput) GetDurationUnset ¶

func (o *AppEntitlementInput) GetDurationUnset() *DurationUnset

func (*AppEntitlementInput) GetEmergencyGrantEnabled ¶

func (o *AppEntitlementInput) GetEmergencyGrantEnabled() *bool

func (*AppEntitlementInput) GetEmergencyGrantPolicyID ¶

func (o *AppEntitlementInput) GetEmergencyGrantPolicyID() *string

func (*AppEntitlementInput) GetGrantPolicyID ¶

func (o *AppEntitlementInput) GetGrantPolicyID() *string

func (*AppEntitlementInput) GetProvisionPolicy ¶

func (o *AppEntitlementInput) GetProvisionPolicy() *ProvisionPolicy

func (*AppEntitlementInput) GetRevokePolicyID ¶

func (o *AppEntitlementInput) GetRevokePolicyID() *string

func (*AppEntitlementInput) GetRiskLevelValueID ¶

func (o *AppEntitlementInput) GetRiskLevelValueID() *string

func (*AppEntitlementInput) GetSlug ¶

func (o *AppEntitlementInput) GetSlug() *string

func (*AppEntitlementInput) GetUserEditedMask ¶

func (o *AppEntitlementInput) GetUserEditedMask() *string

type AppEntitlementRef ¶

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

The AppEntitlementRef message.

func (*AppEntitlementRef) GetAppID ¶

func (o *AppEntitlementRef) GetAppID() *string

func (*AppEntitlementRef) GetID ¶

func (o *AppEntitlementRef) GetID() *string

type AppEntitlementReference ¶

type AppEntitlementReference struct {
	// The ID of the Entitlement.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The ID of the App this entitlement belongs to.
	AppID *string `json:"appId,omitempty"`
}

AppEntitlementReference - This object references an app entitlement's ID and AppID.

func (*AppEntitlementReference) GetAppEntitlementID ¶

func (o *AppEntitlementReference) GetAppEntitlementID() *string

func (*AppEntitlementReference) GetAppID ¶

func (o *AppEntitlementReference) GetAppID() *string

type AppEntitlementSearchServiceSearchRequest ¶

type AppEntitlementSearchServiceSearchRequest struct {
	// The app entitlement expand mask allows the user to get additional information when getting responses containing app entitlement views.
	AppEntitlementExpandMask *AppEntitlementExpandMask `json:"expandMask,omitempty"`
	// Search for app entitlements that are being reviewed as part of this access review campaign.
	AccessReviewID *string `json:"accessReviewId,omitempty"`
	// Search for app entitlements that have this alias (exact match).
	Alias *string `json:"alias,omitempty"`
	// Search for app entitlements contained in any of these apps.
	AppIds []string `json:"appIds,omitempty"`
	// Search for app entitlements that are granted to any of these app user ids.
	AppUserIds []string `json:"appUserIds,omitempty"`
	// Search for app entitlements that are part of these compliace frameworks.
	ComplianceFrameworkIds []string `json:"complianceFrameworkIds,omitempty"`
	// Exclude app entitlements from the results that are in these app IDs.
	ExcludeAppIds []string `json:"excludeAppIds,omitempty"`
	// Exclude app entitlements from the results that these app users have granted.
	ExcludeAppUserIds []string `json:"excludeAppUserIds,omitempty"`
	// Include deleted app entitlements, this includes app entitlements that have a deleted parent object (app, app resource, app resource type)
	IncludeDeleted *bool `json:"includeDeleted,omitempty"`
	// Restrict results to only those who have expiring app entitlement user bindings.
	OnlyGetExpiring *bool `json:"onlyGetExpiring,omitempty"`
	// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// Query the app entitlements with a fuzzy search on display name and description.
	Query *string `json:"query,omitempty"`
	// Search for app entitlements that are for items on these resource types.
	ResourceTypeIds []string `json:"resourceTypeIds,omitempty"`
	// Search for app entitlements with these risk levels.
	RiskLevelIds []string `json:"riskLevelIds,omitempty"`
}

AppEntitlementSearchServiceSearchRequest - Search app entitlements by a variety of filters.

func (*AppEntitlementSearchServiceSearchRequest) GetAccessReviewID ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetAccessReviewID() *string

func (*AppEntitlementSearchServiceSearchRequest) GetAlias ¶

func (*AppEntitlementSearchServiceSearchRequest) GetAppEntitlementExpandMask ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetAppEntitlementExpandMask() *AppEntitlementExpandMask

func (*AppEntitlementSearchServiceSearchRequest) GetAppIds ¶

func (*AppEntitlementSearchServiceSearchRequest) GetAppUserIds ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetAppUserIds() []string

func (*AppEntitlementSearchServiceSearchRequest) GetComplianceFrameworkIds ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetComplianceFrameworkIds() []string

func (*AppEntitlementSearchServiceSearchRequest) GetExcludeAppIds ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetExcludeAppIds() []string

func (*AppEntitlementSearchServiceSearchRequest) GetExcludeAppUserIds ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetExcludeAppUserIds() []string

func (*AppEntitlementSearchServiceSearchRequest) GetIncludeDeleted ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetIncludeDeleted() *bool

func (*AppEntitlementSearchServiceSearchRequest) GetOnlyGetExpiring ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetOnlyGetExpiring() *bool

func (*AppEntitlementSearchServiceSearchRequest) GetPageSize ¶

func (*AppEntitlementSearchServiceSearchRequest) GetPageToken ¶

func (*AppEntitlementSearchServiceSearchRequest) GetQuery ¶

func (*AppEntitlementSearchServiceSearchRequest) GetResourceTypeIds ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetResourceTypeIds() []string

func (*AppEntitlementSearchServiceSearchRequest) GetRiskLevelIds ¶

func (o *AppEntitlementSearchServiceSearchRequest) GetRiskLevelIds() []string

type AppEntitlementSearchServiceSearchResponse ¶

type AppEntitlementSearchServiceSearchResponse struct {
	// Indicates one value of a facet.
	Facets *Facets `json:"facets,omitempty"`
	// List of related objects.
	Expanded []Expanded `json:"expanded,omitempty"`
	// List of app entitlement view objects.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The AppEntitlementSearchServiceSearchResponse message.

func (*AppEntitlementSearchServiceSearchResponse) GetExpanded ¶

func (*AppEntitlementSearchServiceSearchResponse) GetFacets ¶

func (*AppEntitlementSearchServiceSearchResponse) GetList ¶

func (*AppEntitlementSearchServiceSearchResponse) GetNextPageToken ¶

func (o *AppEntitlementSearchServiceSearchResponse) GetNextPageToken() *string

type AppEntitlementUserBinding ¶

type AppEntitlementUserBinding struct {
	// The ID of the app entitlement that the app user has access to
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The ID of the app associated with the app entitlement
	AppID *string `json:"appId,omitempty"`
	// The ID of the app user that has access to the app entitlement
	AppUserID     *string    `json:"appUserId,omitempty"`
	CreatedAt     *time.Time `json:"createdAt,omitempty"`
	DeletedAt     *time.Time `json:"deletedAt,omitempty"`
	DeprovisionAt *time.Time `json:"deprovisionAt,omitempty"`
}

The AppEntitlementUserBinding represents the relationship that gives an app user access to an app entitlement

func (*AppEntitlementUserBinding) GetAppEntitlementID ¶

func (o *AppEntitlementUserBinding) GetAppEntitlementID() *string

func (*AppEntitlementUserBinding) GetAppID ¶

func (o *AppEntitlementUserBinding) GetAppID() *string

func (*AppEntitlementUserBinding) GetAppUserID ¶

func (o *AppEntitlementUserBinding) GetAppUserID() *string

func (*AppEntitlementUserBinding) GetCreatedAt ¶

func (o *AppEntitlementUserBinding) GetCreatedAt() *time.Time

func (*AppEntitlementUserBinding) GetDeletedAt ¶

func (o *AppEntitlementUserBinding) GetDeletedAt() *time.Time

func (*AppEntitlementUserBinding) GetDeprovisionAt ¶

func (o *AppEntitlementUserBinding) GetDeprovisionAt() *time.Time

func (AppEntitlementUserBinding) MarshalJSON ¶

func (a AppEntitlementUserBinding) MarshalJSON() ([]byte, error)

func (*AppEntitlementUserBinding) UnmarshalJSON ¶

func (a *AppEntitlementUserBinding) UnmarshalJSON(data []byte) error

type AppEntitlementUserView ¶

type AppEntitlementUserView struct {
	// The AppUserView contains an app user as well as paths for apps, identity users, and last usage in expanded arrays.
	AppUserView                            *AppUserView `json:"appUser,omitempty"`
	AppEntitlementUserBindingCreatedAt     *time.Time   `json:"appEntitlementUserBindingCreatedAt,omitempty"`
	AppEntitlementUserBindingDeprovisionAt *time.Time   `json:"appEntitlementUserBindingDeprovisionAt,omitempty"`
}

The AppEntitlementUserView (aka grant view) describes the relationship between an app user and an entitlement. They have more recently been referred to as grants.

func (*AppEntitlementUserView) GetAppEntitlementUserBindingCreatedAt ¶

func (o *AppEntitlementUserView) GetAppEntitlementUserBindingCreatedAt() *time.Time

func (*AppEntitlementUserView) GetAppEntitlementUserBindingDeprovisionAt ¶

func (o *AppEntitlementUserView) GetAppEntitlementUserBindingDeprovisionAt() *time.Time

func (*AppEntitlementUserView) GetAppUserView ¶

func (o *AppEntitlementUserView) GetAppUserView() *AppUserView

func (AppEntitlementUserView) MarshalJSON ¶

func (a AppEntitlementUserView) MarshalJSON() ([]byte, error)

func (*AppEntitlementUserView) UnmarshalJSON ¶

func (a *AppEntitlementUserView) UnmarshalJSON(data []byte) error

type AppEntitlementView ¶

type AppEntitlementView struct {
	// The app entitlement represents one permission in a downstream App (SAAS) that can be granted. For example, GitHub Read vs GitHub Write.
	//
	// 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"`
	// JSONPATH expression indicating the location of the App object in the  array.
	AppPath *string `json:"appPath,omitempty"`
	// JSONPATH expression indicating the location of the App Resource Type object in the expanded array.
	AppResourcePath *string `json:"appResourcePath,omitempty"`
	// JSONPATH expression indicating the location of the App Resource object in the  array.
	AppResourceTypePath *string `json:"appResourceTypePath,omitempty"`
}

AppEntitlementView - The app entitlement view contains the serialized app entitlement and paths to objects referenced by the app entitlement.

func (*AppEntitlementView) GetAppEntitlement ¶

func (o *AppEntitlementView) GetAppEntitlement() *AppEntitlement

func (*AppEntitlementView) GetAppPath ¶

func (o *AppEntitlementView) GetAppPath() *string

func (*AppEntitlementView) GetAppResourcePath ¶

func (o *AppEntitlementView) GetAppResourcePath() *string

func (*AppEntitlementView) GetAppResourceTypePath ¶

func (o *AppEntitlementView) GetAppResourceTypePath() *string

type AppEntitlementWithUserBindings ¶

type AppEntitlementWithUserBindings struct {
	// The app entitlement view contains the serialized app entitlement and paths to objects referenced by the app entitlement.
	AppEntitlementView *AppEntitlementView `json:"entitlement,omitempty"`
	// An array of AppEntitlementUserBinding objects which represent the relationships that give app users access to the specific app entitlement.
	AppEntitlementUserBindings []AppEntitlementUserBinding `json:"appEntitlementUserBindings,omitempty"`
}

The AppEntitlementWithUserBindings message represents an app entitlement and its associated user bindings.

func (*AppEntitlementWithUserBindings) GetAppEntitlementUserBindings ¶

func (o *AppEntitlementWithUserBindings) GetAppEntitlementUserBindings() []AppEntitlementUserBinding

func (*AppEntitlementWithUserBindings) GetAppEntitlementView ¶

func (o *AppEntitlementWithUserBindings) GetAppEntitlementView() *AppEntitlementView

type AppGroupApproval ¶

type AppGroupApproval struct {
	// Configuration to allow self approval if the target user is a member of the group during this step.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// The ID of the group specified for approval.
	AppGroupID *string `json:"appGroupId,omitempty"`
	// The ID of the app that conatins the group specified for approval.
	AppID *string `json:"appId,omitempty"`
	// Configuration to allow a fallback if the group is empty.
	Fallback *bool `json:"fallback,omitempty"`
	// Configuration to specific which users to fallback to if fallback is enabled and the group is empty.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step.

func (*AppGroupApproval) GetAllowSelfApproval ¶

func (o *AppGroupApproval) GetAllowSelfApproval() *bool

func (*AppGroupApproval) GetAppGroupID ¶

func (o *AppGroupApproval) GetAppGroupID() *string

func (*AppGroupApproval) GetAppID ¶

func (o *AppGroupApproval) GetAppID() *string

func (*AppGroupApproval) GetFallback ¶

func (o *AppGroupApproval) GetFallback() *bool

func (*AppGroupApproval) GetFallbackUserIds ¶

func (o *AppGroupApproval) GetFallbackUserIds() []string

type AppGroupApprovalInput ¶

type AppGroupApprovalInput struct {
}

AppGroupApprovalInput - The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step.

type AppInput ¶

type AppInput struct {
	// The ID of the Certify Policy associated with this App.
	CertifyPolicyID *string `json:"certifyPolicyId,omitempty"`
	// The app's description.
	Description *string `json:"description,omitempty"`
	// The app's display name.
	DisplayName *string `json:"displayName,omitempty"`
	// The ID of the Grant Policy associated with this App.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The URL of an icon to display for the app.
	IconURL *string `json:"iconUrl,omitempty"`
	// The cost of an app per-seat, so that total cost can be calculated by the grant count.
	MonthlyCostUsd *float64 `json:"monthlyCostUsd,omitempty"`
	// The ID of the Revoke Policy associated with this App.
	RevokePolicyID *string `json:"revokePolicyId,omitempty"`
}

AppInput - The App object provides all of the details for an app, as well as some configuration.

func (*AppInput) GetCertifyPolicyID ¶

func (o *AppInput) GetCertifyPolicyID() *string

func (*AppInput) GetDescription ¶

func (o *AppInput) GetDescription() *string

func (*AppInput) GetDisplayName ¶

func (o *AppInput) GetDisplayName() *string

func (*AppInput) GetGrantPolicyID ¶

func (o *AppInput) GetGrantPolicyID() *string

func (*AppInput) GetIconURL ¶

func (o *AppInput) GetIconURL() *string

func (*AppInput) GetMonthlyCostUsd ¶

func (o *AppInput) GetMonthlyCostUsd() *float64

func (*AppInput) GetRevokePolicyID ¶

func (o *AppInput) GetRevokePolicyID() *string

type AppOwnerApproval ¶

type AppOwnerApproval struct {
	// Configuration that allows a user to self approve if they are an app owner during this approval step.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
}

AppOwnerApproval - App owner approval provides the configuration for an approval step when the app owner is the target.

func (*AppOwnerApproval) GetAllowSelfApproval ¶

func (o *AppOwnerApproval) GetAllowSelfApproval() *bool

type AppOwnerApprovalInput ¶

type AppOwnerApprovalInput struct {
}

AppOwnerApprovalInput - App owner approval provides the configuration for an approval step when the app owner is the target.

type AppPopulationReport ¶

type AppPopulationReport struct {
	// The appId is the Id of the app which the report is generated for.
	AppID     *string    `json:"appId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The downloadUrl is the url used for downloading the AppPopulationReport.
	DownloadURL *string `json:"downloadUrl,omitempty"`
	// The hashes field contains the file hashes of the report.
	Hashes map[string]string `json:"hashes,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The state field tracks the state of the AppPopulationReport. This state field can be one of REPORT_STATE_PENDING, REPORT_STATE_UNSPECIFIED, REPORT_STATE_OK, REPORT_STATE_ERROR.
	State *State `json:"state,omitempty"`
}

The AppPopulationReport is a generated report for a specific app that gives details about the app's users. These details include what groups, roles, and other entitlements the users have access to.

func (*AppPopulationReport) GetAppID ¶

func (o *AppPopulationReport) GetAppID() *string

func (*AppPopulationReport) GetCreatedAt ¶

func (o *AppPopulationReport) GetCreatedAt() *time.Time

func (*AppPopulationReport) GetDownloadURL ¶

func (o *AppPopulationReport) GetDownloadURL() *string

func (*AppPopulationReport) GetHashes ¶

func (o *AppPopulationReport) GetHashes() map[string]string

func (*AppPopulationReport) GetID ¶

func (o *AppPopulationReport) GetID() *string

func (*AppPopulationReport) GetState ¶

func (o *AppPopulationReport) GetState() *State

func (AppPopulationReport) MarshalJSON ¶

func (a AppPopulationReport) MarshalJSON() ([]byte, error)

func (*AppPopulationReport) UnmarshalJSON ¶

func (a *AppPopulationReport) UnmarshalJSON(data []byte) error

type AppReportServiceListResponse ¶

type AppReportServiceListResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppPopulationReport `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The AppReportServiceListResponse message contains a list of results and a nextPageToken if applicable.

func (*AppReportServiceListResponse) GetList ¶

func (*AppReportServiceListResponse) GetNextPageToken ¶

func (o *AppReportServiceListResponse) GetNextPageToken() *string

type AppResource ¶

type AppResource struct {
	// The app that this resource belongs to.
	AppID *string `json:"appId,omitempty"`
	// The resource type that this resource is.
	AppResourceTypeID *string    `json:"appResourceTypeId,omitempty"`
	CreatedAt         *time.Time `json:"createdAt,omitempty"`
	// A custom description that can be set for a resource.
	CustomDescription *string    `json:"customDescription,omitempty"`
	DeletedAt         *time.Time `json:"deletedAt,omitempty"`
	// The description set for the resource.
	Description *string `json:"description,omitempty"`
	// The display name for this resource.
	DisplayName *string `json:"displayName,omitempty"`
	// The number of grants to this resource.
	GrantCount *string `json:"grantCount,omitempty"`
	// The id of the resource.
	ID *string `json:"id,omitempty"`
	// The parent resource id, if this resource is a child of another resource.
	ParentAppResourceID *string `json:"parentAppResourceId,omitempty"`
	// The parent resource type id, if this resource is a child of another resource.
	ParentAppResourceTypeID *string    `json:"parentAppResourceTypeId,omitempty"`
	UpdatedAt               *time.Time `json:"updatedAt,omitempty"`
}

AppResource - The app resource message is a single resource that can have entitlements.

func (*AppResource) GetAppID ¶

func (o *AppResource) GetAppID() *string

func (*AppResource) GetAppResourceTypeID ¶

func (o *AppResource) GetAppResourceTypeID() *string

func (*AppResource) GetCreatedAt ¶

func (o *AppResource) GetCreatedAt() *time.Time

func (*AppResource) GetCustomDescription ¶

func (o *AppResource) GetCustomDescription() *string

func (*AppResource) GetDeletedAt ¶

func (o *AppResource) GetDeletedAt() *time.Time

func (*AppResource) GetDescription ¶

func (o *AppResource) GetDescription() *string

func (*AppResource) GetDisplayName ¶

func (o *AppResource) GetDisplayName() *string

func (*AppResource) GetGrantCount ¶

func (o *AppResource) GetGrantCount() *string

func (*AppResource) GetID ¶

func (o *AppResource) GetID() *string

func (*AppResource) GetParentAppResourceID ¶

func (o *AppResource) GetParentAppResourceID() *string

func (*AppResource) GetParentAppResourceTypeID ¶

func (o *AppResource) GetParentAppResourceTypeID() *string

func (*AppResource) GetUpdatedAt ¶

func (o *AppResource) GetUpdatedAt() *time.Time

func (AppResource) MarshalJSON ¶

func (a AppResource) MarshalJSON() ([]byte, error)

func (*AppResource) UnmarshalJSON ¶

func (a *AppResource) UnmarshalJSON(data []byte) error

type AppResourceServiceGetResponse ¶

type AppResourceServiceGetResponse struct {
	// The app resource view returns an app resource with paths for items in the expand mask filled in when this response is returned and a request expand mask has "*" or "app_id" or "resource_type_id".
	AppResourceView *AppResourceView `json:"appResourceView,omitempty"`
	// List of serialized related objects.
	Expanded []AppResourceServiceGetResponseExpanded `json:"expanded,omitempty"`
}

AppResourceServiceGetResponse - The app resource service get response contains the app resource view and array of expanded items indicated by the request's expand mask.

func (*AppResourceServiceGetResponse) GetAppResourceView ¶

func (o *AppResourceServiceGetResponse) GetAppResourceView() *AppResourceView

func (*AppResourceServiceGetResponse) GetExpanded ¶

type AppResourceServiceGetResponseExpanded ¶

type AppResourceServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

AppResourceServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*AppResourceServiceGetResponseExpanded) GetAdditionalProperties ¶

func (o *AppResourceServiceGetResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*AppResourceServiceGetResponseExpanded) GetAtType ¶

func (AppResourceServiceGetResponseExpanded) MarshalJSON ¶

func (a AppResourceServiceGetResponseExpanded) MarshalJSON() ([]byte, error)

func (*AppResourceServiceGetResponseExpanded) UnmarshalJSON ¶

func (a *AppResourceServiceGetResponseExpanded) UnmarshalJSON(data []byte) error

type AppResourceServiceListResponse ¶

type AppResourceServiceListResponse struct {
	// List of serialized related objects.
	Expanded []AppResourceServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppResourceView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The AppResourceServiceListResponse message contains a list of results and a nextPageToken if applicable.

func (*AppResourceServiceListResponse) GetExpanded ¶

func (*AppResourceServiceListResponse) GetList ¶

func (*AppResourceServiceListResponse) GetNextPageToken ¶

func (o *AppResourceServiceListResponse) GetNextPageToken() *string

type AppResourceServiceListResponseExpanded ¶

type AppResourceServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

AppResourceServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*AppResourceServiceListResponseExpanded) GetAdditionalProperties ¶

func (o *AppResourceServiceListResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*AppResourceServiceListResponseExpanded) GetAtType ¶

func (AppResourceServiceListResponseExpanded) MarshalJSON ¶

func (a AppResourceServiceListResponseExpanded) MarshalJSON() ([]byte, error)

func (*AppResourceServiceListResponseExpanded) UnmarshalJSON ¶

func (a *AppResourceServiceListResponseExpanded) UnmarshalJSON(data []byte) error

type AppResourceType ¶

type AppResourceType struct {
	// The ID of the app that is associated with the app resource type
	AppID     *string    `json:"appId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The display name of the app resource type.
	DisplayName *string `json:"displayName,omitempty"`
	// The unique ID for the app resource type.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

The AppResourceType is referenced by an app entitlement defining its resource types. Commonly things like Group or Role.

func (*AppResourceType) GetAppID ¶

func (o *AppResourceType) GetAppID() *string

func (*AppResourceType) GetCreatedAt ¶

func (o *AppResourceType) GetCreatedAt() *time.Time

func (*AppResourceType) GetDeletedAt ¶

func (o *AppResourceType) GetDeletedAt() *time.Time

func (*AppResourceType) GetDisplayName ¶

func (o *AppResourceType) GetDisplayName() *string

func (*AppResourceType) GetID ¶

func (o *AppResourceType) GetID() *string

func (*AppResourceType) GetUpdatedAt ¶

func (o *AppResourceType) GetUpdatedAt() *time.Time

func (AppResourceType) MarshalJSON ¶

func (a AppResourceType) MarshalJSON() ([]byte, error)

func (*AppResourceType) UnmarshalJSON ¶

func (a *AppResourceType) UnmarshalJSON(data []byte) error

type AppResourceTypeServiceGetResponse ¶

type AppResourceTypeServiceGetResponse struct {
	// The AppResourceTypeView message.
	AppResourceTypeView *AppResourceTypeView `json:"appResourceTypeView,omitempty"`
	// List of serialized related objects.
	Expanded []AppResourceTypeServiceGetResponseExpanded `json:"expanded,omitempty"`
}

The AppResourceTypeServiceGetResponse contains an expanded array containing the expanded values indicated by the expand mask

in the request and an app resource type view containing the resource type and JSONPATHs indicating which objects are where in the expand mask.

func (*AppResourceTypeServiceGetResponse) GetAppResourceTypeView ¶

func (o *AppResourceTypeServiceGetResponse) GetAppResourceTypeView() *AppResourceTypeView

func (*AppResourceTypeServiceGetResponse) GetExpanded ¶

type AppResourceTypeServiceGetResponseExpanded ¶

type AppResourceTypeServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

AppResourceTypeServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*AppResourceTypeServiceGetResponseExpanded) GetAdditionalProperties ¶

func (o *AppResourceTypeServiceGetResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*AppResourceTypeServiceGetResponseExpanded) GetAtType ¶

func (AppResourceTypeServiceGetResponseExpanded) MarshalJSON ¶

func (*AppResourceTypeServiceGetResponseExpanded) UnmarshalJSON ¶

func (a *AppResourceTypeServiceGetResponseExpanded) UnmarshalJSON(data []byte) error

type AppResourceTypeServiceListResponse ¶

type AppResourceTypeServiceListResponse struct {
	// List of serialized related objects.
	Expanded []AppResourceTypeServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppResourceTypeView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The AppResourceTypeServiceListResponse message contains a list of results and a nextPageToken if applicable.

func (*AppResourceTypeServiceListResponse) GetExpanded ¶

func (*AppResourceTypeServiceListResponse) GetList ¶

func (*AppResourceTypeServiceListResponse) GetNextPageToken ¶

func (o *AppResourceTypeServiceListResponse) GetNextPageToken() *string

type AppResourceTypeServiceListResponseExpanded ¶

type AppResourceTypeServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

AppResourceTypeServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*AppResourceTypeServiceListResponseExpanded) GetAdditionalProperties ¶

func (o *AppResourceTypeServiceListResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*AppResourceTypeServiceListResponseExpanded) GetAtType ¶

func (AppResourceTypeServiceListResponseExpanded) MarshalJSON ¶

func (*AppResourceTypeServiceListResponseExpanded) UnmarshalJSON ¶

func (a *AppResourceTypeServiceListResponseExpanded) UnmarshalJSON(data []byte) error

type AppResourceTypeView ¶

type AppResourceTypeView struct {
	// The AppResourceType is referenced by an app entitlement defining its resource types. Commonly things like Group or Role.
	AppResourceType *AppResourceType `json:"appResourceType,omitempty"`
	// JSONPATH expression indicating the location of the App object in the  array
	AppPath *string `json:"appPath,omitempty"`
}

The AppResourceTypeView message.

func (*AppResourceTypeView) GetAppPath ¶

func (o *AppResourceTypeView) GetAppPath() *string

func (*AppResourceTypeView) GetAppResourceType ¶

func (o *AppResourceTypeView) GetAppResourceType() *AppResourceType

type AppResourceView ¶

type AppResourceView struct {
	// The app resource message is a single resource that can have entitlements.
	AppResource *AppResource `json:"appResource,omitempty"`
	// JSONPATH expression indicating the location of the App object in the array
	AppPath *string `json:"appPath,omitempty"`
	// JSONPATH expression indicating the location of the Parent Resource object in the array
	ParentResourcePath *string `json:"parentResourcePath,omitempty"`
	// JSONPATH expression indicating the location of the Parent Resource Type object in the array
	ParentResourceTypePath *string `json:"parentResourceTypePath,omitempty"`
	// JSONPATH expression indicating the location of the Resource Type object in the array
	ResourceTypePath *string `json:"resourceTypePath,omitempty"`
}

AppResourceView - The app resource view returns an app resource with paths for items in the expand mask filled in when this response is returned and a request expand mask has "*" or "app_id" or "resource_type_id".

func (*AppResourceView) GetAppPath ¶

func (o *AppResourceView) GetAppPath() *string

func (*AppResourceView) GetAppResource ¶

func (o *AppResourceView) GetAppResource() *AppResource

func (*AppResourceView) GetParentResourcePath ¶

func (o *AppResourceView) GetParentResourcePath() *string

func (*AppResourceView) GetParentResourceTypePath ¶

func (o *AppResourceView) GetParentResourceTypePath() *string

func (*AppResourceView) GetResourceTypePath ¶

func (o *AppResourceView) GetResourceTypePath() *string

type AppUsageControls ¶

type AppUsageControls struct {
	// The app that this object belongs to.
	AppID *string `json:"appId,omitempty"`
	// Whether or not to notify some if they have access to the app, but has not used it within a configurable amount of time.
	Notify *bool `json:"notify,omitempty"`
	// The duration in days after which we notify users of nonusage.
	NotifyAfterDays *float64 `json:"notifyAfterDays,omitempty"`
	// Whether or not to revoke a grant if they have access to the app, but has not used it within a configurable amount of time.
	Revoke *bool `json:"revoke,omitempty"`
	// The duration in days after which we revoke users that have not used that grant.
	RevokeAfterDays *float64 `json:"revokeAfterDays,omitempty"`
}

The AppUsageControls object describes some peripheral configuration for an app.

func (*AppUsageControls) GetAppID ¶

func (o *AppUsageControls) GetAppID() *string

func (*AppUsageControls) GetNotify ¶

func (o *AppUsageControls) GetNotify() *bool

func (*AppUsageControls) GetNotifyAfterDays ¶

func (o *AppUsageControls) GetNotifyAfterDays() *float64

func (*AppUsageControls) GetRevoke ¶

func (o *AppUsageControls) GetRevoke() *bool

func (*AppUsageControls) GetRevokeAfterDays ¶

func (o *AppUsageControls) GetRevokeAfterDays() *float64

type AppUser ¶

type AppUser struct {
	// The satus of the applicaiton user.
	AppUserStatus *AppUserStatus `json:"status,omitempty"`
	// The ID of the application.
	AppID *string `json:"appId,omitempty"`
	// The appplication user type. Type can be user, system or service.
	AppUserType *AppUserType `json:"appUserType,omitempty"`
	CreatedAt   *time.Time   `json:"createdAt,omitempty"`
	DeletedAt   *time.Time   `json:"deletedAt,omitempty"`
	// The display name of the application user.
	DisplayName *string `json:"displayName,omitempty"`
	// The email field of the application user.
	Email *string `json:"email,omitempty"`
	// The emails field of the application user.
	Emails []string `json:"emails,omitempty"`
	// A unique idenditfier of the application user.
	ID *string `json:"id,omitempty"`
	// The conductor one user ID of the account owner.
	IdentityUserID *string            `json:"identityUserId,omitempty"`
	Profile        map[string]Profile `json:"profile,omitempty"`
	UpdatedAt      *time.Time         `json:"updatedAt,omitempty"`
	// The username field of the application user.
	Username *string `json:"username,omitempty"`
	// The usernames field of the application user.
	Usernames []string `json:"usernames,omitempty"`
}

AppUser - Application User that represents an account in the application.

func (*AppUser) GetAppID ¶

func (o *AppUser) GetAppID() *string

func (*AppUser) GetAppUserStatus ¶

func (o *AppUser) GetAppUserStatus() *AppUserStatus

func (*AppUser) GetAppUserType ¶

func (o *AppUser) GetAppUserType() *AppUserType

func (*AppUser) GetCreatedAt ¶

func (o *AppUser) GetCreatedAt() *time.Time

func (*AppUser) GetDeletedAt ¶

func (o *AppUser) GetDeletedAt() *time.Time

func (*AppUser) GetDisplayName ¶

func (o *AppUser) GetDisplayName() *string

func (*AppUser) GetEmail ¶

func (o *AppUser) GetEmail() *string

func (*AppUser) GetEmails ¶

func (o *AppUser) GetEmails() []string

func (*AppUser) GetID ¶

func (o *AppUser) GetID() *string

func (*AppUser) GetIdentityUserID ¶

func (o *AppUser) GetIdentityUserID() *string

func (*AppUser) GetProfile ¶

func (o *AppUser) GetProfile() map[string]Profile

func (*AppUser) GetUpdatedAt ¶

func (o *AppUser) GetUpdatedAt() *time.Time

func (*AppUser) GetUsername ¶

func (o *AppUser) GetUsername() *string

func (*AppUser) GetUsernames ¶

func (o *AppUser) GetUsernames() []string

func (AppUser) MarshalJSON ¶

func (a AppUser) MarshalJSON() ([]byte, error)

func (*AppUser) UnmarshalJSON ¶

func (a *AppUser) UnmarshalJSON(data []byte) error

type AppUserExpandMask ¶

type AppUserExpandMask struct {
	// The paths to expand in the response. May be any combination of "*", "identity_user_id", "app_id", and "last_usage".
	Paths []string `json:"paths,omitempty"`
}

The AppUserExpandMask message contains a list of paths to expand in the response.

func (*AppUserExpandMask) GetPaths ¶

func (o *AppUserExpandMask) GetPaths() []string

type AppUserInput ¶

type AppUserInput struct {
	// The satus of the applicaiton user.
	AppUserStatus *AppUserStatusInput `json:"status,omitempty"`
	// The appplication user type. Type can be user, system or service.
	AppUserType *AppUserType `json:"appUserType,omitempty"`
}

AppUserInput - Application User that represents an account in the application.

func (*AppUserInput) GetAppUserStatus ¶

func (o *AppUserInput) GetAppUserStatus() *AppUserStatusInput

func (*AppUserInput) GetAppUserType ¶

func (o *AppUserInput) GetAppUserType() *AppUserType

type AppUserServiceUpdateRequest ¶

type AppUserServiceUpdateRequest struct {
	// Application User that represents an account in the application.
	AppUser *AppUserInput `json:"appUser,omitempty"`
	// The AppUserExpandMask message contains a list of paths to expand in the response.
	AppUserExpandMask *AppUserExpandMask `json:"expandMask,omitempty"`
	UpdateMask        *string            `json:"updateMask,omitempty"`
}

The AppUserServiceUpdateRequest message contains the app user and the fields to be updated.

func (*AppUserServiceUpdateRequest) GetAppUser ¶

func (o *AppUserServiceUpdateRequest) GetAppUser() *AppUserInput

func (*AppUserServiceUpdateRequest) GetAppUserExpandMask ¶

func (o *AppUserServiceUpdateRequest) GetAppUserExpandMask() *AppUserExpandMask

func (*AppUserServiceUpdateRequest) GetUpdateMask ¶

func (o *AppUserServiceUpdateRequest) GetUpdateMask() *string

type AppUserServiceUpdateResponse ¶

type AppUserServiceUpdateResponse struct {
	// The AppUserView contains an app user as well as paths for apps, identity users, and last usage in expanded arrays.
	AppUserView *AppUserView `json:"appUserView,omitempty"`
	// The expanded field.
	Expanded []AppUserServiceUpdateResponseExpanded `json:"expanded,omitempty"`
}

The AppUserServiceUpdateResponse message.

func (*AppUserServiceUpdateResponse) GetAppUserView ¶

func (o *AppUserServiceUpdateResponse) GetAppUserView() *AppUserView

func (*AppUserServiceUpdateResponse) GetExpanded ¶

type AppUserServiceUpdateResponseExpanded ¶

type AppUserServiceUpdateResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

AppUserServiceUpdateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*AppUserServiceUpdateResponseExpanded) GetAdditionalProperties ¶

func (o *AppUserServiceUpdateResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*AppUserServiceUpdateResponseExpanded) GetAtType ¶

func (AppUserServiceUpdateResponseExpanded) MarshalJSON ¶

func (a AppUserServiceUpdateResponseExpanded) MarshalJSON() ([]byte, error)

func (*AppUserServiceUpdateResponseExpanded) UnmarshalJSON ¶

func (a *AppUserServiceUpdateResponseExpanded) UnmarshalJSON(data []byte) error

type AppUserStatus ¶

type AppUserStatus struct {
	// The details of applicaiton user status.
	Details *string `json:"details,omitempty"`
	// The application user status field.
	Status *Status `json:"status,omitempty"`
}

AppUserStatus - The satus of the applicaiton user.

func (*AppUserStatus) GetDetails ¶

func (o *AppUserStatus) GetDetails() *string

func (*AppUserStatus) GetStatus ¶

func (o *AppUserStatus) GetStatus() *Status

type AppUserStatusInput ¶

type AppUserStatusInput struct {
}

AppUserStatusInput - The satus of the applicaiton user.

type AppUserType ¶

type AppUserType string

AppUserType - The appplication user type. Type can be user, system or service.

const (
	AppUserTypeAppUserTypeUnspecified    AppUserType = "APP_USER_TYPE_UNSPECIFIED"
	AppUserTypeAppUserTypeUser           AppUserType = "APP_USER_TYPE_USER"
	AppUserTypeAppUserTypeServiceAccount AppUserType = "APP_USER_TYPE_SERVICE_ACCOUNT"
	AppUserTypeAppUserTypeSystemAccount  AppUserType = "APP_USER_TYPE_SYSTEM_ACCOUNT"
)

func (AppUserType) ToPointer ¶

func (e AppUserType) ToPointer() *AppUserType

func (*AppUserType) UnmarshalJSON ¶

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

type AppUserView ¶

type AppUserView struct {
	// Application User that represents an account in the application.
	AppUser *AppUser `json:"appUser,omitempty"`
	// JSONPATH expression indicating where the app is expanded in expanded arrays indicated in the request.
	AppPath *string `json:"appPath,omitempty"`
	// JSONPATH expression indicating where the identity user is expanded in expanded arrays indicated in the request.
	IdentityUserPath *string `json:"identityUserPath,omitempty"`
	// JSONPATH expression indicating where the last usage information is expanded in expanded arrays indicated in the request.
	LastUsagePath *string `json:"lastUsagePath,omitempty"`
}

The AppUserView contains an app user as well as paths for apps, identity users, and last usage in expanded arrays.

func (*AppUserView) GetAppPath ¶

func (o *AppUserView) GetAppPath() *string

func (*AppUserView) GetAppUser ¶

func (o *AppUserView) GetAppUser() *AppUser

func (*AppUserView) GetIdentityUserPath ¶

func (o *AppUserView) GetIdentityUserPath() *string

func (*AppUserView) GetLastUsagePath ¶

func (o *AppUserView) GetLastUsagePath() *string

type Approval ¶

type Approval struct {
	// The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step.
	AppGroupApproval *AppGroupApproval `json:"group,omitempty"`
	// App owner approval provides the configuration for an approval step when the app owner is the target.
	AppOwnerApproval *AppOwnerApproval `json:"appOwners,omitempty"`
	// The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners.
	EntitlementOwnerApproval *EntitlementOwnerApproval `json:"entitlementOwners,omitempty"`
	// The ExpressionApproval message.
	ExpressionApproval *ExpressionApproval `json:"expression,omitempty"`
	// The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task.
	ManagerApproval *ManagerApproval `json:"manager,omitempty"`
	// The self approval object describes the configuration of a policy step that needs to be approved by the target of the request.
	SelfApproval *SelfApproval `json:"self,omitempty"`
	// The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users.
	UserApproval *UserApproval `json:"users,omitempty"`
	// Configuration to allow reassignment by reviewers during this step.
	AllowReassignment *bool `json:"allowReassignment,omitempty"`
	// A field indicating whether this step is assigned.
	Assigned *bool `json:"assigned,omitempty"`
	// Configuration to require a reason when approving this step.
	RequireApprovalReason *bool `json:"requireApprovalReason,omitempty"`
	// Configuration to require a reason when reassigning this step.
	RequireReassignmentReason *bool `json:"requireReassignmentReason,omitempty"`
}

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
  • expression

func (*Approval) GetAllowReassignment ¶

func (o *Approval) GetAllowReassignment() *bool

func (*Approval) GetAppGroupApproval ¶

func (o *Approval) GetAppGroupApproval() *AppGroupApproval

func (*Approval) GetAppOwnerApproval ¶

func (o *Approval) GetAppOwnerApproval() *AppOwnerApproval

func (*Approval) GetAssigned ¶

func (o *Approval) GetAssigned() *bool

func (*Approval) GetEntitlementOwnerApproval ¶

func (o *Approval) GetEntitlementOwnerApproval() *EntitlementOwnerApproval

func (*Approval) GetExpressionApproval ¶

func (o *Approval) GetExpressionApproval() *ExpressionApproval

func (*Approval) GetManagerApproval ¶

func (o *Approval) GetManagerApproval() *ManagerApproval

func (*Approval) GetRequireApprovalReason ¶

func (o *Approval) GetRequireApprovalReason() *bool

func (*Approval) GetRequireReassignmentReason ¶

func (o *Approval) GetRequireReassignmentReason() *bool

func (*Approval) GetSelfApproval ¶

func (o *Approval) GetSelfApproval() *SelfApproval

func (*Approval) GetUserApproval ¶

func (o *Approval) GetUserApproval() *UserApproval

type ApprovalInput ¶

type ApprovalInput struct {
	// The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step.
	AppGroupApproval *AppGroupApprovalInput `json:"group,omitempty"`
	// App owner approval provides the configuration for an approval step when the app owner is the target.
	AppOwnerApproval *AppOwnerApprovalInput `json:"appOwners,omitempty"`
	// The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners.
	EntitlementOwnerApproval *EntitlementOwnerApprovalInput `json:"entitlementOwners,omitempty"`
	// The ExpressionApproval message.
	ExpressionApproval *ExpressionApprovalInput `json:"expression,omitempty"`
	// The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task.
	ManagerApproval *ManagerApprovalInput `json:"manager,omitempty"`
	// The self approval object describes the configuration of a policy step that needs to be approved by the target of the request.
	SelfApproval *SelfApprovalInput `json:"self,omitempty"`
	// The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users.
	UserApproval *UserApprovalInput `json:"users,omitempty"`
}

ApprovalInput - 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
  • expression

func (*ApprovalInput) GetAppGroupApproval ¶

func (o *ApprovalInput) GetAppGroupApproval() *AppGroupApprovalInput

func (*ApprovalInput) GetAppOwnerApproval ¶

func (o *ApprovalInput) GetAppOwnerApproval() *AppOwnerApprovalInput

func (*ApprovalInput) GetEntitlementOwnerApproval ¶

func (o *ApprovalInput) GetEntitlementOwnerApproval() *EntitlementOwnerApprovalInput

func (*ApprovalInput) GetExpressionApproval ¶

func (o *ApprovalInput) GetExpressionApproval() *ExpressionApprovalInput

func (*ApprovalInput) GetManagerApproval ¶

func (o *ApprovalInput) GetManagerApproval() *ManagerApprovalInput

func (*ApprovalInput) GetSelfApproval ¶

func (o *ApprovalInput) GetSelfApproval() *SelfApprovalInput

func (*ApprovalInput) GetUserApproval ¶

func (o *ApprovalInput) GetUserApproval() *UserApprovalInput

type ApprovalInstance ¶

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
	//   - expression
	//
	Approval *Approval `json:"approval,omitempty"`
	// The approved action indicates that the approvalinstance had an outcome of approved.
	ApprovedAction *ApprovedAction `json:"approved,omitempty"`
	// The denied action indicates that the c1.api.policy.v1.ApprovalInstance had an outcome of denied.
	DeniedAction *DeniedAction `json:"denied,omitempty"`
	// The ReassignedAction object describes the outcome of a policy step that has been reassigned.
	ReassignedAction *ReassignedAction `json:"reassigned,omitempty"`
	// The ReassignedByErrorAction object describes the outcome of a policy step that has been reassigned because it had an error provisioning.
	ReassignedByErrorAction *ReassignedByErrorAction `json:"reassignedByError,omitempty"`
	// The restart action describes the outcome of policy steps for when the task was restarted. This can be applied to multiple steps since restart skips all pending next steps.
	RestartAction *RestartAction `json:"restarted,omitempty"`
	// The state of the approval instance
	State *ApprovalInstanceState `json:"state,omitempty"`
}

ApprovalInstance - The approval instance object describes the way a policy step should be approved as well as its outcomes and state.

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

func (*ApprovalInstance) GetApproval ¶

func (o *ApprovalInstance) GetApproval() *Approval

func (*ApprovalInstance) GetApprovedAction ¶

func (o *ApprovalInstance) GetApprovedAction() *ApprovedAction

func (*ApprovalInstance) GetDeniedAction ¶

func (o *ApprovalInstance) GetDeniedAction() *DeniedAction

func (*ApprovalInstance) GetReassignedAction ¶

func (o *ApprovalInstance) GetReassignedAction() *ReassignedAction

func (*ApprovalInstance) GetReassignedByErrorAction ¶

func (o *ApprovalInstance) GetReassignedByErrorAction() *ReassignedByErrorAction

func (*ApprovalInstance) GetRestartAction ¶

func (o *ApprovalInstance) GetRestartAction() *RestartAction

func (*ApprovalInstance) GetState ¶

func (o *ApprovalInstance) GetState() *ApprovalInstanceState

type ApprovalInstanceState ¶

type ApprovalInstanceState string

ApprovalInstanceState - The state of the approval instance

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 ¶

func (*ApprovalInstanceState) UnmarshalJSON ¶

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

type ApprovedAction ¶

type ApprovedAction struct {
	ApprovedAt *time.Time `json:"approvedAt,omitempty"`
	// The entitlements that were approved. This will only ever be a list of one entitlement.
	Entitlements []AppEntitlementReference `json:"entitlements,omitempty"`
	// The UserID that approved this step.
	UserID *string `json:"userId,omitempty"`
}

ApprovedAction - The approved action indicates that the approvalinstance had an outcome of approved.

func (*ApprovedAction) GetApprovedAt ¶

func (o *ApprovedAction) GetApprovedAt() *time.Time

func (*ApprovedAction) GetEntitlements ¶

func (o *ApprovedAction) GetEntitlements() []AppEntitlementReference

func (*ApprovedAction) GetUserID ¶

func (o *ApprovedAction) GetUserID() *string

func (ApprovedAction) MarshalJSON ¶

func (a ApprovedAction) MarshalJSON() ([]byte, error)

func (*ApprovedAction) UnmarshalJSON ¶

func (a *ApprovedAction) UnmarshalJSON(data []byte) error

type AttributeType ¶

type AttributeType struct {
	// The ID of the AttributeType.
	ID *string `json:"id,omitempty"`
	// The name of the AttributeType.
	Name *string `json:"name,omitempty"`
}

AttributeType defines the type of an attribute.

func (*AttributeType) GetID ¶

func (o *AttributeType) GetID() *string

func (*AttributeType) GetName ¶

func (o *AttributeType) GetName() *string

type AttributeValue ¶

type AttributeValue struct {
	// The ID of the AttributeType that this AttributeValue belongs to.
	AttributeTypeID *string    `json:"attributeTypeId,omitempty"`
	CreatedAt       *time.Time `json:"createdAt,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The ID of the AttributeValue.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The value of the AttributeValue. This is the string that will be displayed to the user.
	Value *string `json:"value,omitempty"`
}

AttributeValue is the value of an attribute of a defined type.

func (*AttributeValue) GetAttributeTypeID ¶

func (o *AttributeValue) GetAttributeTypeID() *string

func (*AttributeValue) GetCreatedAt ¶

func (o *AttributeValue) GetCreatedAt() *time.Time

func (*AttributeValue) GetDeletedAt ¶

func (o *AttributeValue) GetDeletedAt() *time.Time

func (*AttributeValue) GetID ¶

func (o *AttributeValue) GetID() *string

func (*AttributeValue) GetUpdatedAt ¶

func (o *AttributeValue) GetUpdatedAt() *time.Time

func (*AttributeValue) GetValue ¶

func (o *AttributeValue) GetValue() *string

func (AttributeValue) MarshalJSON ¶

func (a AttributeValue) MarshalJSON() ([]byte, error)

func (*AttributeValue) UnmarshalJSON ¶

func (a *AttributeValue) UnmarshalJSON(data []byte) error

type CancelledAction ¶

type CancelledAction struct {
	CancelledAt *time.Time `json:"cancelledAt,omitempty"`
	// The userID, usually the system, that cancells a provision instance.
	CancelledByUserID *string `json:"cancelledByUserId,omitempty"`
}

CancelledAction - The outcome of a provision instance that is cancelled.

func (*CancelledAction) GetCancelledAt ¶

func (o *CancelledAction) GetCancelledAt() *time.Time

func (*CancelledAction) GetCancelledByUserID ¶

func (o *CancelledAction) GetCancelledByUserID() *string

func (CancelledAction) MarshalJSON ¶

func (c CancelledAction) MarshalJSON() ([]byte, error)

func (*CancelledAction) UnmarshalJSON ¶

func (c *CancelledAction) UnmarshalJSON(data []byte) error

type CompletedAction ¶

type CompletedAction struct {
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// The list of entitlements that were provisioned. This is leftover from an older design, and is only ever going to be a single entitlement.
	Entitlements []AppEntitlementReference `json:"entitlements,omitempty"`
	// The UserID of who completed provisioning. For connector provisioning this is the system user id, for manual provisioning this is who clicked "provision complete"
	UserID *string `json:"userId,omitempty"`
}

CompletedAction - The outcome of a provision instance that has been completed succesfully.

func (*CompletedAction) GetCompletedAt ¶

func (o *CompletedAction) GetCompletedAt() *time.Time

func (*CompletedAction) GetEntitlements ¶

func (o *CompletedAction) GetEntitlements() []AppEntitlementReference

func (*CompletedAction) GetUserID ¶

func (o *CompletedAction) GetUserID() *string

func (CompletedAction) MarshalJSON ¶

func (c CompletedAction) MarshalJSON() ([]byte, error)

func (*CompletedAction) UnmarshalJSON ¶

func (c *CompletedAction) UnmarshalJSON(data []byte) error

type Config ¶

type Config struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

Config - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*Config) GetAdditionalProperties ¶

func (o *Config) GetAdditionalProperties() map[string]interface{}

func (*Config) GetAtType ¶

func (o *Config) GetAtType() *string

func (Config) MarshalJSON ¶

func (c Config) MarshalJSON() ([]byte, error)

func (*Config) UnmarshalJSON ¶

func (c *Config) UnmarshalJSON(data []byte) error

type Connector ¶

type Connector struct {
	// The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update.
	ConnectorStatus *ConnectorStatus `json:"status,omitempty"`
	// OAuth2AuthorizedAs tracks the user that OAuthed with the connector.
	OAuth2AuthorizedAs *OAuth2AuthorizedAs `json:"oauthAuthorizedAs,omitempty"`
	// The id of the app the connector is associated with.
	AppID *string `json:"appId,omitempty"`
	// The catalogId describes which catalog entry this connector is an instance of. For example, every Okta connector will have the same catalogId indicating it is an Okta connector.
	CatalogID *string `json:"catalogId,omitempty"`
	// Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
	Config    *Config    `json:"config,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The description of the connector.
	Description *string `json:"description,omitempty"`
	// The display name of the connector.
	DisplayName *string `json:"displayName,omitempty"`
	// The downloadUrl for a spreadsheet if the connector was created from uploading a file.
	DownloadURL *string `json:"downloadUrl,omitempty"`
	// The id of the connector.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The userIds field is used to define the integration owners of the connector.
	UserIds []string `json:"userIds,omitempty"`
}

A Connector is used to sync objects into Apps

func (*Connector) GetAppID ¶

func (o *Connector) GetAppID() *string

func (*Connector) GetCatalogID ¶

func (o *Connector) GetCatalogID() *string

func (*Connector) GetConfig ¶

func (o *Connector) GetConfig() *Config

func (*Connector) GetConnectorStatus ¶

func (o *Connector) GetConnectorStatus() *ConnectorStatus

func (*Connector) GetCreatedAt ¶

func (o *Connector) GetCreatedAt() *time.Time

func (*Connector) GetDeletedAt ¶

func (o *Connector) GetDeletedAt() *time.Time

func (*Connector) GetDescription ¶

func (o *Connector) GetDescription() *string

func (*Connector) GetDisplayName ¶

func (o *Connector) GetDisplayName() *string

func (*Connector) GetDownloadURL ¶

func (o *Connector) GetDownloadURL() *string

func (*Connector) GetID ¶

func (o *Connector) GetID() *string

func (*Connector) GetOAuth2AuthorizedAs ¶

func (o *Connector) GetOAuth2AuthorizedAs() *OAuth2AuthorizedAs

func (*Connector) GetUpdatedAt ¶

func (o *Connector) GetUpdatedAt() *time.Time

func (*Connector) GetUserIds ¶

func (o *Connector) GetUserIds() []string

func (Connector) MarshalJSON ¶

func (c Connector) MarshalJSON() ([]byte, error)

func (*Connector) UnmarshalJSON ¶

func (c *Connector) UnmarshalJSON(data []byte) error

type ConnectorCredential ¶

type ConnectorCredential struct {
	// The appId of the app the connector is attached to.
	AppID *string `json:"appId,omitempty"`
	// The client id of the ConnectorCredential.
	ClientID *string `json:"clientId,omitempty"`
	// The connectorId of the connector the credential is associated with.
	ConnectorID *string    `json:"connectorId,omitempty"`
	CreatedAt   *time.Time `json:"createdAt,omitempty"`
	DeletedAt   *time.Time `json:"deletedAt,omitempty"`
	// The display name of the ConnectorCredential.
	DisplayName *string    `json:"displayName,omitempty"`
	ExpiresTime *time.Time `json:"expiresTime,omitempty"`
	// The id of the ConnectorCredential.
	ID         *string    `json:"id,omitempty"`
	LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
	UpdatedAt  *time.Time `json:"updatedAt,omitempty"`
}

ConnectorCredential is used by a connector to authenticate with conductor one.

func (*ConnectorCredential) GetAppID ¶

func (o *ConnectorCredential) GetAppID() *string

func (*ConnectorCredential) GetClientID ¶

func (o *ConnectorCredential) GetClientID() *string

func (*ConnectorCredential) GetConnectorID ¶

func (o *ConnectorCredential) GetConnectorID() *string

func (*ConnectorCredential) GetCreatedAt ¶

func (o *ConnectorCredential) GetCreatedAt() *time.Time

func (*ConnectorCredential) GetDeletedAt ¶

func (o *ConnectorCredential) GetDeletedAt() *time.Time

func (*ConnectorCredential) GetDisplayName ¶

func (o *ConnectorCredential) GetDisplayName() *string

func (*ConnectorCredential) GetExpiresTime ¶

func (o *ConnectorCredential) GetExpiresTime() *time.Time

func (*ConnectorCredential) GetID ¶

func (o *ConnectorCredential) GetID() *string

func (*ConnectorCredential) GetLastUsedAt ¶

func (o *ConnectorCredential) GetLastUsedAt() *time.Time

func (*ConnectorCredential) GetUpdatedAt ¶

func (o *ConnectorCredential) GetUpdatedAt() *time.Time

func (ConnectorCredential) MarshalJSON ¶

func (c ConnectorCredential) MarshalJSON() ([]byte, error)

func (*ConnectorCredential) UnmarshalJSON ¶

func (c *ConnectorCredential) UnmarshalJSON(data []byte) error

type ConnectorExpandMask ¶

type ConnectorExpandMask struct {
	// Paths that you want expanded in the response. Possible values are "app_id" and "*".
	Paths []string `json:"paths,omitempty"`
}

The ConnectorExpandMask is used to expand related objects on a connector.

func (*ConnectorExpandMask) GetPaths ¶

func (o *ConnectorExpandMask) GetPaths() []string

type ConnectorInput ¶

type ConnectorInput struct {
	// The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update.
	ConnectorStatus *ConnectorStatus `json:"status,omitempty"`
	// OAuth2AuthorizedAs tracks the user that OAuthed with the connector.
	OAuth2AuthorizedAs *OAuth2AuthorizedAsInput `json:"oauthAuthorizedAs,omitempty"`
	// The id of the app the connector is associated with.
	AppID *string `json:"appId,omitempty"`
	// Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
	Config *Config `json:"config,omitempty"`
	// The description of the connector.
	Description *string `json:"description,omitempty"`
	// The display name of the connector.
	DisplayName *string `json:"displayName,omitempty"`
	// The id of the connector.
	ID *string `json:"id,omitempty"`
	// The userIds field is used to define the integration owners of the connector.
	UserIds []string `json:"userIds,omitempty"`
}

ConnectorInput - A Connector is used to sync objects into Apps

func (*ConnectorInput) GetAppID ¶

func (o *ConnectorInput) GetAppID() *string

func (*ConnectorInput) GetConfig ¶

func (o *ConnectorInput) GetConfig() *Config

func (*ConnectorInput) GetConnectorStatus ¶

func (o *ConnectorInput) GetConnectorStatus() *ConnectorStatus

func (*ConnectorInput) GetDescription ¶

func (o *ConnectorInput) GetDescription() *string

func (*ConnectorInput) GetDisplayName ¶

func (o *ConnectorInput) GetDisplayName() *string

func (*ConnectorInput) GetID ¶

func (o *ConnectorInput) GetID() *string

func (*ConnectorInput) GetOAuth2AuthorizedAs ¶

func (o *ConnectorInput) GetOAuth2AuthorizedAs() *OAuth2AuthorizedAsInput

func (*ConnectorInput) GetUserIds ¶

func (o *ConnectorInput) GetUserIds() []string

type ConnectorProvision ¶

type ConnectorProvision struct {
}

ConnectorProvision - Indicates that a connector should perform the provisioning. This object has no fields.

type ConnectorServiceCreateDelegatedRequest ¶

type ConnectorServiceCreateDelegatedRequest struct {
	// The ConnectorExpandMask is used to expand related objects on a connector.
	ConnectorExpandMask *ConnectorExpandMask `json:"expandMask,omitempty"`
	// The catalogId describes which catalog entry this connector is an instance of. For example, every Okta connector will have the same catalogId indicating it is an Okta connector.
	CatalogID *string `json:"catalogId,omitempty"`
	// The description of the connector.
	Description *string `json:"description,omitempty"`
	// The displayName of the connector.
	DisplayName *string `json:"displayName,omitempty"`
	// The userIds field is used to define the integration owners of the connector.
	UserIds []string `json:"userIds,omitempty"`
}

The ConnectorServiceCreateDelegatedRequest message contains the fields required to create a connector.

func (*ConnectorServiceCreateDelegatedRequest) GetCatalogID ¶

func (*ConnectorServiceCreateDelegatedRequest) GetConnectorExpandMask ¶

func (o *ConnectorServiceCreateDelegatedRequest) GetConnectorExpandMask() *ConnectorExpandMask

func (*ConnectorServiceCreateDelegatedRequest) GetDescription ¶

func (o *ConnectorServiceCreateDelegatedRequest) GetDescription() *string

func (*ConnectorServiceCreateDelegatedRequest) GetDisplayName ¶

func (o *ConnectorServiceCreateDelegatedRequest) GetDisplayName() *string

func (*ConnectorServiceCreateDelegatedRequest) GetUserIds ¶

type ConnectorServiceCreateRequest ¶

type ConnectorServiceCreateRequest struct {
	// The ConnectorExpandMask is used to expand related objects on a connector.
	ConnectorExpandMask *ConnectorExpandMask `json:"expandMask,omitempty"`
	// The catalogId field.
	CatalogID *string `json:"catalogId,omitempty"`
	// Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
	Config *ConnectorServiceCreateRequestConfig `json:"config,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The userIds field.
	UserIds []string `json:"userIds,omitempty"`
}

The ConnectorServiceCreateRequest message.

func (*ConnectorServiceCreateRequest) GetCatalogID ¶

func (o *ConnectorServiceCreateRequest) GetCatalogID() *string

func (*ConnectorServiceCreateRequest) GetConfig ¶

func (*ConnectorServiceCreateRequest) GetConnectorExpandMask ¶

func (o *ConnectorServiceCreateRequest) GetConnectorExpandMask() *ConnectorExpandMask

func (*ConnectorServiceCreateRequest) GetDescription ¶

func (o *ConnectorServiceCreateRequest) GetDescription() *string

func (*ConnectorServiceCreateRequest) GetUserIds ¶

func (o *ConnectorServiceCreateRequest) GetUserIds() []string

type ConnectorServiceCreateRequestConfig ¶

type ConnectorServiceCreateRequestConfig struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

ConnectorServiceCreateRequestConfig - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*ConnectorServiceCreateRequestConfig) GetAdditionalProperties ¶

func (o *ConnectorServiceCreateRequestConfig) GetAdditionalProperties() map[string]interface{}

func (*ConnectorServiceCreateRequestConfig) GetAtType ¶

func (ConnectorServiceCreateRequestConfig) MarshalJSON ¶

func (c ConnectorServiceCreateRequestConfig) MarshalJSON() ([]byte, error)

func (*ConnectorServiceCreateRequestConfig) UnmarshalJSON ¶

func (c *ConnectorServiceCreateRequestConfig) UnmarshalJSON(data []byte) error

type ConnectorServiceCreateResponse ¶

type ConnectorServiceCreateResponse struct {
	// The ConnectorView object provides a connector response object, as well as JSONPATHs to related objects provided by expanders.
	ConnectorView *ConnectorView `json:"connectorView,omitempty"`
	// The array of expanded items indicated by the request.
	Expanded []ConnectorServiceCreateResponseExpanded `json:"expanded,omitempty"`
}

The ConnectorServiceCreateResponse is the response returned from creating a connector.

func (*ConnectorServiceCreateResponse) GetConnectorView ¶

func (o *ConnectorServiceCreateResponse) GetConnectorView() *ConnectorView

func (*ConnectorServiceCreateResponse) GetExpanded ¶

type ConnectorServiceCreateResponseExpanded ¶

type ConnectorServiceCreateResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

ConnectorServiceCreateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*ConnectorServiceCreateResponseExpanded) GetAdditionalProperties ¶

func (o *ConnectorServiceCreateResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*ConnectorServiceCreateResponseExpanded) GetAtType ¶

func (ConnectorServiceCreateResponseExpanded) MarshalJSON ¶

func (c ConnectorServiceCreateResponseExpanded) MarshalJSON() ([]byte, error)

func (*ConnectorServiceCreateResponseExpanded) UnmarshalJSON ¶

func (c *ConnectorServiceCreateResponseExpanded) UnmarshalJSON(data []byte) error

type ConnectorServiceDeleteRequest ¶

type ConnectorServiceDeleteRequest struct {
}

ConnectorServiceDeleteRequest is a request for deleting a connector. It uses URL values for input.

type ConnectorServiceDeleteResponse ¶

type ConnectorServiceDeleteResponse struct {
}

ConnectorServiceDeleteResponse - Empty response body. Status code indicates success.

type ConnectorServiceGetCredentialsResponse ¶

type ConnectorServiceGetCredentialsResponse struct {
	// ConnectorCredential is used by a connector to authenticate with conductor one.
	ConnectorCredential *ConnectorCredential `json:"credential,omitempty"`
}

ConnectorServiceGetCredentialsResponse is the response returned by the get method.

func (*ConnectorServiceGetCredentialsResponse) GetConnectorCredential ¶

func (o *ConnectorServiceGetCredentialsResponse) GetConnectorCredential() *ConnectorCredential

type ConnectorServiceGetResponse ¶

type ConnectorServiceGetResponse struct {
	// The ConnectorView object provides a connector response object, as well as JSONPATHs to related objects provided by expanders.
	ConnectorView *ConnectorView `json:"connectorView,omitempty"`
	// The array of expanded items indicated by the request.
	Expanded []ConnectorServiceGetResponseExpanded `json:"expanded,omitempty"`
}

The ConnectorServiceGetResponse message contains the connectorView, and an expand mask.

func (*ConnectorServiceGetResponse) GetConnectorView ¶

func (o *ConnectorServiceGetResponse) GetConnectorView() *ConnectorView

func (*ConnectorServiceGetResponse) GetExpanded ¶

type ConnectorServiceGetResponseExpanded ¶

type ConnectorServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

ConnectorServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*ConnectorServiceGetResponseExpanded) GetAdditionalProperties ¶

func (o *ConnectorServiceGetResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*ConnectorServiceGetResponseExpanded) GetAtType ¶

func (ConnectorServiceGetResponseExpanded) MarshalJSON ¶

func (c ConnectorServiceGetResponseExpanded) MarshalJSON() ([]byte, error)

func (*ConnectorServiceGetResponseExpanded) UnmarshalJSON ¶

func (c *ConnectorServiceGetResponseExpanded) UnmarshalJSON(data []byte) error

type ConnectorServiceListResponse ¶

type ConnectorServiceListResponse struct {
	// List of serialized related objects
	Expanded []ConnectorServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request
	List []ConnectorView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ConnectorServiceListResponse message contains a list of results and a nextPageToken if applicable

func (*ConnectorServiceListResponse) GetExpanded ¶

func (*ConnectorServiceListResponse) GetList ¶

func (*ConnectorServiceListResponse) GetNextPageToken ¶

func (o *ConnectorServiceListResponse) GetNextPageToken() *string

type ConnectorServiceListResponseExpanded ¶

type ConnectorServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

ConnectorServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*ConnectorServiceListResponseExpanded) GetAdditionalProperties ¶

func (o *ConnectorServiceListResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*ConnectorServiceListResponseExpanded) GetAtType ¶

func (ConnectorServiceListResponseExpanded) MarshalJSON ¶

func (c ConnectorServiceListResponseExpanded) MarshalJSON() ([]byte, error)

func (*ConnectorServiceListResponseExpanded) UnmarshalJSON ¶

func (c *ConnectorServiceListResponseExpanded) UnmarshalJSON(data []byte) error

type ConnectorServiceRevokeCredentialRequest ¶

type ConnectorServiceRevokeCredentialRequest struct {
}

ConnectorServiceRevokeCredentialRequest is a request for revoking connector credentials. It uses URL values for input.

type ConnectorServiceRevokeCredentialResponse ¶

type ConnectorServiceRevokeCredentialResponse struct {
}

ConnectorServiceRevokeCredentialResponse - Empty response body. Status code indicates success.

type ConnectorServiceRotateCredentialRequest ¶

type ConnectorServiceRotateCredentialRequest struct {
}

ConnectorServiceRotateCredentialRequest is a request for rotating connector credentials. It uses URL values for input.

type ConnectorServiceRotateCredentialResponse ¶

type ConnectorServiceRotateCredentialResponse struct {
	// ConnectorCredential is used by a connector to authenticate with conductor one.
	ConnectorCredential *ConnectorCredential `json:"credential,omitempty"`
	// The new clientSecret returned after rotating the connector credential.
	ClientSecret *string `json:"clientSecret,omitempty"`
}

ConnectorServiceRotateCredentialResponse is the response returned by the rotate method.

func (*ConnectorServiceRotateCredentialResponse) GetClientSecret ¶

func (o *ConnectorServiceRotateCredentialResponse) GetClientSecret() *string

func (*ConnectorServiceRotateCredentialResponse) GetConnectorCredential ¶

type ConnectorServiceUpdateDelegatedRequest ¶

type ConnectorServiceUpdateDelegatedRequest struct {
	// A Connector is used to sync objects into Apps
	Connector *ConnectorInput `json:"connector,omitempty"`
	// The ConnectorExpandMask is used to expand related objects on a connector.
	ConnectorExpandMask *ConnectorExpandMask `json:"expandMask,omitempty"`
	UpdateMask          *string              `json:"updateMask,omitempty"`
}

The ConnectorServiceUpdateDelegatedRequest message contains the fields required to update a connector.

func (*ConnectorServiceUpdateDelegatedRequest) GetConnector ¶

func (*ConnectorServiceUpdateDelegatedRequest) GetConnectorExpandMask ¶

func (o *ConnectorServiceUpdateDelegatedRequest) GetConnectorExpandMask() *ConnectorExpandMask

func (*ConnectorServiceUpdateDelegatedRequest) GetUpdateMask ¶

func (o *ConnectorServiceUpdateDelegatedRequest) GetUpdateMask() *string

type ConnectorServiceUpdateRequest ¶

type ConnectorServiceUpdateRequest struct {
	// A Connector is used to sync objects into Apps
	Connector *ConnectorInput `json:"connector,omitempty"`
	// The ConnectorExpandMask is used to expand related objects on a connector.
	ConnectorExpandMask *ConnectorExpandMask `json:"expandMask,omitempty"`
	UpdateMask          *string              `json:"updateMask,omitempty"`
}

The ConnectorServiceUpdateRequest message contains the fields required to update a connector.

func (*ConnectorServiceUpdateRequest) GetConnector ¶

func (o *ConnectorServiceUpdateRequest) GetConnector() *ConnectorInput

func (*ConnectorServiceUpdateRequest) GetConnectorExpandMask ¶

func (o *ConnectorServiceUpdateRequest) GetConnectorExpandMask() *ConnectorExpandMask

func (*ConnectorServiceUpdateRequest) GetUpdateMask ¶

func (o *ConnectorServiceUpdateRequest) GetUpdateMask() *string

type ConnectorServiceUpdateResponse ¶

type ConnectorServiceUpdateResponse struct {
	// The ConnectorView object provides a connector response object, as well as JSONPATHs to related objects provided by expanders.
	ConnectorView *ConnectorView `json:"connectorView,omitempty"`
	// The array of expanded items indicated by the request.
	Expanded []ConnectorServiceUpdateResponseExpanded `json:"expanded,omitempty"`
}

ConnectorServiceUpdateResponse is the response returned by the update method.

func (*ConnectorServiceUpdateResponse) GetConnectorView ¶

func (o *ConnectorServiceUpdateResponse) GetConnectorView() *ConnectorView

func (*ConnectorServiceUpdateResponse) GetExpanded ¶

type ConnectorServiceUpdateResponseExpanded ¶

type ConnectorServiceUpdateResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

ConnectorServiceUpdateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*ConnectorServiceUpdateResponseExpanded) GetAdditionalProperties ¶

func (o *ConnectorServiceUpdateResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*ConnectorServiceUpdateResponseExpanded) GetAtType ¶

func (ConnectorServiceUpdateResponseExpanded) MarshalJSON ¶

func (c ConnectorServiceUpdateResponseExpanded) MarshalJSON() ([]byte, error)

func (*ConnectorServiceUpdateResponseExpanded) UnmarshalJSON ¶

func (c *ConnectorServiceUpdateResponseExpanded) UnmarshalJSON(data []byte) error

type ConnectorStatus ¶

type ConnectorStatus struct {
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// The last error encountered by the connector.
	LastError *string    `json:"lastError,omitempty"`
	StartedAt *time.Time `json:"startedAt,omitempty"`
	// The status of the connector sync.
	Status    *ConnectorStatusStatus `json:"status,omitempty"`
	UpdatedAt *time.Time             `json:"updatedAt,omitempty"`
}

ConnectorStatus - The status field on the connector is used to track the status of the connectors sync, and when syncing last started, completed, or caused the connector to update.

func (*ConnectorStatus) GetCompletedAt ¶

func (o *ConnectorStatus) GetCompletedAt() *time.Time

func (*ConnectorStatus) GetLastError ¶

func (o *ConnectorStatus) GetLastError() *string

func (*ConnectorStatus) GetStartedAt ¶

func (o *ConnectorStatus) GetStartedAt() *time.Time

func (*ConnectorStatus) GetStatus ¶

func (o *ConnectorStatus) GetStatus() *ConnectorStatusStatus

func (*ConnectorStatus) GetUpdatedAt ¶

func (o *ConnectorStatus) GetUpdatedAt() *time.Time

func (ConnectorStatus) MarshalJSON ¶

func (c ConnectorStatus) MarshalJSON() ([]byte, error)

func (*ConnectorStatus) UnmarshalJSON ¶

func (c *ConnectorStatus) UnmarshalJSON(data []byte) error

type ConnectorStatusStatus ¶

type ConnectorStatusStatus string

ConnectorStatusStatus - The status of the connector sync.

const (
	ConnectorStatusStatusSyncStatusUnspecified ConnectorStatusStatus = "SYNC_STATUS_UNSPECIFIED"
	ConnectorStatusStatusSyncStatusRunning     ConnectorStatusStatus = "SYNC_STATUS_RUNNING"
	ConnectorStatusStatusSyncStatusDone        ConnectorStatusStatus = "SYNC_STATUS_DONE"
	ConnectorStatusStatusSyncStatusError       ConnectorStatusStatus = "SYNC_STATUS_ERROR"
)

func (ConnectorStatusStatus) ToPointer ¶

func (*ConnectorStatusStatus) UnmarshalJSON ¶

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

type ConnectorView ¶

type ConnectorView struct {
	// A Connector is used to sync objects into Apps
	Connector *Connector `json:"connector,omitempty"`
	// JSONPATH expression indicating the location of the App object in the expanded array.
	AppPath *string `json:"appPath,omitempty"`
	// JSONPATH expression indicating the location of the User object in the expanded array. This is the user that is a direct target of the ticket without a specific relationship to a potentially non-existent app user.
	UsersPath *string `json:"usersPath,omitempty"`
}

The ConnectorView object provides a connector response object, as well as JSONPATHs to related objects provided by expanders.

func (*ConnectorView) GetAppPath ¶

func (o *ConnectorView) GetAppPath() *string

func (*ConnectorView) GetConnector ¶

func (o *ConnectorView) GetConnector() *Connector

func (*ConnectorView) GetUsersPath ¶

func (o *ConnectorView) GetUsersPath() *string

type CreateAppRequest ¶

type CreateAppRequest struct {
	// Creates the app with this certify policy.
	CertifyPolicyID *string `json:"certifyPolicyId,omitempty"`
	// Creates the app with this description.
	Description *string `json:"description,omitempty"`
	// Creates the app with this display name.
	DisplayName *string `json:"displayName,omitempty"`
	// Creates the app with this grant policy.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// Creates the app with this monthly cost per seat.
	MonthlyCostUsd *float64 `json:"monthlyCostUsd,omitempty"`
	// Creates the app with this array of owners.
	Owners []string `json:"owners,omitempty"`
	// Creates the app with this revoke policy.
	RevokePolicyID *string `json:"revokePolicyId,omitempty"`
}

The CreateAppRequest message is used to create a new app.

func (*CreateAppRequest) GetCertifyPolicyID ¶

func (o *CreateAppRequest) GetCertifyPolicyID() *string

func (*CreateAppRequest) GetDescription ¶

func (o *CreateAppRequest) GetDescription() *string

func (*CreateAppRequest) GetDisplayName ¶

func (o *CreateAppRequest) GetDisplayName() *string

func (*CreateAppRequest) GetGrantPolicyID ¶

func (o *CreateAppRequest) GetGrantPolicyID() *string

func (*CreateAppRequest) GetMonthlyCostUsd ¶

func (o *CreateAppRequest) GetMonthlyCostUsd() *float64

func (*CreateAppRequest) GetOwners ¶

func (o *CreateAppRequest) GetOwners() []string

func (*CreateAppRequest) GetRevokePolicyID ¶

func (o *CreateAppRequest) GetRevokePolicyID() *string

type CreateAppResponse ¶

type CreateAppResponse struct {
	// The App object provides all of the details for an app, as well as some configuration.
	App *App `json:"app,omitempty"`
}

CreateAppResponse - Returns the new app's values.

func (*CreateAppResponse) GetApp ¶

func (o *CreateAppResponse) GetApp() *App

type CreateAttributeValueRequest ¶

type CreateAttributeValueRequest struct {
	// The attributeTypeId field.
	AttributeTypeID *string `json:"attributeTypeId,omitempty"`
	// The value field.
	Value *string `json:"value,omitempty"`
}

The CreateAttributeValueRequest message.

func (*CreateAttributeValueRequest) GetAttributeTypeID ¶

func (o *CreateAttributeValueRequest) GetAttributeTypeID() *string

func (*CreateAttributeValueRequest) GetValue ¶

func (o *CreateAttributeValueRequest) GetValue() *string

type CreateAttributeValueResponse ¶

type CreateAttributeValueResponse struct {
	// AttributeValue is the value of an attribute of a defined type.
	AttributeValue *AttributeValue `json:"value,omitempty"`
}

CreateAttributeValueResponse is the response for creating an attribute value.

func (*CreateAttributeValueResponse) GetAttributeValue ¶

func (o *CreateAttributeValueResponse) GetAttributeValue() *AttributeValue

type CreatePolicyRequest ¶

type CreatePolicyRequest struct {
	// The description of the new policy.
	Description *string `json:"description,omitempty"`
	// The display name of the new policy.
	DisplayName *string `json:"displayName,omitempty"`
	// The map of policy type to policy steps. The key is the stringified version of the enum. See other policies for examples.
	PolicySteps map[string]PolicyStepsInput `json:"policySteps,omitempty"`
	// The enum of the policy type.
	PolicyType *PolicyType `json:"policyType,omitempty"`
	// Actions to occur after a policy finishes. As of now this is only valid on a certify policy to remediate a denied certification immediately.
	PostActions []PolicyPostActions `json:"postActions,omitempty"`
	// Allows reassigning tasks to delegates.
	ReassignTasksToDelegates *bool `json:"reassignTasksToDelegates,omitempty"`
}

The CreatePolicyRequest message is used to create a new policy.

func (*CreatePolicyRequest) GetDescription ¶

func (o *CreatePolicyRequest) GetDescription() *string

func (*CreatePolicyRequest) GetDisplayName ¶

func (o *CreatePolicyRequest) GetDisplayName() *string

func (*CreatePolicyRequest) GetPolicySteps ¶

func (o *CreatePolicyRequest) GetPolicySteps() map[string]PolicyStepsInput

func (*CreatePolicyRequest) GetPolicyType ¶

func (o *CreatePolicyRequest) GetPolicyType() *PolicyType

func (*CreatePolicyRequest) GetPostActions ¶

func (o *CreatePolicyRequest) GetPostActions() []PolicyPostActions

func (*CreatePolicyRequest) GetReassignTasksToDelegates ¶

func (o *CreatePolicyRequest) GetReassignTasksToDelegates() *bool

type CreatePolicyResponse ¶

type CreatePolicyResponse struct {
	// A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.
	Policy *Policy `json:"policy,omitempty"`
}

The CreatePolicyResponse message contains the created policy object.

func (*CreatePolicyResponse) GetPolicy ¶

func (o *CreatePolicyResponse) GetPolicy() *Policy

type CurrentStep ¶

type CurrentStep string

CurrentStep - Search tasks that have this type of step as the current step.

const (
	CurrentStepTaskSearchCurrentStepUnspecified CurrentStep = "TASK_SEARCH_CURRENT_STEP_UNSPECIFIED"
	CurrentStepTaskSearchCurrentStepApproval    CurrentStep = "TASK_SEARCH_CURRENT_STEP_APPROVAL"
	CurrentStepTaskSearchCurrentStepProvision   CurrentStep = "TASK_SEARCH_CURRENT_STEP_PROVISION"
)

func (CurrentStep) ToPointer ¶

func (e CurrentStep) ToPointer() *CurrentStep

func (*CurrentStep) UnmarshalJSON ¶

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

type DelegatedProvision ¶

type DelegatedProvision struct {
	// The AppID of the entitlement to delegate provisioning to.
	AppID *string `json:"appId,omitempty"`
	// The ID of the entitlement we are delegating provisioning to.
	EntitlementID *string `json:"entitlementId,omitempty"`
	// If true, a binding will be automatically created from the entitlement of the parent app.
	Implicit *bool `json:"implicit,omitempty"`
}

DelegatedProvision - This provision step indicates that we should delegate provisioning to the configuration of another app entitlement. This app entitlement does not have to be one from the same app, but MUST be configured as a proxy binding leading into this entitlement.

func (*DelegatedProvision) GetAppID ¶

func (o *DelegatedProvision) GetAppID() *string

func (*DelegatedProvision) GetEntitlementID ¶

func (o *DelegatedProvision) GetEntitlementID() *string

func (*DelegatedProvision) GetImplicit ¶

func (o *DelegatedProvision) GetImplicit() *bool

type DeleteAppRequest ¶

type DeleteAppRequest struct {
}

DeleteAppRequest - Empty request body

type DeleteAppResponse ¶

type DeleteAppResponse struct {
}

DeleteAppResponse - Empty response body. Status code indicates success.

type DeleteAttributeValueRequest ¶

type DeleteAttributeValueRequest struct {
}

The DeleteAttributeValueRequest message.

type DeleteAttributeValueResponse ¶

type DeleteAttributeValueResponse struct {
}

DeleteAttributeValueResponse is the empty response for deleting an attribute value.

type DeletePolicyRequest ¶

type DeletePolicyRequest struct {
}

The DeletePolicyRequest message contains the ID of the policy to delete. It uses URL value for input.

type DeletePolicyResponse ¶

type DeletePolicyResponse struct {
}

DeletePolicyResponse - Empty response with a status code indicating success.

type DeniedAction ¶

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

DeniedAction - The denied action indicates that the c1.api.policy.v1.ApprovalInstance had an outcome of denied.

func (*DeniedAction) GetDeniedAt ¶

func (o *DeniedAction) GetDeniedAt() *time.Time

func (*DeniedAction) GetUserID ¶

func (o *DeniedAction) GetUserID() *string

func (DeniedAction) MarshalJSON ¶

func (d DeniedAction) MarshalJSON() ([]byte, error)

func (*DeniedAction) UnmarshalJSON ¶

func (d *DeniedAction) UnmarshalJSON(data []byte) error

type Directory ¶

type Directory struct {
	// The ID of the app associated with the directory.
	AppID     *string    `json:"appId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

Directory - This object indicates that an app is also a directory.

func (*Directory) GetAppID ¶

func (o *Directory) GetAppID() *string

func (*Directory) GetCreatedAt ¶

func (o *Directory) GetCreatedAt() *time.Time

func (*Directory) GetDeletedAt ¶

func (o *Directory) GetDeletedAt() *time.Time

func (*Directory) GetUpdatedAt ¶

func (o *Directory) GetUpdatedAt() *time.Time

func (Directory) MarshalJSON ¶

func (d Directory) MarshalJSON() ([]byte, error)

func (*Directory) UnmarshalJSON ¶

func (d *Directory) UnmarshalJSON(data []byte) error

type DirectoryExpandMask ¶

type DirectoryExpandMask struct {
	// An array of fields to be included in the directory response.
	Paths []string `json:"paths,omitempty"`
}

DirectoryExpandMask - The fields to be included in the directory response.

func (*DirectoryExpandMask) GetPaths ¶

func (o *DirectoryExpandMask) GetPaths() []string

type DirectoryServiceCreateRequest ¶

type DirectoryServiceCreateRequest struct {
	// The fields to be included in the directory response.
	DirectoryExpandMask *DirectoryExpandMask `json:"expandMask,omitempty"`
	// The AppID to make into a directory, providing identities and more for the C1 app.
	AppID *string `json:"appId,omitempty"`
}

DirectoryServiceCreateRequest - Uplevel an app into a full directory.

func (*DirectoryServiceCreateRequest) GetAppID ¶

func (o *DirectoryServiceCreateRequest) GetAppID() *string

func (*DirectoryServiceCreateRequest) GetDirectoryExpandMask ¶

func (o *DirectoryServiceCreateRequest) GetDirectoryExpandMask() *DirectoryExpandMask

type DirectoryServiceCreateResponse ¶

type DirectoryServiceCreateResponse struct {
	// The directory view contains a directory and an app_path which is a JSONPATH set to the location in the expand mask that the expanded app will live if requested by the expander.
	DirectoryView *DirectoryView `json:"directoryView,omitempty"`
	// List of serialized related objects.
	Expanded []DirectoryServiceCreateResponseExpanded `json:"expanded,omitempty"`
}

The DirectoryServiceCreateResponse message.

func (*DirectoryServiceCreateResponse) GetDirectoryView ¶

func (o *DirectoryServiceCreateResponse) GetDirectoryView() *DirectoryView

func (*DirectoryServiceCreateResponse) GetExpanded ¶

type DirectoryServiceCreateResponseExpanded ¶

type DirectoryServiceCreateResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

DirectoryServiceCreateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*DirectoryServiceCreateResponseExpanded) GetAdditionalProperties ¶

func (o *DirectoryServiceCreateResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*DirectoryServiceCreateResponseExpanded) GetAtType ¶

func (DirectoryServiceCreateResponseExpanded) MarshalJSON ¶

func (d DirectoryServiceCreateResponseExpanded) MarshalJSON() ([]byte, error)

func (*DirectoryServiceCreateResponseExpanded) UnmarshalJSON ¶

func (d *DirectoryServiceCreateResponseExpanded) UnmarshalJSON(data []byte) error

type DirectoryServiceDeleteRequest ¶

type DirectoryServiceDeleteRequest struct {
}

DirectoryServiceDeleteRequest is the request message for deleting a directory. It uses URL values for input.

type DirectoryServiceDeleteResponse ¶

type DirectoryServiceDeleteResponse struct {
}

DirectoryServiceDeleteResponse - Empty response with a status code indicating success.

type DirectoryServiceGetResponse ¶

type DirectoryServiceGetResponse struct {
	// The directory view contains a directory and an app_path which is a JSONPATH set to the location in the expand mask that the expanded app will live if requested by the expander.
	DirectoryView *DirectoryView `json:"directoryView,omitempty"`
	// List of serialized related objects.
	Expanded []DirectoryServiceGetResponseExpanded `json:"expanded,omitempty"`
}

DirectoryServiceGetResponse - The Directory Service Get Response returns a directory view with a directory and JSONPATHs indicating the

location in the expanded array that items are expanded as indicated by the expand mask in the request.

func (*DirectoryServiceGetResponse) GetDirectoryView ¶

func (o *DirectoryServiceGetResponse) GetDirectoryView() *DirectoryView

func (*DirectoryServiceGetResponse) GetExpanded ¶

type DirectoryServiceGetResponseExpanded ¶

type DirectoryServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

DirectoryServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*DirectoryServiceGetResponseExpanded) GetAdditionalProperties ¶

func (o *DirectoryServiceGetResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*DirectoryServiceGetResponseExpanded) GetAtType ¶

func (DirectoryServiceGetResponseExpanded) MarshalJSON ¶

func (d DirectoryServiceGetResponseExpanded) MarshalJSON() ([]byte, error)

func (*DirectoryServiceGetResponseExpanded) UnmarshalJSON ¶

func (d *DirectoryServiceGetResponseExpanded) UnmarshalJSON(data []byte) error

type DirectoryServiceListResponse ¶

type DirectoryServiceListResponse struct {
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	Expanded []DirectoryServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []DirectoryView `json:"list,omitempty"`
	// List of serialized related objects.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The DirectoryServiceListResponse message contains a list of results and a nextPageToken if applicable.

func (*DirectoryServiceListResponse) GetExpanded ¶

func (*DirectoryServiceListResponse) GetList ¶

func (*DirectoryServiceListResponse) GetNextPageToken ¶

func (o *DirectoryServiceListResponse) GetNextPageToken() *string

type DirectoryServiceListResponseExpanded ¶

type DirectoryServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

DirectoryServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*DirectoryServiceListResponseExpanded) GetAdditionalProperties ¶

func (o *DirectoryServiceListResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*DirectoryServiceListResponseExpanded) GetAtType ¶

func (DirectoryServiceListResponseExpanded) MarshalJSON ¶

func (d DirectoryServiceListResponseExpanded) MarshalJSON() ([]byte, error)

func (*DirectoryServiceListResponseExpanded) UnmarshalJSON ¶

func (d *DirectoryServiceListResponseExpanded) UnmarshalJSON(data []byte) error

type DirectoryStatus ¶

type DirectoryStatus string

DirectoryStatus - The status of the user in the directory.

const (
	DirectoryStatusUnknown  DirectoryStatus = "UNKNOWN"
	DirectoryStatusEnabled  DirectoryStatus = "ENABLED"
	DirectoryStatusDisabled DirectoryStatus = "DISABLED"
	DirectoryStatusDeleted  DirectoryStatus = "DELETED"
)

func (DirectoryStatus) ToPointer ¶

func (e DirectoryStatus) ToPointer() *DirectoryStatus

func (*DirectoryStatus) UnmarshalJSON ¶

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

type DirectoryView ¶

type DirectoryView struct {
	// This object indicates that an app is also a directory.
	Directory *Directory `json:"directory,omitempty"`
	// JSONPATH expression indicating the location of the App object in the  array.
	AppPath *string `json:"appPath,omitempty"`
}

DirectoryView - The directory view contains a directory and an app_path which is a JSONPATH set to the location in the expand mask that the expanded app will live if requested by the expander.

func (*DirectoryView) GetAppPath ¶

func (o *DirectoryView) GetAppPath() *string

func (*DirectoryView) GetDirectory ¶

func (o *DirectoryView) GetDirectory() *Directory

type DurationUnset ¶

type DurationUnset struct {
}

type EmergencyStatus ¶

type EmergencyStatus string

EmergencyStatus - Search tasks that are or are not emergency access.

const (
	EmergencyStatusUnspecified  EmergencyStatus = "UNSPECIFIED"
	EmergencyStatusAll          EmergencyStatus = "ALL"
	EmergencyStatusNonEmergency EmergencyStatus = "NON_EMERGENCY"
	EmergencyStatusEmergency    EmergencyStatus = "EMERGENCY"
)

func (EmergencyStatus) ToPointer ¶

func (e EmergencyStatus) ToPointer() *EmergencyStatus

func (*EmergencyStatus) UnmarshalJSON ¶

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

type EntitlementOwnerApproval ¶

type EntitlementOwnerApproval struct {
	// Configuration to allow self approval if the target user is an entitlement owner during this step.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// Configuration to allow a fallback if the entitlement owner cannot be identified.
	Fallback *bool `json:"fallback,omitempty"`
	// Configuration to specific which users to fallback to if fallback is enabled and the entitlement owner cannot be identified.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

EntitlementOwnerApproval - The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners.

func (*EntitlementOwnerApproval) GetAllowSelfApproval ¶

func (o *EntitlementOwnerApproval) GetAllowSelfApproval() *bool

func (*EntitlementOwnerApproval) GetFallback ¶

func (o *EntitlementOwnerApproval) GetFallback() *bool

func (*EntitlementOwnerApproval) GetFallbackUserIds ¶

func (o *EntitlementOwnerApproval) GetFallbackUserIds() []string

type EntitlementOwnerApprovalInput ¶

type EntitlementOwnerApprovalInput struct {
}

EntitlementOwnerApprovalInput - The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners.

type ErroredAction ¶

type ErroredAction struct {
	// The description of a provision instance that has errored.
	Description *string `json:"description,omitempty"`
	// The error code of a provision instance that has errored. This is only PEC-1 for now, but more will be added in the future.
	ErrorCode *string    `json:"errorCode,omitempty"`
	ErroredAt *time.Time `json:"erroredAt,omitempty"`
}

ErroredAction - The outcome of a provision instance that has errored.

func (*ErroredAction) GetDescription ¶

func (o *ErroredAction) GetDescription() *string

func (*ErroredAction) GetErrorCode ¶

func (o *ErroredAction) GetErrorCode() *string

func (*ErroredAction) GetErroredAt ¶

func (o *ErroredAction) GetErroredAt() *time.Time

func (ErroredAction) MarshalJSON ¶

func (e ErroredAction) MarshalJSON() ([]byte, error)

func (*ErroredAction) UnmarshalJSON ¶

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

type Expanded ¶

type Expanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

Expanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*Expanded) GetAdditionalProperties ¶

func (o *Expanded) GetAdditionalProperties() map[string]interface{}

func (*Expanded) GetAtType ¶

func (o *Expanded) GetAtType() *string

func (Expanded) MarshalJSON ¶

func (e Expanded) MarshalJSON() ([]byte, error)

func (*Expanded) UnmarshalJSON ¶

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

type ExpressionApproval ¶

type ExpressionApproval struct {
	// Configuration to allow self approval of if the user is specified and also the target of the ticket.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// The assignedUserIds field.
	AssignedUserIds []string `json:"assignedUserIds,omitempty"`
	// Array of dynamic expressions to determine the approvers.  The first expression to return a non-empty list of users will be used.
	Expressions []string `json:"expressions,omitempty"`
	// Configuration to allow a fallback if the expression does not return a valid list of users.
	Fallback *bool `json:"fallback,omitempty"`
	// Configuration to specific which users to fallback to if and the expression does not return a valid list of users.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

The ExpressionApproval message.

func (*ExpressionApproval) GetAllowSelfApproval ¶

func (o *ExpressionApproval) GetAllowSelfApproval() *bool

func (*ExpressionApproval) GetAssignedUserIds ¶

func (o *ExpressionApproval) GetAssignedUserIds() []string

func (*ExpressionApproval) GetExpressions ¶

func (o *ExpressionApproval) GetExpressions() []string

func (*ExpressionApproval) GetFallback ¶

func (o *ExpressionApproval) GetFallback() *bool

func (*ExpressionApproval) GetFallbackUserIds ¶

func (o *ExpressionApproval) GetFallbackUserIds() []string

type ExpressionApprovalInput ¶

type ExpressionApprovalInput struct {
}

ExpressionApprovalInput - The ExpressionApproval message.

type ExternalRef ¶

type ExternalRef struct {
	// The source of the external reference.
	ExternalRefSource *ExternalRefSource `json:"externalRefSource,omitempty"`
	// The name of the external reference.
	Name *string `json:"name,omitempty"`
	// The URL to the external reference.
	URL *string `json:"url,omitempty"`
}

ExternalRef - A reference to an external source. This value is unused currently, but may be brought back.

func (*ExternalRef) GetExternalRefSource ¶

func (o *ExternalRef) GetExternalRefSource() *ExternalRefSource

func (*ExternalRef) GetName ¶

func (o *ExternalRef) GetName() *string

func (*ExternalRef) GetURL ¶

func (o *ExternalRef) GetURL() *string

type ExternalRefSource ¶

type ExternalRefSource string

ExternalRefSource - The source of the external reference.

const (
	ExternalRefSourceUnspecified ExternalRefSource = "UNSPECIFIED"
	ExternalRefSourceJira        ExternalRefSource = "JIRA"
)

func (ExternalRefSource) ToPointer ¶

func (e ExternalRefSource) ToPointer() *ExternalRefSource

func (*ExternalRefSource) UnmarshalJSON ¶

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

type FacetCategory ¶

type FacetCategory struct {
	// The FacetRangeItem message.
	FacetRangeItem *FacetRangeItem `json:"range,omitempty"`
	// The FacetValueItem message.
	FacetValueItem *FacetValueItem `json:"value,omitempty"`
	// The display name of the category.
	DisplayName *string `json:"displayName,omitempty"`
	// An icon for the category.
	IconURL *string `json:"iconUrl,omitempty"`
	// The param that is being set when checking a facet in this category.
	Param *string `json:"param,omitempty"`
}

The FacetCategory indicates a grouping of facets by type. For example, facets "OnePassword" and "Okta" would group under an "Apps" category.

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

  • value
  • range

func (*FacetCategory) GetDisplayName ¶

func (o *FacetCategory) GetDisplayName() *string

func (*FacetCategory) GetFacetRangeItem ¶

func (o *FacetCategory) GetFacetRangeItem() *FacetRangeItem

func (*FacetCategory) GetFacetValueItem ¶

func (o *FacetCategory) GetFacetValueItem() *FacetValueItem

func (*FacetCategory) GetIconURL ¶

func (o *FacetCategory) GetIconURL() *string

func (*FacetCategory) GetParam ¶

func (o *FacetCategory) GetParam() *string

type FacetRange ¶

type FacetRange struct {
	// The count of items in the range.
	Count *string `json:"count,omitempty"`
	// The display name of the range.
	DisplayName *string `json:"displayName,omitempty"`
	// The starting value of the range.
	From *string `json:"from,omitempty"`
	// The icon of the range.
	IconURL *string `json:"iconUrl,omitempty"`
	// The ending value of the range.
	To *string `json:"to,omitempty"`
}

The FacetRange message.

func (*FacetRange) GetCount ¶

func (o *FacetRange) GetCount() *string

func (*FacetRange) GetDisplayName ¶

func (o *FacetRange) GetDisplayName() *string

func (*FacetRange) GetFrom ¶

func (o *FacetRange) GetFrom() *string

func (*FacetRange) GetIconURL ¶

func (o *FacetRange) GetIconURL() *string

func (*FacetRange) GetTo ¶

func (o *FacetRange) GetTo() *string

type FacetRangeItem ¶

type FacetRangeItem struct {
	// An array of facet ranges.
	Ranges []FacetRange `json:"ranges,omitempty"`
}

The FacetRangeItem message.

func (*FacetRangeItem) GetRanges ¶

func (o *FacetRangeItem) GetRanges() []FacetRange

type FacetValue ¶

type FacetValue struct {
	// The count of the values in this facet.
	Count *string `json:"count,omitempty"`
	// The name of this facet.
	DisplayName *string `json:"displayName,omitempty"`
	// The icon for this facet.
	IconURL *string `json:"iconUrl,omitempty"`
	// The value of this facet.
	Value *string `json:"value,omitempty"`
}

A FacetValue message contains count and value of the facet entry.

func (*FacetValue) GetCount ¶

func (o *FacetValue) GetCount() *string

func (*FacetValue) GetDisplayName ¶

func (o *FacetValue) GetDisplayName() *string

func (*FacetValue) GetIconURL ¶

func (o *FacetValue) GetIconURL() *string

func (*FacetValue) GetValue ¶

func (o *FacetValue) GetValue() *string

type FacetValueItem ¶

type FacetValueItem struct {
	// An array of facet values.
	Values []FacetValue `json:"values,omitempty"`
}

The FacetValueItem message.

func (*FacetValueItem) GetValues ¶

func (o *FacetValueItem) GetValues() []FacetValue

type Facets ¶

type Facets struct {
	// The count of items in this facet.
	Count *string `json:"count,omitempty"`
	// The facet being referenced.
	Facets []FacetCategory `json:"facets,omitempty"`
}

Facets - Indicates one value of a facet.

func (*Facets) GetCount ¶

func (o *Facets) GetCount() *string

func (*Facets) GetFacets ¶

func (o *Facets) GetFacets() []FacetCategory

type GetAppEntitlementResponse ¶

type GetAppEntitlementResponse struct {
	// The app entitlement view contains the serialized app entitlement and paths to objects referenced by the app entitlement.
	AppEntitlementView *AppEntitlementView `json:"appEntitlementView,omitempty"`
	// List of serialized related objects.
	Expanded []GetAppEntitlementResponseExpanded `json:"expanded,omitempty"`
}

GetAppEntitlementResponse - The get app entitlement response returns an entitlement view containing paths in the expanded array for the objects expanded as indicated by the expand mask in the request.

func (*GetAppEntitlementResponse) GetAppEntitlementView ¶

func (o *GetAppEntitlementResponse) GetAppEntitlementView() *AppEntitlementView

func (*GetAppEntitlementResponse) GetExpanded ¶

type GetAppEntitlementResponseExpanded ¶

type GetAppEntitlementResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

GetAppEntitlementResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*GetAppEntitlementResponseExpanded) GetAdditionalProperties ¶

func (o *GetAppEntitlementResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*GetAppEntitlementResponseExpanded) GetAtType ¶

func (o *GetAppEntitlementResponseExpanded) GetAtType() *string

func (GetAppEntitlementResponseExpanded) MarshalJSON ¶

func (g GetAppEntitlementResponseExpanded) MarshalJSON() ([]byte, error)

func (*GetAppEntitlementResponseExpanded) UnmarshalJSON ¶

func (g *GetAppEntitlementResponseExpanded) UnmarshalJSON(data []byte) error

type GetAppResponse ¶

type GetAppResponse struct {
	// The App object provides all of the details for an app, as well as some configuration.
	App *App `json:"app,omitempty"`
}

The GetAppResponse message contains the details of the requested app in the app field.

func (*GetAppResponse) GetApp ¶

func (o *GetAppResponse) GetApp() *App

type GetAppUsageControlsResponse ¶

type GetAppUsageControlsResponse struct {
	// The AppUsageControls object describes some peripheral configuration for an app.
	AppUsageControls *AppUsageControls `json:"appUsageControls,omitempty"`
	// HasUsageData is false if the access entitlement for this app has no usage data.
	HasUsageData *bool `json:"hasUsageData,omitempty"`
}

The GetAppUsageControlsResponse message contains the retrieved AppUsageControls object.

func (*GetAppUsageControlsResponse) GetAppUsageControls ¶

func (o *GetAppUsageControlsResponse) GetAppUsageControls() *AppUsageControls

func (*GetAppUsageControlsResponse) GetHasUsageData ¶

func (o *GetAppUsageControlsResponse) GetHasUsageData() *bool

type GetAttributeValueResponse ¶

type GetAttributeValueResponse struct {
	// AttributeValue is the value of an attribute of a defined type.
	AttributeValue *AttributeValue `json:"value,omitempty"`
}

GetAttributeValueResponse is the response for getting an attribute value by id.

func (*GetAttributeValueResponse) GetAttributeValue ¶

func (o *GetAttributeValueResponse) GetAttributeValue() *AttributeValue

type GetPolicyResponse ¶

type GetPolicyResponse struct {
	// A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.
	Policy *Policy `json:"policy,omitempty"`
}

The GetPolicyResponse message contains the policy object.

func (*GetPolicyResponse) GetPolicy ¶

func (o *GetPolicyResponse) GetPolicy() *Policy

type GetRolesResponse ¶

type GetRolesResponse struct {
	// Role is a role that can be assigned to a user in ConductorOne.
	Role *Role `json:"role,omitempty"`
}

The GetRolesResponse message contains the retrieved role.

func (*GetRolesResponse) GetRole ¶

func (o *GetRolesResponse) GetRole() *Role

type GrantedStatus ¶

type GrantedStatus string

GrantedStatus - Search entitlements with this granted status for your signed in user.

const (
	GrantedStatusUnspecified GrantedStatus = "UNSPECIFIED"
	GrantedStatusAll         GrantedStatus = "ALL"
	GrantedStatusGranted     GrantedStatus = "GRANTED"
	GrantedStatusNotGranted  GrantedStatus = "NOT_GRANTED"
)

func (GrantedStatus) ToPointer ¶

func (e GrantedStatus) ToPointer() *GrantedStatus

func (*GrantedStatus) UnmarshalJSON ¶

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

type IntrospectResponse ¶

type IntrospectResponse struct {
	// The list of feature flags enabled for the tenant the logged in user belongs to.
	Features []string `json:"features,omitempty"`
	// The list of permissions that the current logged in user has.
	Permissions []string `json:"permissions,omitempty"`
	// The principleID of the current logged in user.
	PrincipleID *string `json:"principleId,omitempty"`
	// The list of roles that the current logged in user has.
	Roles []string `json:"roles,omitempty"`
	// The userID of the current logged in user.
	UserID *string `json:"userId,omitempty"`
}

IntrospectResponse contains information about the current user who is authenticated.

func (*IntrospectResponse) GetFeatures ¶

func (o *IntrospectResponse) GetFeatures() []string

func (*IntrospectResponse) GetPermissions ¶

func (o *IntrospectResponse) GetPermissions() []string

func (*IntrospectResponse) GetPrincipleID ¶

func (o *IntrospectResponse) GetPrincipleID() *string

func (*IntrospectResponse) GetRoles ¶

func (o *IntrospectResponse) GetRoles() []string

func (*IntrospectResponse) GetUserID ¶

func (o *IntrospectResponse) GetUserID() *string

type ListAppEntitlementOwnersResponse ¶

type ListAppEntitlementOwnersResponse struct {
	// The list of owners for the app entitlement.
	List []User `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

ListAppEntitlementOwnersResponse - The response message for listing app entitlement owners.

func (*ListAppEntitlementOwnersResponse) GetList ¶

func (o *ListAppEntitlementOwnersResponse) GetList() []User

func (*ListAppEntitlementOwnersResponse) GetNextPageToken ¶

func (o *ListAppEntitlementOwnersResponse) GetNextPageToken() *string

type ListAppEntitlementUsersResponse ¶

type ListAppEntitlementUsersResponse struct {
	// List of related objects
	Expanded []ListAppEntitlementUsersResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppEntitlementUserView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ListAppEntitlementUsersResponse message contains a list of results and a nextPageToken if applicable.

func (*ListAppEntitlementUsersResponse) GetExpanded ¶

func (*ListAppEntitlementUsersResponse) GetList ¶

func (*ListAppEntitlementUsersResponse) GetNextPageToken ¶

func (o *ListAppEntitlementUsersResponse) GetNextPageToken() *string

type ListAppEntitlementUsersResponseExpanded ¶

type ListAppEntitlementUsersResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

ListAppEntitlementUsersResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*ListAppEntitlementUsersResponseExpanded) GetAdditionalProperties ¶

func (o *ListAppEntitlementUsersResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*ListAppEntitlementUsersResponseExpanded) GetAtType ¶

func (ListAppEntitlementUsersResponseExpanded) MarshalJSON ¶

func (l ListAppEntitlementUsersResponseExpanded) MarshalJSON() ([]byte, error)

func (*ListAppEntitlementUsersResponseExpanded) UnmarshalJSON ¶

func (l *ListAppEntitlementUsersResponseExpanded) UnmarshalJSON(data []byte) error

type ListAppEntitlementsResponse ¶

type ListAppEntitlementsResponse struct {
	// List of related objects
	Expanded []ListAppEntitlementsResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ListAppEntitlementsResponse message contains a list of results and a nextPageToken if applicable.

func (*ListAppEntitlementsResponse) GetExpanded ¶

func (*ListAppEntitlementsResponse) GetList ¶

func (*ListAppEntitlementsResponse) GetNextPageToken ¶

func (o *ListAppEntitlementsResponse) GetNextPageToken() *string

type ListAppEntitlementsResponseExpanded ¶

type ListAppEntitlementsResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

ListAppEntitlementsResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*ListAppEntitlementsResponseExpanded) GetAdditionalProperties ¶

func (o *ListAppEntitlementsResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*ListAppEntitlementsResponseExpanded) GetAtType ¶

func (ListAppEntitlementsResponseExpanded) MarshalJSON ¶

func (l ListAppEntitlementsResponseExpanded) MarshalJSON() ([]byte, error)

func (*ListAppEntitlementsResponseExpanded) UnmarshalJSON ¶

func (l *ListAppEntitlementsResponseExpanded) UnmarshalJSON(data []byte) error

type ListAppOwnersResponse ¶

type ListAppOwnersResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request
	List []User `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ListAppOwnersResponse message.

func (*ListAppOwnersResponse) GetList ¶

func (o *ListAppOwnersResponse) GetList() []User

func (*ListAppOwnersResponse) GetNextPageToken ¶

func (o *ListAppOwnersResponse) GetNextPageToken() *string

type ListAppResourceOwnersResponse ¶

type ListAppResourceOwnersResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []User `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ListAppResourceOwnersResponse message contains a list of results and a nextPageToken if applicable

func (*ListAppResourceOwnersResponse) GetList ¶

func (o *ListAppResourceOwnersResponse) GetList() []User

func (*ListAppResourceOwnersResponse) GetNextPageToken ¶

func (o *ListAppResourceOwnersResponse) GetNextPageToken() *string

type ListAppUsersForIdentityWithGrantResponse ¶

type ListAppUsersForIdentityWithGrantResponse struct {
	// The list of app users that may also have grant information.
	Bindings []AppEntitlementUserBinding `json:"bindings,omitempty"`
}

The ListAppUsersForIdentityWithGrantResponse message.

func (*ListAppUsersForIdentityWithGrantResponse) GetBindings ¶

type ListAppsResponse ¶

type ListAppsResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []App `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ListAppsResponse message contains a list of results and a nextPageToken if applicable.

func (*ListAppsResponse) GetList ¶

func (o *ListAppsResponse) GetList() []App

func (*ListAppsResponse) GetNextPageToken ¶

func (o *ListAppsResponse) GetNextPageToken() *string

type ListAttributeTypesResponse ¶

type ListAttributeTypesResponse struct {
	// The list of AttributeTypes.
	List []AttributeType `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

ListAttributeTypesResponse is the response for listing attribute types.

func (*ListAttributeTypesResponse) GetList ¶

func (*ListAttributeTypesResponse) GetNextPageToken ¶

func (o *ListAttributeTypesResponse) GetNextPageToken() *string

type ListAttributeValuesResponse ¶

type ListAttributeValuesResponse struct {
	// The list of AttributeValues.
	List []AttributeValue `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

ListAttributeValuesResponse is the response for listing attribute values for a given AttributeType.

func (*ListAttributeValuesResponse) GetList ¶

func (*ListAttributeValuesResponse) GetNextPageToken ¶

func (o *ListAttributeValuesResponse) GetNextPageToken() *string

type ListPolicyResponse ¶

type ListPolicyResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request
	List []Policy `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ListPolicyResponse message.

func (*ListPolicyResponse) GetList ¶

func (o *ListPolicyResponse) GetList() []Policy

func (*ListPolicyResponse) GetNextPageToken ¶

func (o *ListPolicyResponse) GetNextPageToken() *string

type ListRolesResponse ¶

type ListRolesResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []Role `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The ListRolesResponse message contains a list of results and a nextPageToken if applicable.

func (*ListRolesResponse) GetList ¶

func (o *ListRolesResponse) GetList() []Role

func (*ListRolesResponse) GetNextPageToken ¶

func (o *ListRolesResponse) GetNextPageToken() *string

type ManagerApproval ¶

type ManagerApproval struct {
	// Configuration to allow self approval if the target user is their own manager. This may occur if a service account has an identity user and manager specified as the same person.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// The array of users determined to be the manager during processing time.
	AssignedUserIds []string `json:"assignedUserIds,omitempty"`
	// Configuration to allow a fallback if no manager is found.
	Fallback *bool `json:"fallback,omitempty"`
	// Configuration to specific which users to fallback to if fallback is enabled and no manager is found.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

ManagerApproval - The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task.

func (*ManagerApproval) GetAllowSelfApproval ¶

func (o *ManagerApproval) GetAllowSelfApproval() *bool

func (*ManagerApproval) GetAssignedUserIds ¶

func (o *ManagerApproval) GetAssignedUserIds() []string

func (*ManagerApproval) GetFallback ¶

func (o *ManagerApproval) GetFallback() *bool

func (*ManagerApproval) GetFallbackUserIds ¶

func (o *ManagerApproval) GetFallbackUserIds() []string

type ManagerApprovalInput ¶

type ManagerApprovalInput struct {
}

ManagerApprovalInput - The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task.

type ManualProvision ¶

type ManualProvision struct {
	// This field indicates a text body of instructions for the provisioner to indicate.
	Instructions *string `json:"instructions,omitempty"`
	// An array of users that are required to provision during this step.
	UserIds []string `json:"userIds,omitempty"`
}

ManualProvision - Manual provisioning indicates that a human must intervene for the provisioning of this step.

func (*ManualProvision) GetInstructions ¶

func (o *ManualProvision) GetInstructions() *string

func (*ManualProvision) GetUserIds ¶

func (o *ManualProvision) GetUserIds() []string

type Marker ¶

type Marker struct {
	// The endColumn field.
	EndColumn *float64 `json:"endColumn,omitempty"`
	// The endLineNumber field.
	EndLineNumber *float64 `json:"endLineNumber,omitempty"`
	// The message field.
	Message *string `json:"message,omitempty"`
	// The severity field.
	Severity *Severity `json:"severity,omitempty"`
	// The startColumn field.
	StartColumn *float64 `json:"startColumn,omitempty"`
	// The startLineNumber field.
	StartLineNumber *float64 `json:"startLineNumber,omitempty"`
}

The Marker message.

func (*Marker) GetEndColumn ¶

func (o *Marker) GetEndColumn() *float64

func (*Marker) GetEndLineNumber ¶

func (o *Marker) GetEndLineNumber() *float64

func (*Marker) GetMessage ¶

func (o *Marker) GetMessage() *string

func (*Marker) GetSeverity ¶

func (o *Marker) GetSeverity() *Severity

func (*Marker) GetStartColumn ¶

func (o *Marker) GetStartColumn() *float64

func (*Marker) GetStartLineNumber ¶

func (o *Marker) GetStartLineNumber() *float64

type OAuth2AuthorizedAs ¶

type OAuth2AuthorizedAs struct {
	// authEmail is the email of the user that authorized the connector using OAuth.
	AuthEmail    *string    `json:"authEmail,omitempty"`
	AuthorizedAt *time.Time `json:"authorizedAt,omitempty"`
}

OAuth2AuthorizedAs tracks the user that OAuthed with the connector.

func (*OAuth2AuthorizedAs) GetAuthEmail ¶

func (o *OAuth2AuthorizedAs) GetAuthEmail() *string

func (*OAuth2AuthorizedAs) GetAuthorizedAt ¶

func (o *OAuth2AuthorizedAs) GetAuthorizedAt() *time.Time

func (OAuth2AuthorizedAs) MarshalJSON ¶

func (o OAuth2AuthorizedAs) MarshalJSON() ([]byte, error)

func (*OAuth2AuthorizedAs) UnmarshalJSON ¶

func (o *OAuth2AuthorizedAs) UnmarshalJSON(data []byte) error

type OAuth2AuthorizedAsInput ¶

type OAuth2AuthorizedAsInput struct {
}

OAuth2AuthorizedAsInput - OAuth2AuthorizedAs tracks the user that OAuthed with the connector.

type Outcome ¶

type Outcome string

Outcome - The outcome of the certification.

const (
	OutcomeCertifyOutcomeUnspecified Outcome = "CERTIFY_OUTCOME_UNSPECIFIED"
	OutcomeCertifyOutcomeCertified   Outcome = "CERTIFY_OUTCOME_CERTIFIED"
	OutcomeCertifyOutcomeDecertified Outcome = "CERTIFY_OUTCOME_DECERTIFIED"
	OutcomeCertifyOutcomeError       Outcome = "CERTIFY_OUTCOME_ERROR"
	OutcomeCertifyOutcomeCancelled   Outcome = "CERTIFY_OUTCOME_CANCELLED"
)

func (Outcome) ToPointer ¶

func (e Outcome) ToPointer() *Outcome

func (*Outcome) UnmarshalJSON ¶

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

type PersonalClient ¶

type PersonalClient struct {
	// If set, only allows the CIDRs in the array to use the credential.
	AllowSourceCidr []string `json:"allowSourceCidr,omitempty"`
	// The clientID of the credential.
	ClientID  *string    `json:"clientId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The display name of the personal client credential.
	DisplayName *string    `json:"displayName,omitempty"`
	ExpiresTime *time.Time `json:"expiresTime,omitempty"`
	// The unique ID of the personal client credential.
	ID         *string    `json:"id,omitempty"`
	LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
	// scoped_roles provides a list of IAM Roles
	//  that this OAuth2 Client's API permissions
	//  are reduced to. The permissions granted to OAuth2 Client
	//  are AND'ed against the owning User's own permissions.
	ScopedRoles []string   `json:"scopedRoles,omitempty"`
	UpdatedAt   *time.Time `json:"updatedAt,omitempty"`
	// The ID of the user that this credential is created for.
	UserID *string `json:"userId,omitempty"`
}

The PersonalClient message contains information about a presonal client credential.

func (*PersonalClient) GetAllowSourceCidr ¶

func (o *PersonalClient) GetAllowSourceCidr() []string

func (*PersonalClient) GetClientID ¶

func (o *PersonalClient) GetClientID() *string

func (*PersonalClient) GetCreatedAt ¶

func (o *PersonalClient) GetCreatedAt() *time.Time

func (*PersonalClient) GetDeletedAt ¶

func (o *PersonalClient) GetDeletedAt() *time.Time

func (*PersonalClient) GetDisplayName ¶

func (o *PersonalClient) GetDisplayName() *string

func (*PersonalClient) GetExpiresTime ¶

func (o *PersonalClient) GetExpiresTime() *time.Time

func (*PersonalClient) GetID ¶

func (o *PersonalClient) GetID() *string

func (*PersonalClient) GetLastUsedAt ¶

func (o *PersonalClient) GetLastUsedAt() *time.Time

func (*PersonalClient) GetScopedRoles ¶

func (o *PersonalClient) GetScopedRoles() []string

func (*PersonalClient) GetUpdatedAt ¶

func (o *PersonalClient) GetUpdatedAt() *time.Time

func (*PersonalClient) GetUserID ¶

func (o *PersonalClient) GetUserID() *string

func (PersonalClient) MarshalJSON ¶

func (p PersonalClient) MarshalJSON() ([]byte, error)

func (*PersonalClient) UnmarshalJSON ¶

func (p *PersonalClient) UnmarshalJSON(data []byte) error

type PersonalClientServiceCreateRequest ¶

type PersonalClientServiceCreateRequest struct {
	// A list of CIDRs to restrict this credential to.
	AllowSourceCidr []string `json:"allowSourceCidr,omitempty"`
	// The display name for the new personal client.
	DisplayName *string `json:"displayName,omitempty"`
	Expires     *string `json:"expires,omitempty"`
	// The list of roles to restrict the credential to.
	ScopedRoles []string `json:"scopedRoles,omitempty"`
}

The PersonalClientServiceCreateRequest message contains the fields for creating a new personal client.

func (*PersonalClientServiceCreateRequest) GetAllowSourceCidr ¶

func (o *PersonalClientServiceCreateRequest) GetAllowSourceCidr() []string

func (*PersonalClientServiceCreateRequest) GetDisplayName ¶

func (o *PersonalClientServiceCreateRequest) GetDisplayName() *string

func (*PersonalClientServiceCreateRequest) GetExpires ¶

func (o *PersonalClientServiceCreateRequest) GetExpires() *string

func (*PersonalClientServiceCreateRequest) GetScopedRoles ¶

func (o *PersonalClientServiceCreateRequest) GetScopedRoles() []string

type PersonalClientServiceCreateResponse ¶

type PersonalClientServiceCreateResponse struct {
	// The PersonalClient message contains information about a presonal client credential.
	PersonalClient *PersonalClient `json:"client,omitempty"`
	// The client secret that corresponds to the personal client. Make sure to save this, because it cannot be returned or queried again.
	ClientSecret *string `json:"clientSecret,omitempty"`
}

The PersonalClientServiceCreateResponse message contains the created personal client and client secret.

func (*PersonalClientServiceCreateResponse) GetClientSecret ¶

func (o *PersonalClientServiceCreateResponse) GetClientSecret() *string

func (*PersonalClientServiceCreateResponse) GetPersonalClient ¶

func (o *PersonalClientServiceCreateResponse) GetPersonalClient() *PersonalClient

type Policy ¶

type Policy struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The description of the Policy.
	Description *string `json:"description,omitempty"`
	// The display name of the Policy.
	DisplayName *string `json:"displayName,omitempty"`
	// The ID of the Policy.
	ID *string `json:"id,omitempty"`
	// A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set.
	PolicySteps map[string]PolicySteps `json:"policySteps,omitempty"`
	// Indicates the type of this policy. Can also be used to get the value from policySteps.
	PolicyType *PolicyPolicyType `json:"policyType,omitempty"`
	// An array of actions (ordered) to take place after a policy completes processing.
	PostActions []PolicyPostActions `json:"postActions,omitempty"`
	// A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation referrs to the individual delegates users set on their account.
	ReassignTasksToDelegates *bool `json:"reassignTasksToDelegates,omitempty"`
	// The rules field.
	Rules []Rule `json:"rules,omitempty"`
	// Whether this policy is a builtin system policy. Builtin system policies cannot be edited.
	SystemBuiltin *bool      `json:"systemBuiltin,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
}

Policy - A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.

func (*Policy) GetCreatedAt ¶

func (o *Policy) GetCreatedAt() *time.Time

func (*Policy) GetDeletedAt ¶

func (o *Policy) GetDeletedAt() *time.Time

func (*Policy) GetDescription ¶

func (o *Policy) GetDescription() *string

func (*Policy) GetDisplayName ¶

func (o *Policy) GetDisplayName() *string

func (*Policy) GetID ¶

func (o *Policy) GetID() *string

func (*Policy) GetPolicySteps ¶

func (o *Policy) GetPolicySteps() map[string]PolicySteps

func (*Policy) GetPolicyType ¶

func (o *Policy) GetPolicyType() *PolicyPolicyType

func (*Policy) GetPostActions ¶

func (o *Policy) GetPostActions() []PolicyPostActions

func (*Policy) GetReassignTasksToDelegates ¶

func (o *Policy) GetReassignTasksToDelegates() *bool

func (*Policy) GetRules ¶

func (o *Policy) GetRules() []Rule

func (*Policy) GetSystemBuiltin ¶

func (o *Policy) GetSystemBuiltin() *bool

func (*Policy) GetUpdatedAt ¶

func (o *Policy) GetUpdatedAt() *time.Time

func (Policy) MarshalJSON ¶

func (p Policy) MarshalJSON() ([]byte, error)

func (*Policy) UnmarshalJSON ¶

func (p *Policy) UnmarshalJSON(data []byte) error

type PolicyInput ¶

type PolicyInput struct {
	// The description of the Policy.
	Description *string `json:"description,omitempty"`
	// The display name of the Policy.
	DisplayName *string `json:"displayName,omitempty"`
	// A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set.
	PolicySteps map[string]PolicyStepsInput `json:"policySteps,omitempty"`
	// Indicates the type of this policy. Can also be used to get the value from policySteps.
	PolicyType *PolicyPolicyType `json:"policyType,omitempty"`
	// An array of actions (ordered) to take place after a policy completes processing.
	PostActions []PolicyPostActions `json:"postActions,omitempty"`
	// A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation referrs to the individual delegates users set on their account.
	ReassignTasksToDelegates *bool `json:"reassignTasksToDelegates,omitempty"`
	// The rules field.
	Rules []Rule `json:"rules,omitempty"`
}

PolicyInput - A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.

func (*PolicyInput) GetDescription ¶

func (o *PolicyInput) GetDescription() *string

func (*PolicyInput) GetDisplayName ¶

func (o *PolicyInput) GetDisplayName() *string

func (*PolicyInput) GetPolicySteps ¶

func (o *PolicyInput) GetPolicySteps() map[string]PolicyStepsInput

func (*PolicyInput) GetPolicyType ¶

func (o *PolicyInput) GetPolicyType() *PolicyPolicyType

func (*PolicyInput) GetPostActions ¶

func (o *PolicyInput) GetPostActions() []PolicyPostActions

func (*PolicyInput) GetReassignTasksToDelegates ¶

func (o *PolicyInput) GetReassignTasksToDelegates() *bool

func (*PolicyInput) GetRules ¶

func (o *PolicyInput) GetRules() []Rule

type PolicyInstance ¶

type PolicyInstance struct {
	// A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.
	Policy *Policy `json:"policy,omitempty"`
	// The policy step instance includes a reference to an instance of a policy step that tracks state and has a unique ID.
	//
	// This message contains a oneof named instance. Only a single field of the following list may be set at a time:
	//   - approval
	//   - provision
	//   - accept
	//   - reject
	//
	PolicyStepInstance *PolicyStepInstance `json:"current,omitempty"`
	// An array of steps that were previously processed by the ticket with their outcomes set, in order.
	History []PolicyStepInstance `json:"history,omitempty"`
	// An array of steps that will be processed by the ticket, in order.
	Next []PolicyStep `json:"next,omitempty"`
}

PolicyInstance - A policy instance is an object that contains a reference to the policy it was created from, the currently executing step, the next steps, and the history of previously completed steps.

func (*PolicyInstance) GetHistory ¶

func (o *PolicyInstance) GetHistory() []PolicyStepInstance

func (*PolicyInstance) GetNext ¶

func (o *PolicyInstance) GetNext() []PolicyStep

func (*PolicyInstance) GetPolicy ¶

func (o *PolicyInstance) GetPolicy() *Policy

func (*PolicyInstance) GetPolicyStepInstance ¶

func (o *PolicyInstance) GetPolicyStepInstance() *PolicyStepInstance

type PolicyPolicyType ¶

type PolicyPolicyType string

PolicyPolicyType - Indicates the type of this policy. Can also be used to get the value from policySteps.

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 ¶

func (e PolicyPolicyType) ToPointer() *PolicyPolicyType

func (*PolicyPolicyType) UnmarshalJSON ¶

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

type PolicyPostActions ¶

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 - These are actions to happen after a policy is complete.

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

  • certifyRemediateImmediately

func (*PolicyPostActions) GetCertifyRemediateImmediately ¶

func (o *PolicyPostActions) GetCertifyRemediateImmediately() *bool

type PolicyRef ¶

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

The PolicyRef message.

func (*PolicyRef) GetID ¶

func (o *PolicyRef) GetID() *string

type PolicyStep ¶

type PolicyStep struct {
	// This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.
	Accept *Accept `json:"accept,omitempty"`
	// 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
	//   - expression
	//
	Approval *Approval `json:"approval,omitempty"`
	// The provision step references a provision policy for this step.
	Provision *Provision `json:"provision,omitempty"`
	// This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.
	Reject *Reject `json:"reject,omitempty"`
}

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
  • accept
  • reject

func (*PolicyStep) GetAccept ¶

func (o *PolicyStep) GetAccept() *Accept

func (*PolicyStep) GetApproval ¶

func (o *PolicyStep) GetApproval() *Approval

func (*PolicyStep) GetProvision ¶

func (o *PolicyStep) GetProvision() *Provision

func (*PolicyStep) GetReject ¶

func (o *PolicyStep) GetReject() *Reject

type PolicyStepInput ¶

type PolicyStepInput struct {
	// This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.
	Accept *Accept `json:"accept,omitempty"`
	// 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
	//   - expression
	//
	Approval *ApprovalInput `json:"approval,omitempty"`
	// The provision step references a provision policy for this step.
	Provision *Provision `json:"provision,omitempty"`
	// This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.
	Reject *Reject `json:"reject,omitempty"`
}

PolicyStepInput - 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
  • accept
  • reject

func (*PolicyStepInput) GetAccept ¶

func (o *PolicyStepInput) GetAccept() *Accept

func (*PolicyStepInput) GetApproval ¶

func (o *PolicyStepInput) GetApproval() *ApprovalInput

func (*PolicyStepInput) GetProvision ¶

func (o *PolicyStepInput) GetProvision() *Provision

func (*PolicyStepInput) GetReject ¶

func (o *PolicyStepInput) GetReject() *Reject

type PolicyStepInstance ¶

type PolicyStepInstance struct {
	// This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.
	//  The instance is just a marker for it being copied into an active policy.
	AcceptInstance *AcceptInstance `json:"accept,omitempty"`
	// The approval instance object describes the way a policy step should be approved as well as its outcomes and state.
	//
	// 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
	//
	ApprovalInstance *ApprovalInstance `json:"approval,omitempty"`
	// A provision instance describes the specific configuration of an executing provision policy step including actions taken and notification id.
	//
	// 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
	//
	ProvisionInstance *ProvisionInstance `json:"provision,omitempty"`
	// This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.
	//  The instance is just a marker for it being copied into an active policy.
	RejectInstance *RejectInstance `json:"reject,omitempty"`
	// The ID of the PolicyStepInstance. This is required by many action submission endpoints to indicate what step you're approving.
	ID *string `json:"id,omitempty"`
	// The policy generation id refers to the version of the policy that this step was created from.
	PolicyGenerationID *string `json:"policyGenerationId,omitempty"`
	// The state of the step, which is either active or done.
	State *PolicyStepInstanceState `json:"state,omitempty"`
}

PolicyStepInstance - The policy step instance includes a reference to an instance of a policy step that tracks state and has a unique ID.

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

  • approval
  • provision
  • accept
  • reject

func (*PolicyStepInstance) GetAcceptInstance ¶

func (o *PolicyStepInstance) GetAcceptInstance() *AcceptInstance

func (*PolicyStepInstance) GetApprovalInstance ¶

func (o *PolicyStepInstance) GetApprovalInstance() *ApprovalInstance

func (*PolicyStepInstance) GetID ¶

func (o *PolicyStepInstance) GetID() *string

func (*PolicyStepInstance) GetPolicyGenerationID ¶

func (o *PolicyStepInstance) GetPolicyGenerationID() *string

func (*PolicyStepInstance) GetProvisionInstance ¶

func (o *PolicyStepInstance) GetProvisionInstance() *ProvisionInstance

func (*PolicyStepInstance) GetRejectInstance ¶

func (o *PolicyStepInstance) GetRejectInstance() *RejectInstance

func (*PolicyStepInstance) GetState ¶

type PolicyStepInstanceState ¶

type PolicyStepInstanceState string

PolicyStepInstanceState - The state of the step, which is either active or done.

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

func (PolicyStepInstanceState) ToPointer ¶

func (*PolicyStepInstanceState) UnmarshalJSON ¶

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

type PolicySteps ¶

type PolicySteps struct {
	// An array of policy steps indicating the processing flow of a policy. These steps are oneOfs, and only one property may be set for each array index at a time.
	Steps []PolicyStep `json:"steps,omitempty"`
}

The PolicySteps message.

func (*PolicySteps) GetSteps ¶

func (o *PolicySteps) GetSteps() []PolicyStep

type PolicyStepsInput ¶

type PolicyStepsInput struct {
	// An array of policy steps indicating the processing flow of a policy. These steps are oneOfs, and only one property may be set for each array index at a time.
	Steps []PolicyStepInput `json:"steps,omitempty"`
}

PolicyStepsInput - The PolicySteps message.

func (*PolicyStepsInput) GetSteps ¶

func (o *PolicyStepsInput) GetSteps() []PolicyStepInput

type PolicyType ¶

type PolicyType string

PolicyType - The enum of the policy type.

const (
	PolicyTypePolicyTypeUnspecified   PolicyType = "POLICY_TYPE_UNSPECIFIED"
	PolicyTypePolicyTypeGrant         PolicyType = "POLICY_TYPE_GRANT"
	PolicyTypePolicyTypeRevoke        PolicyType = "POLICY_TYPE_REVOKE"
	PolicyTypePolicyTypeCertify       PolicyType = "POLICY_TYPE_CERTIFY"
	PolicyTypePolicyTypeAccessRequest PolicyType = "POLICY_TYPE_ACCESS_REQUEST"
	PolicyTypePolicyTypeProvision     PolicyType = "POLICY_TYPE_PROVISION"
)

func (PolicyType) ToPointer ¶

func (e PolicyType) ToPointer() *PolicyType

func (*PolicyType) UnmarshalJSON ¶

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

type PolicyTypes ¶

type PolicyTypes string
const (
	PolicyTypesPolicyTypeUnspecified   PolicyTypes = "POLICY_TYPE_UNSPECIFIED"
	PolicyTypesPolicyTypeGrant         PolicyTypes = "POLICY_TYPE_GRANT"
	PolicyTypesPolicyTypeRevoke        PolicyTypes = "POLICY_TYPE_REVOKE"
	PolicyTypesPolicyTypeCertify       PolicyTypes = "POLICY_TYPE_CERTIFY"
	PolicyTypesPolicyTypeAccessRequest PolicyTypes = "POLICY_TYPE_ACCESS_REQUEST"
	PolicyTypesPolicyTypeProvision     PolicyTypes = "POLICY_TYPE_PROVISION"
)

func (PolicyTypes) ToPointer ¶

func (e PolicyTypes) ToPointer() *PolicyTypes

func (*PolicyTypes) UnmarshalJSON ¶

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

type Processing ¶

type Processing string

Processing - The processing state of a task as defined by the `processing_enum`

const (
	ProcessingTaskProcessingTypeUnspecified Processing = "TASK_PROCESSING_TYPE_UNSPECIFIED"
	ProcessingTaskProcessingTypeProcessing  Processing = "TASK_PROCESSING_TYPE_PROCESSING"
	ProcessingTaskProcessingTypeWaiting     Processing = "TASK_PROCESSING_TYPE_WAITING"
	ProcessingTaskProcessingTypeDone        Processing = "TASK_PROCESSING_TYPE_DONE"
)

func (Processing) ToPointer ¶

func (e Processing) ToPointer() *Processing

func (*Processing) UnmarshalJSON ¶

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

type Profile ¶

type Profile struct {
	Str        *string
	Number     *float64
	Three      *Three
	ArrayOfany []interface{}
	Boolean    *bool

	Type ProfileType
}

func CreateProfileArrayOfany ¶

func CreateProfileArrayOfany(arrayOfany []interface{}) Profile

func CreateProfileBoolean ¶

func CreateProfileBoolean(boolean bool) Profile

func CreateProfileNumber ¶

func CreateProfileNumber(number float64) Profile

func CreateProfileStr ¶

func CreateProfileStr(str string) Profile

func CreateProfileThree ¶

func CreateProfileThree(three Three) Profile

func (Profile) MarshalJSON ¶

func (u Profile) MarshalJSON() ([]byte, error)

func (*Profile) UnmarshalJSON ¶

func (u *Profile) UnmarshalJSON(data []byte) error

type ProfileType ¶

type ProfileType string
const (
	ProfileTypeStr        ProfileType = "str"
	ProfileTypeNumber     ProfileType = "number"
	ProfileTypeThree      ProfileType = "3"
	ProfileTypeArrayOfany ProfileType = "arrayOfany"
	ProfileTypeBoolean    ProfileType = "boolean"
)

type Provision ¶

type Provision struct {
	// ProvisionPolicy is a oneOf that indicates how a provision step should be processed.
	//
	// 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"`
	// ProvisionTarget indicates the specific app, app entitlement, and if known, the app user and grant duration of this provision step
	ProvisionTarget *ProvisionTarget `json:"provisionTarget,omitempty"`
	// A field indicating whether this step is assigned.
	Assigned *bool `json:"assigned,omitempty"`
}

Provision - The provision step references a provision policy for this step.

func (*Provision) GetAssigned ¶

func (o *Provision) GetAssigned() *bool

func (*Provision) GetProvisionPolicy ¶

func (o *Provision) GetProvisionPolicy() *ProvisionPolicy

func (*Provision) GetProvisionTarget ¶

func (o *Provision) GetProvisionTarget() *ProvisionTarget

type ProvisionInstance ¶

type ProvisionInstance struct {
	// The outcome of a provision instance that is cancelled.
	CancelledAction *CancelledAction `json:"cancelled,omitempty"`
	// The outcome of a provision instance that has been completed succesfully.
	CompletedAction *CompletedAction `json:"completed,omitempty"`
	// The outcome of a provision instance that has errored.
	ErroredAction *ErroredAction `json:"errored,omitempty"`
	// The provision step references a provision policy for this step.
	Provision *Provision `json:"provision,omitempty"`
	// The ReassignedByErrorAction object describes the outcome of a policy step that has been reassigned because it had an error provisioning.
	ReassignedByErrorAction *ReassignedByErrorAction `json:"reassignedByError,omitempty"`
	// This indicates the notification id for this step.
	NotificationID *string `json:"notificationId,omitempty"`
	// This property indicates the current state of this step.
	State *ProvisionInstanceState `json:"state,omitempty"`
}

ProvisionInstance - A provision instance describes the specific configuration of an executing provision policy step including actions taken and notification id.

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

func (*ProvisionInstance) GetCancelledAction ¶

func (o *ProvisionInstance) GetCancelledAction() *CancelledAction

func (*ProvisionInstance) GetCompletedAction ¶

func (o *ProvisionInstance) GetCompletedAction() *CompletedAction

func (*ProvisionInstance) GetErroredAction ¶

func (o *ProvisionInstance) GetErroredAction() *ErroredAction

func (*ProvisionInstance) GetNotificationID ¶

func (o *ProvisionInstance) GetNotificationID() *string

func (*ProvisionInstance) GetProvision ¶

func (o *ProvisionInstance) GetProvision() *Provision

func (*ProvisionInstance) GetReassignedByErrorAction ¶

func (o *ProvisionInstance) GetReassignedByErrorAction() *ReassignedByErrorAction

func (*ProvisionInstance) GetState ¶

type ProvisionInstanceState ¶

type ProvisionInstanceState string

ProvisionInstanceState - This property indicates the current state of this step.

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 ¶

func (*ProvisionInstanceState) UnmarshalJSON ¶

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

type ProvisionPolicy ¶

type ProvisionPolicy struct {
	// Indicates that a connector should perform the provisioning. This object has no fields.
	ConnectorProvision *ConnectorProvision `json:"connector,omitempty"`
	// This provision step indicates that we should delegate provisioning to the configuration of another app entitlement. This app entitlement does not have to be one from the same app, but MUST be configured as a proxy binding leading into this entitlement.
	DelegatedProvision *DelegatedProvision `json:"delegated,omitempty"`
	// Manual provisioning indicates that a human must intervene for the provisioning of this step.
	ManualProvision *ManualProvision `json:"manual,omitempty"`
}

ProvisionPolicy is a oneOf that indicates how a provision step should be processed.

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

  • connector
  • manual
  • delegated

func (*ProvisionPolicy) GetConnectorProvision ¶

func (o *ProvisionPolicy) GetConnectorProvision() *ConnectorProvision

func (*ProvisionPolicy) GetDelegatedProvision ¶

func (o *ProvisionPolicy) GetDelegatedProvision() *DelegatedProvision

func (*ProvisionPolicy) GetManualProvision ¶

func (o *ProvisionPolicy) GetManualProvision() *ManualProvision

type ProvisionTarget ¶

type ProvisionTarget struct {
	// The app entitlement that should be provisioned.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The app in which the entitlement should be provisioned
	AppID *string `json:"appId,omitempty"`
	// The app user that should be provisioned. May be unset if the app user is unknown
	AppUserID     *string `json:"appUserId,omitempty"`
	GrantDuration *string `json:"grantDuration,omitempty"`
}

ProvisionTarget indicates the specific app, app entitlement, and if known, the app user and grant duration of this provision step

func (*ProvisionTarget) GetAppEntitlementID ¶

func (o *ProvisionTarget) GetAppEntitlementID() *string

func (*ProvisionTarget) GetAppID ¶

func (o *ProvisionTarget) GetAppID() *string

func (*ProvisionTarget) GetAppUserID ¶

func (o *ProvisionTarget) GetAppUserID() *string

func (*ProvisionTarget) GetGrantDuration ¶

func (o *ProvisionTarget) GetGrantDuration() *string

type ReassignedAction ¶

type ReassignedAction struct {
	// The ID of the policy step that was created as a result of this reassignment.
	NewPolicyStepID *string    `json:"newPolicyStepId,omitempty"`
	ReassignedAt    *time.Time `json:"reassignedAt,omitempty"`
	// The UserID of the person who reassigned this step.
	UserID *string `json:"userId,omitempty"`
}

The ReassignedAction object describes the outcome of a policy step that has been reassigned.

func (*ReassignedAction) GetNewPolicyStepID ¶

func (o *ReassignedAction) GetNewPolicyStepID() *string

func (*ReassignedAction) GetReassignedAt ¶

func (o *ReassignedAction) GetReassignedAt() *time.Time

func (*ReassignedAction) GetUserID ¶

func (o *ReassignedAction) GetUserID() *string

func (ReassignedAction) MarshalJSON ¶

func (r ReassignedAction) MarshalJSON() ([]byte, error)

func (*ReassignedAction) UnmarshalJSON ¶

func (r *ReassignedAction) UnmarshalJSON(data []byte) error

type ReassignedByErrorAction ¶

type ReassignedByErrorAction struct {
	// The description of the error with more details on why this was reassigned.
	Description *string `json:"description,omitempty"`
	// Additional information about the error, like http status codes or error messages from SDKs.
	ErrorCode *string `json:"errorCode,omitempty"`
	// The UserID of the user who reassigned this due to an error. This will exclusively be the System's UserID.
	ErrorUserID *string    `json:"errorUserId,omitempty"`
	ErroredAt   *time.Time `json:"erroredAt,omitempty"`
	// The ID of the policy step that was created by this reassignment.
	NewPolicyStepID *string    `json:"newPolicyStepId,omitempty"`
	ReassignedAt    *time.Time `json:"reassignedAt,omitempty"`
}

The ReassignedByErrorAction object describes the outcome of a policy step that has been reassigned because it had an error provisioning.

func (*ReassignedByErrorAction) GetDescription ¶

func (o *ReassignedByErrorAction) GetDescription() *string

func (*ReassignedByErrorAction) GetErrorCode ¶

func (o *ReassignedByErrorAction) GetErrorCode() *string

func (*ReassignedByErrorAction) GetErrorUserID ¶

func (o *ReassignedByErrorAction) GetErrorUserID() *string

func (*ReassignedByErrorAction) GetErroredAt ¶

func (o *ReassignedByErrorAction) GetErroredAt() *time.Time

func (*ReassignedByErrorAction) GetNewPolicyStepID ¶

func (o *ReassignedByErrorAction) GetNewPolicyStepID() *string

func (*ReassignedByErrorAction) GetReassignedAt ¶

func (o *ReassignedByErrorAction) GetReassignedAt() *time.Time

func (ReassignedByErrorAction) MarshalJSON ¶

func (r ReassignedByErrorAction) MarshalJSON() ([]byte, error)

func (*ReassignedByErrorAction) UnmarshalJSON ¶

func (r *ReassignedByErrorAction) UnmarshalJSON(data []byte) error

type Recommendation ¶

type Recommendation string

Recommendation - The recommendation field.

const (
	RecommendationInsightRecommendationUnspecified Recommendation = "INSIGHT_RECOMMENDATION_UNSPECIFIED"
	RecommendationInsightRecommendationApprove     Recommendation = "INSIGHT_RECOMMENDATION_APPROVE"
	RecommendationInsightRecommendationDeny        Recommendation = "INSIGHT_RECOMMENDATION_DENY"
	RecommendationInsightRecommendationReview      Recommendation = "INSIGHT_RECOMMENDATION_REVIEW"
)

func (Recommendation) ToPointer ¶

func (e Recommendation) ToPointer() *Recommendation

func (*Recommendation) UnmarshalJSON ¶

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

type Reject ¶

type Reject struct {
}

Reject - This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.

type RejectInstance ¶

type RejectInstance struct {
}

RejectInstance - This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps.

The instance is just a marker for it being copied into an active policy.

type RemoveAppEntitlementOwnerRequest ¶

type RemoveAppEntitlementOwnerRequest struct {
}

RemoveAppEntitlementOwnerRequest - The request message for removing an app entitlement owner.

type RemoveAppEntitlementOwnerResponse ¶

type RemoveAppEntitlementOwnerResponse struct {
}

RemoveAppEntitlementOwnerResponse - The empty response message for removing an app entitlement owner.

type RemoveAppOwnerRequest ¶

type RemoveAppOwnerRequest struct {
}

RemoveAppOwnerRequest is the request body for removing an app owner. It uses URL values for input.

type RemoveAppOwnerResponse ¶

type RemoveAppOwnerResponse struct {
}

RemoveAppOwnerResponse - Empty response with a status code indicating success.

type RequestCatalog ¶

type RequestCatalog struct {
	// An array of app entitlements that, if the user has, can view the contents of this catalog.
	AccessEntitlements []AppEntitlement `json:"accessEntitlements,omitempty"`
	// The Apps contained in this request catalog.
	AppIds    []string   `json:"appIds,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The id of the user this request catalog was created by.
	CreatedByUserID *string    `json:"createdByUserId,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The description of the request catalog.
	Description *string `json:"description,omitempty"`
	// The display name of the request catalog.
	DisplayName *string `json:"displayName,omitempty"`
	// The id of the request catalog.
	ID *string `json:"id,omitempty"`
	// Whether or not this catalog is published.
	Published *bool      `json:"published,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// If this is true, the access entitlement requirement is ignored.
	VisibleToEveryone *bool `json:"visibleToEveryone,omitempty"`
}

The RequestCatalog is used for managing which entitlements are requestable, and who can request them.

func (*RequestCatalog) GetAccessEntitlements ¶

func (o *RequestCatalog) GetAccessEntitlements() []AppEntitlement

func (*RequestCatalog) GetAppIds ¶

func (o *RequestCatalog) GetAppIds() []string

func (*RequestCatalog) GetCreatedAt ¶

func (o *RequestCatalog) GetCreatedAt() *time.Time

func (*RequestCatalog) GetCreatedByUserID ¶

func (o *RequestCatalog) GetCreatedByUserID() *string

func (*RequestCatalog) GetDeletedAt ¶

func (o *RequestCatalog) GetDeletedAt() *time.Time

func (*RequestCatalog) GetDescription ¶

func (o *RequestCatalog) GetDescription() *string

func (*RequestCatalog) GetDisplayName ¶

func (o *RequestCatalog) GetDisplayName() *string

func (*RequestCatalog) GetID ¶

func (o *RequestCatalog) GetID() *string

func (*RequestCatalog) GetPublished ¶

func (o *RequestCatalog) GetPublished() *bool

func (*RequestCatalog) GetUpdatedAt ¶

func (o *RequestCatalog) GetUpdatedAt() *time.Time

func (*RequestCatalog) GetVisibleToEveryone ¶

func (o *RequestCatalog) GetVisibleToEveryone() *bool

func (RequestCatalog) MarshalJSON ¶

func (r RequestCatalog) MarshalJSON() ([]byte, error)

func (*RequestCatalog) UnmarshalJSON ¶

func (r *RequestCatalog) UnmarshalJSON(data []byte) error

type RequestCatalogExpandMask ¶

type RequestCatalogExpandMask struct {
	// An array of paths to be expanded in the response. May be any combination of "*", "created_by_user_id", "app_ids", and "access_entitlements".
	Paths []string `json:"paths,omitempty"`
}

The RequestCatalogExpandMask includes the paths in the catalog view to expand in the return value of this call.

func (*RequestCatalogExpandMask) GetPaths ¶

func (o *RequestCatalogExpandMask) GetPaths() []string

type RequestCatalogInput ¶

type RequestCatalogInput struct {
	// An array of app entitlements that, if the user has, can view the contents of this catalog.
	AccessEntitlements []AppEntitlementInput `json:"accessEntitlements,omitempty"`
	// The Apps contained in this request catalog.
	AppIds []string `json:"appIds,omitempty"`
	// The id of the user this request catalog was created by.
	CreatedByUserID *string `json:"createdByUserId,omitempty"`
	// The description of the request catalog.
	Description *string `json:"description,omitempty"`
	// The display name of the request catalog.
	DisplayName *string `json:"displayName,omitempty"`
	// The id of the request catalog.
	ID *string `json:"id,omitempty"`
	// Whether or not this catalog is published.
	Published *bool `json:"published,omitempty"`
	// If this is true, the access entitlement requirement is ignored.
	VisibleToEveryone *bool `json:"visibleToEveryone,omitempty"`
}

RequestCatalogInput - The RequestCatalog is used for managing which entitlements are requestable, and who can request them.

func (*RequestCatalogInput) GetAccessEntitlements ¶

func (o *RequestCatalogInput) GetAccessEntitlements() []AppEntitlementInput

func (*RequestCatalogInput) GetAppIds ¶

func (o *RequestCatalogInput) GetAppIds() []string

func (*RequestCatalogInput) GetCreatedByUserID ¶

func (o *RequestCatalogInput) GetCreatedByUserID() *string

func (*RequestCatalogInput) GetDescription ¶

func (o *RequestCatalogInput) GetDescription() *string

func (*RequestCatalogInput) GetDisplayName ¶

func (o *RequestCatalogInput) GetDisplayName() *string

func (*RequestCatalogInput) GetID ¶

func (o *RequestCatalogInput) GetID() *string

func (*RequestCatalogInput) GetPublished ¶

func (o *RequestCatalogInput) GetPublished() *bool

func (*RequestCatalogInput) GetVisibleToEveryone ¶

func (o *RequestCatalogInput) GetVisibleToEveryone() *bool

type RequestCatalogManagementServiceAddAccessEntitlementsRequest ¶

type RequestCatalogManagementServiceAddAccessEntitlementsRequest struct {
	// List of entitlements to add to the request catalog as access entitlements.
	AccessEntitlements []AppEntitlementRef `json:"accessEntitlements,omitempty"`
}

The RequestCatalogManagementServiceAddAccessEntitlementsRequest message is used to add access entitlements to a request

catalog to determine which users can view the request catalog.

func (*RequestCatalogManagementServiceAddAccessEntitlementsRequest) GetAccessEntitlements ¶

type RequestCatalogManagementServiceAddAccessEntitlementsResponse ¶

type RequestCatalogManagementServiceAddAccessEntitlementsResponse struct {
}

RequestCatalogManagementServiceAddAccessEntitlementsResponse - Empty response with a status code indicating success.

type RequestCatalogManagementServiceAddAppEntitlementsRequest ¶

type RequestCatalogManagementServiceAddAppEntitlementsRequest struct {
	// List of entitlements to add to the request catalog.
	AppEntitlements []AppEntitlementRef `json:"appEntitlements,omitempty"`
}

The RequestCatalogManagementServiceAddAppEntitlementsRequest object is used to add app requestable app entitlements to a request catalog.

func (*RequestCatalogManagementServiceAddAppEntitlementsRequest) GetAppEntitlements ¶

type RequestCatalogManagementServiceAddAppEntitlementsResponse ¶

type RequestCatalogManagementServiceAddAppEntitlementsResponse struct {
}

RequestCatalogManagementServiceAddAppEntitlementsResponse - Empty response with a status code indicating success.

type RequestCatalogManagementServiceCreateRequest ¶

type RequestCatalogManagementServiceCreateRequest struct {
	// The RequestCatalogExpandMask includes the paths in the catalog view to expand in the return value of this call.
	RequestCatalogExpandMask *RequestCatalogExpandMask `json:"expandMask,omitempty"`
	// The description of the new request catalog.
	Description *string `json:"description,omitempty"`
	// The display name of the new request catalog.
	DisplayName *string `json:"displayName,omitempty"`
	// Whether or not the new catalog should be created as published.
	Published *bool `json:"published,omitempty"`
	// Whether or not the new catalog is visible to everyone by default.
	VisibleToEveryone *bool `json:"visibleToEveryone,omitempty"`
}

RequestCatalogManagementServiceCreateRequest - Create a request catalog.

func (*RequestCatalogManagementServiceCreateRequest) GetDescription ¶

func (*RequestCatalogManagementServiceCreateRequest) GetDisplayName ¶

func (*RequestCatalogManagementServiceCreateRequest) GetPublished ¶

func (*RequestCatalogManagementServiceCreateRequest) GetRequestCatalogExpandMask ¶

func (*RequestCatalogManagementServiceCreateRequest) GetVisibleToEveryone ¶

func (o *RequestCatalogManagementServiceCreateRequest) GetVisibleToEveryone() *bool

type RequestCatalogManagementServiceDeleteRequest ¶

type RequestCatalogManagementServiceDeleteRequest struct {
}

RequestCatalogManagementServiceDeleteRequest - Delete a request catalog by Id. It uses URL value for input.

type RequestCatalogManagementServiceDeleteResponse ¶

type RequestCatalogManagementServiceDeleteResponse struct {
}

RequestCatalogManagementServiceDeleteResponse - Empty response with a status code indicating success.

type RequestCatalogManagementServiceGetResponse ¶

type RequestCatalogManagementServiceGetResponse struct {
	// The request catalog view contains the serialized request catalog and paths to objects referenced by the request catalog.
	RequestCatalogView *RequestCatalogView `json:"requestCatalogView,omitempty"`
	// List of serialized related objects.
	Expanded []RequestCatalogManagementServiceGetResponseExpanded `json:"expanded,omitempty"`
}

RequestCatalogManagementServiceGetResponse - The request catalog management service get response returns a request catalog view with the expanded items in the expanded array indicated by the expand mask in the request.

func (*RequestCatalogManagementServiceGetResponse) GetExpanded ¶

func (*RequestCatalogManagementServiceGetResponse) GetRequestCatalogView ¶

type RequestCatalogManagementServiceGetResponseExpanded ¶

type RequestCatalogManagementServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

RequestCatalogManagementServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*RequestCatalogManagementServiceGetResponseExpanded) GetAdditionalProperties ¶

func (o *RequestCatalogManagementServiceGetResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*RequestCatalogManagementServiceGetResponseExpanded) GetAtType ¶

func (RequestCatalogManagementServiceGetResponseExpanded) MarshalJSON ¶

func (*RequestCatalogManagementServiceGetResponseExpanded) UnmarshalJSON ¶

type RequestCatalogManagementServiceListEntitlementsForAccessResponse ¶

type RequestCatalogManagementServiceListEntitlementsForAccessResponse struct {
	// List of serialized related objects.
	Expanded []RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The RequestCatalogManagementServiceListEntitlementsForAccessResponse message contains a list of results and a nextPageToken if applicable.

func (*RequestCatalogManagementServiceListEntitlementsForAccessResponse) GetExpanded ¶

func (*RequestCatalogManagementServiceListEntitlementsForAccessResponse) GetList ¶

func (*RequestCatalogManagementServiceListEntitlementsForAccessResponse) GetNextPageToken ¶

type RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded ¶

type RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded) GetAdditionalProperties ¶

func (o *RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded) GetAtType ¶

func (RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded) MarshalJSON ¶

func (*RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded) UnmarshalJSON ¶

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponse ¶

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponse struct {
	// List of serialized related objects.
	Expanded []RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The RequestCatalogManagementServiceListEntitlementsPerCatalogResponse message contains a list of results and a nextPageToken if applicable.

func (*RequestCatalogManagementServiceListEntitlementsPerCatalogResponse) GetExpanded ¶

func (*RequestCatalogManagementServiceListEntitlementsPerCatalogResponse) GetList ¶

func (*RequestCatalogManagementServiceListEntitlementsPerCatalogResponse) GetNextPageToken ¶

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded ¶

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded) GetAdditionalProperties ¶

func (o *RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded) GetAtType ¶

func (RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded) MarshalJSON ¶

func (*RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded) UnmarshalJSON ¶

type RequestCatalogManagementServiceListResponse ¶

type RequestCatalogManagementServiceListResponse struct {
	// List of serialized related objects.
	Expanded []RequestCatalogManagementServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list of request catalogs.
	List []RequestCatalogView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The RequestCatalogManagementServiceListResponse message.

func (*RequestCatalogManagementServiceListResponse) GetExpanded ¶

func (*RequestCatalogManagementServiceListResponse) GetList ¶

func (*RequestCatalogManagementServiceListResponse) GetNextPageToken ¶

func (o *RequestCatalogManagementServiceListResponse) GetNextPageToken() *string

type RequestCatalogManagementServiceListResponseExpanded ¶

type RequestCatalogManagementServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

RequestCatalogManagementServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*RequestCatalogManagementServiceListResponseExpanded) GetAdditionalProperties ¶

func (o *RequestCatalogManagementServiceListResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*RequestCatalogManagementServiceListResponseExpanded) GetAtType ¶

func (RequestCatalogManagementServiceListResponseExpanded) MarshalJSON ¶

func (*RequestCatalogManagementServiceListResponseExpanded) UnmarshalJSON ¶

type RequestCatalogManagementServiceRemoveAccessEntitlementsRequest ¶

type RequestCatalogManagementServiceRemoveAccessEntitlementsRequest struct {
	// The list of access entitlements to remove from the catalog.
	AccessEntitlements []AppEntitlementRef `json:"accessEntitlements,omitempty"`
}

The RequestCatalogManagementServiceRemoveAccessEntitlementsRequest message is used to remove access entitlements from a request catalog.

The access entitlements are used to determine which users can view the request catalog.

func (*RequestCatalogManagementServiceRemoveAccessEntitlementsRequest) GetAccessEntitlements ¶

type RequestCatalogManagementServiceRemoveAccessEntitlementsResponse ¶

type RequestCatalogManagementServiceRemoveAccessEntitlementsResponse struct {
}

RequestCatalogManagementServiceRemoveAccessEntitlementsResponse - Empty response with a status code indicating success.

type RequestCatalogManagementServiceRemoveAppEntitlementsRequest ¶

type RequestCatalogManagementServiceRemoveAppEntitlementsRequest struct {
	// The list of app entitlements to remove from the catalog.
	AppEntitlements []AppEntitlementRef `json:"appEntitlements,omitempty"`
}

The RequestCatalogManagementServiceRemoveAppEntitlementsRequest message is used to remove app entitlements from a request catalog.

func (*RequestCatalogManagementServiceRemoveAppEntitlementsRequest) GetAppEntitlements ¶

type RequestCatalogManagementServiceRemoveAppEntitlementsResponse ¶

type RequestCatalogManagementServiceRemoveAppEntitlementsResponse struct {
}

RequestCatalogManagementServiceRemoveAppEntitlementsResponse - Empty response with a status code indicating success

type RequestCatalogManagementServiceUpdateRequest ¶

type RequestCatalogManagementServiceUpdateRequest struct {
	// The RequestCatalog is used for managing which entitlements are requestable, and who can request them.
	RequestCatalog *RequestCatalogInput `json:"catalog,omitempty"`
	// The RequestCatalogExpandMask includes the paths in the catalog view to expand in the return value of this call.
	RequestCatalogExpandMask *RequestCatalogExpandMask `json:"expandMask,omitempty"`
	UpdateMask               *string                   `json:"updateMask,omitempty"`
}

RequestCatalogManagementServiceUpdateRequest - Update a request catalog object by ID.

func (*RequestCatalogManagementServiceUpdateRequest) GetRequestCatalog ¶

func (*RequestCatalogManagementServiceUpdateRequest) GetRequestCatalogExpandMask ¶

func (*RequestCatalogManagementServiceUpdateRequest) GetUpdateMask ¶

type RequestCatalogSearchServiceSearchEntitlementsRequest ¶

type RequestCatalogSearchServiceSearchEntitlementsRequest struct {
	// The app entitlement expand mask allows the user to get additional information when getting responses containing app entitlement views.
	AppEntitlementExpandMask *AppEntitlementExpandMask `json:"expandMask,omitempty"`
	// Search entitlements that belong to this app name (exact match).
	AppDisplayName *string `json:"appDisplayName,omitempty"`
	// Search for entitlements with this alias (exact match).
	EntitlementAlias *string `json:"entitlementAlias,omitempty"`
	// Search entitlements with this granted status for your signed in user.
	GrantedStatus *GrantedStatus `json:"grantedStatus,omitempty"`
	// Include deleted entitlements
	IncludeDeleted *bool `json:"includeDeleted,omitempty"`
	// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// Fuzzy search the display name of resource types.
	Query *string `json:"query,omitempty"`
}

The RequestCatalogSearchServiceSearchEntitlementsRequest searches entitlements, but only ones that are available to you through the open catalogs.

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetAppDisplayName ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetAppEntitlementExpandMask ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetEntitlementAlias ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetGrantedStatus ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetIncludeDeleted ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetPageSize ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetPageToken ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequest) GetQuery ¶

type RequestCatalogSearchServiceSearchEntitlementsResponse ¶

type RequestCatalogSearchServiceSearchEntitlementsResponse struct {
	// List of serialized related objects.
	Expanded []RequestCatalogSearchServiceSearchEntitlementsResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppEntitlementWithUserBindings `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The RequestCatalogSearchServiceSearchEntitlementsResponse message contains a list of results and a nextPageToken if applicable.

func (*RequestCatalogSearchServiceSearchEntitlementsResponse) GetExpanded ¶

func (*RequestCatalogSearchServiceSearchEntitlementsResponse) GetList ¶

func (*RequestCatalogSearchServiceSearchEntitlementsResponse) GetNextPageToken ¶

type RequestCatalogSearchServiceSearchEntitlementsResponseExpanded ¶

type RequestCatalogSearchServiceSearchEntitlementsResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

RequestCatalogSearchServiceSearchEntitlementsResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*RequestCatalogSearchServiceSearchEntitlementsResponseExpanded) GetAdditionalProperties ¶

func (o *RequestCatalogSearchServiceSearchEntitlementsResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*RequestCatalogSearchServiceSearchEntitlementsResponseExpanded) GetAtType ¶

func (RequestCatalogSearchServiceSearchEntitlementsResponseExpanded) MarshalJSON ¶

func (*RequestCatalogSearchServiceSearchEntitlementsResponseExpanded) UnmarshalJSON ¶

type RequestCatalogView ¶

type RequestCatalogView struct {
	// The RequestCatalog is used for managing which entitlements are requestable, and who can request them.
	RequestCatalog *RequestCatalog `json:"requestCatalog,omitempty"`
	// JSONPATH expression indicating the location of the access entitlement objects, that the request catalog allows users to request, in the array.
	AccessEntitlementsPath *string `json:"accessEntitlementsPath,omitempty"`
	// JSONPATH expression indicating the location of the App object in the array.
	AppPaths *string `json:"appPaths,omitempty"`
	// JSONPATH expression indicating the location of the User object, that created the request catalog, in the array.
	CreatedByUserPath *string `json:"createdByUserPath,omitempty"`
}

RequestCatalogView - The request catalog view contains the serialized request catalog and paths to objects referenced by the request catalog.

func (*RequestCatalogView) GetAccessEntitlementsPath ¶

func (o *RequestCatalogView) GetAccessEntitlementsPath() *string

func (*RequestCatalogView) GetAppPaths ¶

func (o *RequestCatalogView) GetAppPaths() *string

func (*RequestCatalogView) GetCreatedByUserPath ¶

func (o *RequestCatalogView) GetCreatedByUserPath() *string

func (*RequestCatalogView) GetRequestCatalog ¶

func (o *RequestCatalogView) GetRequestCatalog() *RequestCatalog

type RestartAction ¶

type RestartAction struct {
	// The step ID that was restarted. Potentially multiple "history" steps will reference this ID to indicate by what step they were restarted.
	OldPolicyStepID *string    `json:"oldPolicyStepId,omitempty"`
	RestartedAt     *time.Time `json:"restartedAt,omitempty"`
	// The user that submitted the restart action.
	UserID *string `json:"userId,omitempty"`
}

RestartAction - The restart action describes the outcome of policy steps for when the task was restarted. This can be applied to multiple steps since restart skips all pending next steps.

func (*RestartAction) GetOldPolicyStepID ¶

func (o *RestartAction) GetOldPolicyStepID() *string

func (*RestartAction) GetRestartedAt ¶

func (o *RestartAction) GetRestartedAt() *time.Time

func (*RestartAction) GetUserID ¶

func (o *RestartAction) GetUserID() *string

func (RestartAction) MarshalJSON ¶

func (r RestartAction) MarshalJSON() ([]byte, error)

func (*RestartAction) UnmarshalJSON ¶

func (r *RestartAction) UnmarshalJSON(data []byte) error

type Role ¶

type Role struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The display name of the role.
	DisplayName *string `json:"displayName,omitempty"`
	// The id of the role.
	ID *string `json:"id,omitempty"`
	// The internal name of the role.
	Name *string `json:"name,omitempty"`
	// The list of permissions this role has.
	Permissions []string `json:"permissions,omitempty"`
	// The list of serviceRoles that this role has.
	ServiceRoles []string `json:"serviceRoles,omitempty"`
	// The system builtin field. If this field is set, the role is not editable.
	SystemBuiltin *bool      `json:"systemBuiltin,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
}

Role is a role that can be assigned to a user in ConductorOne.

func (*Role) GetCreatedAt ¶

func (o *Role) GetCreatedAt() *time.Time

func (*Role) GetDeletedAt ¶

func (o *Role) GetDeletedAt() *time.Time

func (*Role) GetDisplayName ¶

func (o *Role) GetDisplayName() *string

func (*Role) GetID ¶

func (o *Role) GetID() *string

func (*Role) GetName ¶

func (o *Role) GetName() *string

func (*Role) GetPermissions ¶

func (o *Role) GetPermissions() []string

func (*Role) GetServiceRoles ¶

func (o *Role) GetServiceRoles() []string

func (*Role) GetSystemBuiltin ¶

func (o *Role) GetSystemBuiltin() *bool

func (*Role) GetUpdatedAt ¶

func (o *Role) GetUpdatedAt() *time.Time

func (Role) MarshalJSON ¶

func (r Role) MarshalJSON() ([]byte, error)

func (*Role) UnmarshalJSON ¶

func (r *Role) UnmarshalJSON(data []byte) error

type RoleInput ¶

type RoleInput struct {
	// The display name of the role.
	DisplayName *string `json:"displayName,omitempty"`
	// The list of permissions this role has.
	Permissions []string `json:"permissions,omitempty"`
	// The list of serviceRoles that this role has.
	ServiceRoles []string `json:"serviceRoles,omitempty"`
}

RoleInput - Role is a role that can be assigned to a user in ConductorOne.

func (*RoleInput) GetDisplayName ¶

func (o *RoleInput) GetDisplayName() *string

func (*RoleInput) GetPermissions ¶

func (o *RoleInput) GetPermissions() []string

func (*RoleInput) GetServiceRoles ¶

func (o *RoleInput) GetServiceRoles() []string

type Rule ¶

type Rule struct {
	// The condition field.
	Condition *string `json:"condition,omitempty"`
	// This is a reference to a list of policy steps from `policy_steps`
	PolicyKey *string `json:"policyKey,omitempty"`
}

The Rule message.

func (*Rule) GetCondition ¶

func (o *Rule) GetCondition() *string

func (*Rule) GetPolicyKey ¶

func (o *Rule) GetPolicyKey() *string

type SearchAppResourceTypesRequest ¶

type SearchAppResourceTypesRequest struct {
	// A list of app IDs to restrict the search by.
	AppIds []string `json:"appIds,omitempty"`
	// A list of resource type IDs to exclude from the search.
	ExcludeResourceTypeIds []string `json:"excludeResourceTypeIds,omitempty"`
	// A list of resource type trait IDs to exclude from the search.
	ExcludeResourceTypeTraitIds []string `json:"excludeResourceTypeTraitIds,omitempty"`
	// The pageSize where 10 <= pageSize <= 100, default 25.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// Fuzzy search the display name of resource types.
	Query *string `json:"query,omitempty"`
	// A list of resource type IDs to restrict the search by.
	ResourceTypeIds []string `json:"resourceTypeIds,omitempty"`
	// A list of resource type trait IDs to restrict the search by.
	ResourceTypeTraitIds []string `json:"resourceTypeTraitIds,omitempty"`
}

SearchAppResourceTypesRequest - Search for app resources based on some filters.

func (*SearchAppResourceTypesRequest) GetAppIds ¶

func (o *SearchAppResourceTypesRequest) GetAppIds() []string

func (*SearchAppResourceTypesRequest) GetExcludeResourceTypeIds ¶

func (o *SearchAppResourceTypesRequest) GetExcludeResourceTypeIds() []string

func (*SearchAppResourceTypesRequest) GetExcludeResourceTypeTraitIds ¶

func (o *SearchAppResourceTypesRequest) GetExcludeResourceTypeTraitIds() []string

func (*SearchAppResourceTypesRequest) GetPageSize ¶

func (o *SearchAppResourceTypesRequest) GetPageSize() *float64

func (*SearchAppResourceTypesRequest) GetPageToken ¶

func (o *SearchAppResourceTypesRequest) GetPageToken() *string

func (*SearchAppResourceTypesRequest) GetQuery ¶

func (o *SearchAppResourceTypesRequest) GetQuery() *string

func (*SearchAppResourceTypesRequest) GetResourceTypeIds ¶

func (o *SearchAppResourceTypesRequest) GetResourceTypeIds() []string

func (*SearchAppResourceTypesRequest) GetResourceTypeTraitIds ¶

func (o *SearchAppResourceTypesRequest) GetResourceTypeTraitIds() []string

type SearchAppResourceTypesResponse ¶

type SearchAppResourceTypesResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []AppResourceType `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The SearchAppResourceTypesResponse message contains a list of results and a nextPageToken if applicable.

func (*SearchAppResourceTypesResponse) GetList ¶

func (*SearchAppResourceTypesResponse) GetNextPageToken ¶

func (o *SearchAppResourceTypesResponse) GetNextPageToken() *string

type SearchAppsRequest ¶

type SearchAppsRequest struct {
	// A list of app IDs to restrict the search to.
	AppIds []string `json:"appIds,omitempty"`
	// Search for apps with a case insensitive match on the display name.
	DisplayName *string `json:"displayName,omitempty"`
	// A list of app IDs to remove from the results.
	ExcludeAppIds []string `json:"excludeAppIds,omitempty"`
	// Only return apps which are directories
	OnlyDirectories *bool `json:"onlyDirectories,omitempty"`
	// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// Query the apps with a fuzzy search on display name and description.
	Query *string `json:"query,omitempty"`
}

SearchAppsRequest - Search Apps by a few properties.

func (*SearchAppsRequest) GetAppIds ¶

func (o *SearchAppsRequest) GetAppIds() []string

func (*SearchAppsRequest) GetDisplayName ¶

func (o *SearchAppsRequest) GetDisplayName() *string

func (*SearchAppsRequest) GetExcludeAppIds ¶

func (o *SearchAppsRequest) GetExcludeAppIds() []string

func (*SearchAppsRequest) GetOnlyDirectories ¶

func (o *SearchAppsRequest) GetOnlyDirectories() *bool

func (*SearchAppsRequest) GetPageSize ¶

func (o *SearchAppsRequest) GetPageSize() *float64

func (*SearchAppsRequest) GetPageToken ¶

func (o *SearchAppsRequest) GetPageToken() *string

func (*SearchAppsRequest) GetQuery ¶

func (o *SearchAppsRequest) GetQuery() *string

type SearchAppsResponse ¶

type SearchAppsResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request.
	List []App `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The SearchAppsResponse message contains a list of results and a nextPageToken if applicable.

func (*SearchAppsResponse) GetList ¶

func (o *SearchAppsResponse) GetList() []App

func (*SearchAppsResponse) GetNextPageToken ¶

func (o *SearchAppsResponse) GetNextPageToken() *string

type SearchAttributeValuesRequest ¶

type SearchAttributeValuesRequest struct {
	// The attribute type ids for what type of attributes to search for.
	AttributeTypeIds []string `json:"attributeTypeIds,omitempty"`
	// Exclude attributes with these ids from the search results.
	ExcludeIds []string `json:"excludeIds,omitempty"`
	// Include attributes with these ids in the search results.
	Ids []string `json:"ids,omitempty"`
	// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// Query the attributes with a fuzzy search on display name and description.
	Query *string `json:"query,omitempty"`
	// Search for attributes with a case insensitive match on the attribute value which is the attribute name.
	Value *string `json:"value,omitempty"`
}

SearchAttributeValuesRequest - Search Attributes by a few properties.

func (*SearchAttributeValuesRequest) GetAttributeTypeIds ¶

func (o *SearchAttributeValuesRequest) GetAttributeTypeIds() []string

func (*SearchAttributeValuesRequest) GetExcludeIds ¶

func (o *SearchAttributeValuesRequest) GetExcludeIds() []string

func (*SearchAttributeValuesRequest) GetIds ¶

func (o *SearchAttributeValuesRequest) GetIds() []string

func (*SearchAttributeValuesRequest) GetPageSize ¶

func (o *SearchAttributeValuesRequest) GetPageSize() *float64

func (*SearchAttributeValuesRequest) GetPageToken ¶

func (o *SearchAttributeValuesRequest) GetPageToken() *string

func (*SearchAttributeValuesRequest) GetQuery ¶

func (o *SearchAttributeValuesRequest) GetQuery() *string

func (*SearchAttributeValuesRequest) GetValue ¶

func (o *SearchAttributeValuesRequest) GetValue() *string

type SearchAttributeValuesResponse ¶

type SearchAttributeValuesResponse struct {
	// The list of returned AttributeValues.
	List []AttributeValue `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

SearchAttributeValuesResponse is the response for searching AttributeValues.

func (*SearchAttributeValuesResponse) GetList ¶

func (*SearchAttributeValuesResponse) GetNextPageToken ¶

func (o *SearchAttributeValuesResponse) GetNextPageToken() *string

type SearchPoliciesRequest ¶

type SearchPoliciesRequest struct {
	// Search for policies with a case insensitive match on the display name.
	DisplayName *string `json:"displayName,omitempty"`
	// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The policy type to search on. This can be POLICY_TYPE_GRANT, POLICY_TYPE_REVOKE, POLICY_TYPE_CERTIFY, POLICY_TYPE_ACCESS_REQUEST, or POLICY_TYPE_PROVISION.
	PolicyTypes []PolicyTypes `json:"policyTypes,omitempty"`
	// Query the policies with a fuzzy search on display name and description.
	Query *string `json:"query,omitempty"`
	// The refs field.
	Refs []PolicyRef `json:"refs,omitempty"`
}

SearchPoliciesRequest - Search Policies by a few properties.

func (*SearchPoliciesRequest) GetDisplayName ¶

func (o *SearchPoliciesRequest) GetDisplayName() *string

func (*SearchPoliciesRequest) GetPageSize ¶

func (o *SearchPoliciesRequest) GetPageSize() *float64

func (*SearchPoliciesRequest) GetPageToken ¶

func (o *SearchPoliciesRequest) GetPageToken() *string

func (*SearchPoliciesRequest) GetPolicyTypes ¶

func (o *SearchPoliciesRequest) GetPolicyTypes() []PolicyTypes

func (*SearchPoliciesRequest) GetQuery ¶

func (o *SearchPoliciesRequest) GetQuery() *string

func (*SearchPoliciesRequest) GetRefs ¶

func (o *SearchPoliciesRequest) GetRefs() []PolicyRef

type SearchUsersRequest ¶

type SearchUsersRequest struct {
	// The user expand mask is used to indicate which related objects should be expanded in the response.
	//  The supported paths are 'role_ids', 'manager_ids', 'delegated_user_id', 'directory_ids', and '*'.
	UserExpandMask *UserExpandMask `json:"expandMask,omitempty"`
	// Search for users based on their email (exact match).
	Email *string `json:"email,omitempty"`
	// An array of users IDs to exclude from the results.
	ExcludeIds []string `json:"excludeIds,omitempty"`
	// Deprecated. Use refs array instead.
	Ids []string `json:"ids,omitempty"`
	// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// Query the apps with a fuzzy search on display name and emails.
	Query *string `json:"query,omitempty"`
	// An array of user refs to restrict the return values to by ID.
	Refs []UserRef `json:"refs,omitempty"`
	// Search for users that have any of the role IDs on this list.
	RoleIds []string `json:"roleIds,omitempty"`
	// Search for users that have any of the statuses on this list. This can only be ENABLED, DISABLED, and DELETED
	UserStatuses []UserStatuses `json:"userStatuses,omitempty"`
}

SearchUsersRequest - Search for users based on some filters.

func (*SearchUsersRequest) GetEmail ¶

func (o *SearchUsersRequest) GetEmail() *string

func (*SearchUsersRequest) GetExcludeIds ¶

func (o *SearchUsersRequest) GetExcludeIds() []string

func (*SearchUsersRequest) GetIds ¶

func (o *SearchUsersRequest) GetIds() []string

func (*SearchUsersRequest) GetPageSize ¶

func (o *SearchUsersRequest) GetPageSize() *float64

func (*SearchUsersRequest) GetPageToken ¶

func (o *SearchUsersRequest) GetPageToken() *string

func (*SearchUsersRequest) GetQuery ¶

func (o *SearchUsersRequest) GetQuery() *string

func (*SearchUsersRequest) GetRefs ¶

func (o *SearchUsersRequest) GetRefs() []UserRef

func (*SearchUsersRequest) GetRoleIds ¶

func (o *SearchUsersRequest) GetRoleIds() []string

func (*SearchUsersRequest) GetUserExpandMask ¶

func (o *SearchUsersRequest) GetUserExpandMask() *UserExpandMask

func (*SearchUsersRequest) GetUserStatuses ¶

func (o *SearchUsersRequest) GetUserStatuses() []UserStatuses

type SearchUsersResponse ¶

type SearchUsersResponse struct {
	// List of related objects
	Expanded []SearchUsersResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request
	List []UserView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retreived. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The SearchUsersResponse message.

func (*SearchUsersResponse) GetExpanded ¶

func (*SearchUsersResponse) GetList ¶

func (o *SearchUsersResponse) GetList() []UserView

func (*SearchUsersResponse) GetNextPageToken ¶

func (o *SearchUsersResponse) GetNextPageToken() *string

type SearchUsersResponseExpanded ¶

type SearchUsersResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

SearchUsersResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*SearchUsersResponseExpanded) GetAdditionalProperties ¶

func (o *SearchUsersResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*SearchUsersResponseExpanded) GetAtType ¶

func (o *SearchUsersResponseExpanded) GetAtType() *string

func (SearchUsersResponseExpanded) MarshalJSON ¶

func (s SearchUsersResponseExpanded) MarshalJSON() ([]byte, error)

func (*SearchUsersResponseExpanded) UnmarshalJSON ¶

func (s *SearchUsersResponseExpanded) UnmarshalJSON(data []byte) error

type Security ¶

type Security struct {
	BearerAuth string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
	Oauth      string `security:"scheme,type=oauth2,name=Authorization"`
}

func (*Security) GetBearerAuth ¶

func (o *Security) GetBearerAuth() string

func (*Security) GetOauth ¶

func (o *Security) GetOauth() string

type SelfApproval ¶

type SelfApproval struct {
	// The array of users determined to be themselves during approval. This should only ever be one person, but is saved because it may change if the owner of an app user changes while the ticket is open.
	AssignedUserIds []string `json:"assignedUserIds,omitempty"`
	// Configuration to allow a fallback if the identity user of the target app user cannot be determined.
	Fallback *bool `json:"fallback,omitempty"`
	// Configuration to specific which users to fallback to if fallback is enabled and the identity user of the target app user cannot be determined.
	FallbackUserIds []string `json:"fallbackUserIds,omitempty"`
}

SelfApproval - The self approval object describes the configuration of a policy step that needs to be approved by the target of the request.

func (*SelfApproval) GetAssignedUserIds ¶

func (o *SelfApproval) GetAssignedUserIds() []string

func (*SelfApproval) GetFallback ¶

func (o *SelfApproval) GetFallback() *bool

func (*SelfApproval) GetFallbackUserIds ¶

func (o *SelfApproval) GetFallbackUserIds() []string

type SelfApprovalInput ¶

type SelfApprovalInput struct {
}

SelfApprovalInput - The self approval object describes the configuration of a policy step that needs to be approved by the target of the request.

type SetAppEntitlementOwnersRequest ¶

type SetAppEntitlementOwnersRequest struct {
	// The user_ids field for the users to set as an owner of the app entitlement.
	UserIds []string `json:"userIds,omitempty"`
}

SetAppEntitlementOwnersRequest - The request message for setting the app entitlement owners.

func (*SetAppEntitlementOwnersRequest) GetUserIds ¶

func (o *SetAppEntitlementOwnersRequest) GetUserIds() []string

type SetAppEntitlementOwnersResponse ¶

type SetAppEntitlementOwnersResponse struct {
}

SetAppEntitlementOwnersResponse - The empty response message for setting the app entitlement owners.

type SetAppOwnersRequest ¶

type SetAppOwnersRequest struct {
	// The user_ids field for the users to set as an owner of the app.
	UserIds []string `json:"userIds,omitempty"`
}

SetAppOwnersRequest - The request message for setting the app owners.

func (*SetAppOwnersRequest) GetUserIds ¶

func (o *SetAppOwnersRequest) GetUserIds() []string

type SetAppOwnersResponse ¶

type SetAppOwnersResponse struct {
}

SetAppOwnersResponse - The empty response message for setting the app owners.

type Severity ¶

type Severity string

Severity - The severity field.

const (
	SeverityUnknown Severity = "UNKNOWN"
	SeverityHint    Severity = "HINT"
	SeverityInfo    Severity = "INFO"
	SeverityWarning Severity = "WARNING"
	SeverityError   Severity = "ERROR"
)

func (Severity) ToPointer ¶

func (e Severity) ToPointer() *Severity

func (*Severity) UnmarshalJSON ¶

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

type SortBy ¶

type SortBy string

SortBy - Sort tasks in a specific order.

const (
	SortByTaskSearchSortByUnspecified     SortBy = "TASK_SEARCH_SORT_BY_UNSPECIFIED"
	SortByTaskSearchSortByAccount         SortBy = "TASK_SEARCH_SORT_BY_ACCOUNT"
	SortByTaskSearchSortByResource        SortBy = "TASK_SEARCH_SORT_BY_RESOURCE"
	SortByTaskSearchSortByAccountOwner    SortBy = "TASK_SEARCH_SORT_BY_ACCOUNT_OWNER"
	SortByTaskSearchSortByReverseTicketID SortBy = "TASK_SEARCH_SORT_BY_REVERSE_TICKET_ID"
)

func (SortBy) ToPointer ¶

func (e SortBy) ToPointer() *SortBy

func (*SortBy) UnmarshalJSON ¶

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

type State ¶

type State string

State - The state field tracks the state of the AppPopulationReport. This state field can be one of REPORT_STATE_PENDING, REPORT_STATE_UNSPECIFIED, REPORT_STATE_OK, REPORT_STATE_ERROR.

const (
	StateReportStateUnspecified State = "REPORT_STATE_UNSPECIFIED"
	StateReportStatePending     State = "REPORT_STATE_PENDING"
	StateReportStateOk          State = "REPORT_STATE_OK"
	StateReportStateError       State = "REPORT_STATE_ERROR"
)

func (State) ToPointer ¶

func (e State) ToPointer() *State

func (*State) UnmarshalJSON ¶

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

type Status ¶

type Status string

Status - The application user status field.

const (
	StatusStatusUnspecified Status = "STATUS_UNSPECIFIED"
	StatusStatusEnabled     Status = "STATUS_ENABLED"
	StatusStatusDisabled    Status = "STATUS_DISABLED"
	StatusStatusDeleted     Status = "STATUS_DELETED"
)

func (Status) ToPointer ¶

func (e Status) ToPointer() *Status

func (*Status) UnmarshalJSON ¶

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

type Task ¶

type Task struct {
	// A policy instance is an object that contains a reference to the policy it was created from, the currently executing step, the next steps, and the history of previously completed steps.
	PolicyInstance *PolicyInstance `json:"policy,omitempty"`
	// Task Type provides configuration for the type of task: certify, grant, or revoke
	//
	// 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
	//
	TaskType *TaskType `json:"type,omitempty"`
	// The actions that can be performed on the task by the current user.
	Actions []Actions `json:"actions,omitempty"`
	// The ID of the analysis object associated with this task created by an analysis workflow if the analysis feature is enabled for your tenant.
	AnalysisID *string `json:"analysisId,omitempty"`
	// An array of `google.protobuf.Any` annotations with various base64-encoded data.
	Annotations []Annotations `json:"annotations,omitempty"`
	// The count of comments.
	CommentCount *float64   `json:"commentCount,omitempty"`
	CreatedAt    *time.Time `json:"createdAt,omitempty"`
	// The ID of the user that is the creator of this task. This may not always match the userId field.
	CreatedByUserID *string    `json:"createdByUserId,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The description of the task. This is also known as justification.
	Description *string `json:"description,omitempty"`
	// The display name of the task.
	DisplayName *string `json:"displayName,omitempty"`
	// A field indicating whether this task was created using an emergency access flow, or escalated to emergency access. On task creation, it will also use the app entitlement's emergency policy when possible.
	EmergencyAccess *bool `json:"emergencyAccess,omitempty"`
	// An array of external references to the task. Historically that has been items like Jira task IDs. This is currently unused, but may come back in the future for integrations.
	ExternalRefs []ExternalRef `json:"externalRefs,omitempty"`
	// The ID of the task.
	ID *string `json:"id,omitempty"`
	// The insightIds field.
	InsightIds []string `json:"insightIds,omitempty"`
	// A human-usable numeric ID of a task which can be included in place of the fully qualified task id in path parmeters (but not search queries).
	NumericID *string `json:"numericId,omitempty"`
	// The policy generation id refers to the current policy's generation ID. This is changed when the policy is changed on a task.
	PolicyGenerationID *string `json:"policyGenerationId,omitempty"`
	// The processing state of a task as defined by the `processing_enum`
	Processing *Processing `json:"processing,omitempty"`
	// The recommendation field.
	Recommendation *Recommendation `json:"recommendation,omitempty"`
	// The current state of the task as defined by the `state_enum`
	State *TaskState `json:"state,omitempty"`
	// An array of IDs belonging to Identity Users that are allowed to review this step in a task.
	StepApproverIds []string   `json:"stepApproverIds,omitempty"`
	UpdatedAt       *time.Time `json:"updatedAt,omitempty"`
	// The ID of the user that is the target of this task. This may be empty if we're targeting a specific app user that has no known identity user.
	UserID *string `json:"userId,omitempty"`
}

Task - A fully-fleged task object. Includes its policy, references to external apps, its type, its processing history, and more.

func (*Task) GetActions ¶

func (o *Task) GetActions() []Actions

func (*Task) GetAnalysisID ¶

func (o *Task) GetAnalysisID() *string

func (*Task) GetAnnotations ¶

func (o *Task) GetAnnotations() []Annotations

func (*Task) GetCommentCount ¶

func (o *Task) GetCommentCount() *float64

func (*Task) GetCreatedAt ¶

func (o *Task) GetCreatedAt() *time.Time

func (*Task) GetCreatedByUserID ¶

func (o *Task) GetCreatedByUserID() *string

func (*Task) GetDeletedAt ¶

func (o *Task) GetDeletedAt() *time.Time

func (*Task) GetDescription ¶

func (o *Task) GetDescription() *string

func (*Task) GetDisplayName ¶

func (o *Task) GetDisplayName() *string

func (*Task) GetEmergencyAccess ¶

func (o *Task) GetEmergencyAccess() *bool

func (*Task) GetExternalRefs ¶

func (o *Task) GetExternalRefs() []ExternalRef

func (*Task) GetID ¶

func (o *Task) GetID() *string

func (*Task) GetInsightIds ¶

func (o *Task) GetInsightIds() []string

func (*Task) GetNumericID ¶

func (o *Task) GetNumericID() *string

func (*Task) GetPolicyGenerationID ¶

func (o *Task) GetPolicyGenerationID() *string

func (*Task) GetPolicyInstance ¶

func (o *Task) GetPolicyInstance() *PolicyInstance

func (*Task) GetProcessing ¶

func (o *Task) GetProcessing() *Processing

func (*Task) GetRecommendation ¶

func (o *Task) GetRecommendation() *Recommendation

func (*Task) GetState ¶

func (o *Task) GetState() *TaskState

func (*Task) GetStepApproverIds ¶

func (o *Task) GetStepApproverIds() []string

func (*Task) GetTaskType ¶

func (o *Task) GetTaskType() *TaskType

func (*Task) GetUpdatedAt ¶

func (o *Task) GetUpdatedAt() *time.Time

func (*Task) GetUserID ¶

func (o *Task) GetUserID() *string

func (Task) MarshalJSON ¶

func (t Task) MarshalJSON() ([]byte, error)

func (*Task) UnmarshalJSON ¶

func (t *Task) UnmarshalJSON(data []byte) error

type TaskActionsServiceApproveRequest ¶

type TaskActionsServiceApproveRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The comment attached to the request.
	Comment *string `json:"comment,omitempty"`
	// The ID of the policy step on the given task to approve.
	PolicyStepID string `json:"policyStepId"`
}

The TaskActionsServiceApproveRequest object lets you approve a task.

func (*TaskActionsServiceApproveRequest) GetComment ¶

func (o *TaskActionsServiceApproveRequest) GetComment() *string

func (*TaskActionsServiceApproveRequest) GetPolicyStepID ¶

func (o *TaskActionsServiceApproveRequest) GetPolicyStepID() string

func (*TaskActionsServiceApproveRequest) GetTaskExpandMask ¶

func (o *TaskActionsServiceApproveRequest) GetTaskExpandMask() *TaskExpandMask

type TaskActionsServiceApproveResponse ¶

type TaskActionsServiceApproveResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// List of serialized related objects.
	Expanded []TaskActionsServiceApproveResponseExpanded `json:"expanded,omitempty"`
	// The ID of the ticket (task) approve action created by this request.
	TicketActionID *string `json:"ticketActionId,omitempty"`
}

The TaskActionsServiceApproveResponse returns a task view with paths indicating the location of expanded items in the array.

func (*TaskActionsServiceApproveResponse) GetExpanded ¶

func (*TaskActionsServiceApproveResponse) GetTaskView ¶

func (o *TaskActionsServiceApproveResponse) GetTaskView() *TaskView

func (*TaskActionsServiceApproveResponse) GetTicketActionID ¶

func (o *TaskActionsServiceApproveResponse) GetTicketActionID() *string

type TaskActionsServiceApproveResponseExpanded ¶

type TaskActionsServiceApproveResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskActionsServiceApproveResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskActionsServiceApproveResponseExpanded) GetAdditionalProperties ¶

func (o *TaskActionsServiceApproveResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskActionsServiceApproveResponseExpanded) GetAtType ¶

func (TaskActionsServiceApproveResponseExpanded) MarshalJSON ¶

func (*TaskActionsServiceApproveResponseExpanded) UnmarshalJSON ¶

func (t *TaskActionsServiceApproveResponseExpanded) UnmarshalJSON(data []byte) error

type TaskActionsServiceCommentRequest ¶

type TaskActionsServiceCommentRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The comment to be posted to the ticket
	Comment *string `json:"comment,omitempty"`
}

The TaskActionsServiceCommentRequest object lets you create a new comment on a task.

func (*TaskActionsServiceCommentRequest) GetComment ¶

func (o *TaskActionsServiceCommentRequest) GetComment() *string

func (*TaskActionsServiceCommentRequest) GetTaskExpandMask ¶

func (o *TaskActionsServiceCommentRequest) GetTaskExpandMask() *TaskExpandMask

type TaskActionsServiceCommentResponse ¶

type TaskActionsServiceCommentResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// List of serialized related objects.
	Expanded []TaskActionsServiceCommentResponseExpanded `json:"expanded,omitempty"`
}

TaskActionsServiceCommentResponse - Task actions service comment response returns the task view inluding the expanded array of items that are indicated by the expand mask on the request.

func (*TaskActionsServiceCommentResponse) GetExpanded ¶

func (*TaskActionsServiceCommentResponse) GetTaskView ¶

func (o *TaskActionsServiceCommentResponse) GetTaskView() *TaskView

type TaskActionsServiceCommentResponseExpanded ¶

type TaskActionsServiceCommentResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskActionsServiceCommentResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskActionsServiceCommentResponseExpanded) GetAdditionalProperties ¶

func (o *TaskActionsServiceCommentResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskActionsServiceCommentResponseExpanded) GetAtType ¶

func (TaskActionsServiceCommentResponseExpanded) MarshalJSON ¶

func (*TaskActionsServiceCommentResponseExpanded) UnmarshalJSON ¶

func (t *TaskActionsServiceCommentResponseExpanded) UnmarshalJSON(data []byte) error

type TaskActionsServiceDenyRequest ¶

type TaskActionsServiceDenyRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The comment attached to the request.
	Comment *string `json:"comment,omitempty"`
	// The ID of the currently policy step. This is the step you want to deny.
	PolicyStepID *string `json:"policyStepId,omitempty"`
}

The TaskActionsServiceDenyRequest object lets you deny a task.

func (*TaskActionsServiceDenyRequest) GetComment ¶

func (o *TaskActionsServiceDenyRequest) GetComment() *string

func (*TaskActionsServiceDenyRequest) GetPolicyStepID ¶

func (o *TaskActionsServiceDenyRequest) GetPolicyStepID() *string

func (*TaskActionsServiceDenyRequest) GetTaskExpandMask ¶

func (o *TaskActionsServiceDenyRequest) GetTaskExpandMask() *TaskExpandMask

type TaskActionsServiceDenyResponse ¶

type TaskActionsServiceDenyResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// List of serialized related objects.
	Expanded []TaskActionsServiceDenyResponseExpanded `json:"expanded,omitempty"`
	// The ID of the ticket (task) deny action created by this request.
	TicketActionID *string `json:"ticketActionId,omitempty"`
}

The TaskActionsServiceDenyResponse returns a task view with paths indicating the location of expanded items in the array.

func (*TaskActionsServiceDenyResponse) GetExpanded ¶

func (*TaskActionsServiceDenyResponse) GetTaskView ¶

func (o *TaskActionsServiceDenyResponse) GetTaskView() *TaskView

func (*TaskActionsServiceDenyResponse) GetTicketActionID ¶

func (o *TaskActionsServiceDenyResponse) GetTicketActionID() *string

type TaskActionsServiceDenyResponseExpanded ¶

type TaskActionsServiceDenyResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskActionsServiceDenyResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskActionsServiceDenyResponseExpanded) GetAdditionalProperties ¶

func (o *TaskActionsServiceDenyResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskActionsServiceDenyResponseExpanded) GetAtType ¶

func (TaskActionsServiceDenyResponseExpanded) MarshalJSON ¶

func (t TaskActionsServiceDenyResponseExpanded) MarshalJSON() ([]byte, error)

func (*TaskActionsServiceDenyResponseExpanded) UnmarshalJSON ¶

func (t *TaskActionsServiceDenyResponseExpanded) UnmarshalJSON(data []byte) error

type TaskActionsServiceEscalateToEmergencyAccessRequest ¶

type TaskActionsServiceEscalateToEmergencyAccessRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The comment field.
	Comment *string `json:"comment,omitempty"`
	// The policyStepId field.
	PolicyStepID *string `json:"policyStepId,omitempty"`
}

The TaskActionsServiceEscalateToEmergencyAccessRequest message.

func (*TaskActionsServiceEscalateToEmergencyAccessRequest) GetComment ¶

func (*TaskActionsServiceEscalateToEmergencyAccessRequest) GetPolicyStepID ¶

func (*TaskActionsServiceEscalateToEmergencyAccessRequest) GetTaskExpandMask ¶

type TaskActionsServiceRestartRequest ¶

type TaskActionsServiceRestartRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The comment attached to the request.
	Comment *string `json:"comment,omitempty"`
	// The ID of the policy step on the given task to restart.
	PolicyStepID *string `json:"policyStepId,omitempty"`
}

The TaskActionsServiceRestartRequest object lets you restart a task.

func (*TaskActionsServiceRestartRequest) GetComment ¶

func (o *TaskActionsServiceRestartRequest) GetComment() *string

func (*TaskActionsServiceRestartRequest) GetPolicyStepID ¶

func (o *TaskActionsServiceRestartRequest) GetPolicyStepID() *string

func (*TaskActionsServiceRestartRequest) GetTaskExpandMask ¶

func (o *TaskActionsServiceRestartRequest) GetTaskExpandMask() *TaskExpandMask

type TaskActionsServiceRestartResponse ¶

type TaskActionsServiceRestartResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// The expanded field.
	Expanded []TaskActionsServiceRestartResponseExpanded `json:"expanded,omitempty"`
	// The ticketActionId field.
	TicketActionID *string `json:"ticketActionId,omitempty"`
}

The TaskActionsServiceRestartResponse message.

func (*TaskActionsServiceRestartResponse) GetExpanded ¶

func (*TaskActionsServiceRestartResponse) GetTaskView ¶

func (o *TaskActionsServiceRestartResponse) GetTaskView() *TaskView

func (*TaskActionsServiceRestartResponse) GetTicketActionID ¶

func (o *TaskActionsServiceRestartResponse) GetTicketActionID() *string

type TaskActionsServiceRestartResponseExpanded ¶

type TaskActionsServiceRestartResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskActionsServiceRestartResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskActionsServiceRestartResponseExpanded) GetAdditionalProperties ¶

func (o *TaskActionsServiceRestartResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskActionsServiceRestartResponseExpanded) GetAtType ¶

func (TaskActionsServiceRestartResponseExpanded) MarshalJSON ¶

func (*TaskActionsServiceRestartResponseExpanded) UnmarshalJSON ¶

func (t *TaskActionsServiceRestartResponseExpanded) UnmarshalJSON(data []byte) error

type TaskExpandMask ¶

type TaskExpandMask struct {
	// A list of paths to expand in the response. May be any combination of "*", "access_review_id", "user_id", "created_by_user_id", "app_id", "app_user_id", "app_entitlement_ids", "step_approver_ids", "identity_user_id", and "insight_ids".
	Paths []string `json:"paths,omitempty"`
}

TaskExpandMask - The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.

func (*TaskExpandMask) GetPaths ¶

func (o *TaskExpandMask) GetPaths() []string

type TaskGrantSource ¶

type TaskGrantSource struct {
	// The external url source of the grant ticket.
	ExternalURL *string `json:"externalUrl,omitempty"`
	// The integration id for the source of tickets.
	IntegrationID *string `json:"integrationId,omitempty"`
}

The TaskGrantSource message tracks which external URL was the source of the specificed grant ticket.

func (*TaskGrantSource) GetExternalURL ¶

func (o *TaskGrantSource) GetExternalURL() *string

func (*TaskGrantSource) GetIntegrationID ¶

func (o *TaskGrantSource) GetIntegrationID() *string

type TaskRef ¶

type TaskRef struct {
	// The ID of the referenced Task
	ID *string `json:"id,omitempty"`
}

TaskRef - This object references a task by ID.

func (*TaskRef) GetID ¶

func (o *TaskRef) GetID() *string

type TaskRevokeSource ¶

type TaskRevokeSource struct {
	// The TaskRevokeSourceExpired message indicates that the source of the revoke task is due to a grant expiring.
	TaskRevokeSourceExpired *TaskRevokeSourceExpired `json:"expired,omitempty"`
	// The TaskRevokeSourceNonUsage message indicates that the source of the revoke task is due to the grant not being used.
	TaskRevokeSourceNonUsage *TaskRevokeSourceNonUsage `json:"nonUsage,omitempty"`
	// The TaskRevokeSourceRequest message indicates that the source of the revoke task was a request.
	TaskRevokeSourceRequest *TaskRevokeSourceRequest `json:"request,omitempty"`
	// The TaskRevokeSourceReview message tracks which access review was the source of the specificed revoke ticket.
	TaskRevokeSourceReview *TaskRevokeSourceReview `json:"review,omitempty"`
}

The TaskRevokeSource message indicates the source of the revoke task is one of expired, nonUsage, request, or review.

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

func (*TaskRevokeSource) GetTaskRevokeSourceExpired ¶

func (o *TaskRevokeSource) GetTaskRevokeSourceExpired() *TaskRevokeSourceExpired

func (*TaskRevokeSource) GetTaskRevokeSourceNonUsage ¶

func (o *TaskRevokeSource) GetTaskRevokeSourceNonUsage() *TaskRevokeSourceNonUsage

func (*TaskRevokeSource) GetTaskRevokeSourceRequest ¶

func (o *TaskRevokeSource) GetTaskRevokeSourceRequest() *TaskRevokeSourceRequest

func (*TaskRevokeSource) GetTaskRevokeSourceReview ¶

func (o *TaskRevokeSource) GetTaskRevokeSourceReview() *TaskRevokeSourceReview

type TaskRevokeSourceExpired ¶

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

The TaskRevokeSourceExpired message indicates that the source of the revoke task is due to a grant expiring.

func (*TaskRevokeSourceExpired) GetExpiredAt ¶

func (o *TaskRevokeSourceExpired) GetExpiredAt() *time.Time

func (TaskRevokeSourceExpired) MarshalJSON ¶

func (t TaskRevokeSourceExpired) MarshalJSON() ([]byte, error)

func (*TaskRevokeSourceExpired) UnmarshalJSON ¶

func (t *TaskRevokeSourceExpired) UnmarshalJSON(data []byte) error

type TaskRevokeSourceNonUsage ¶

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

The TaskRevokeSourceNonUsage message indicates that the source of the revoke task is due to the grant not being used.

func (*TaskRevokeSourceNonUsage) GetExpiresAt ¶

func (o *TaskRevokeSourceNonUsage) GetExpiresAt() *time.Time

func (*TaskRevokeSourceNonUsage) GetLastLogin ¶

func (o *TaskRevokeSourceNonUsage) GetLastLogin() *time.Time

func (TaskRevokeSourceNonUsage) MarshalJSON ¶

func (t TaskRevokeSourceNonUsage) MarshalJSON() ([]byte, error)

func (*TaskRevokeSourceNonUsage) UnmarshalJSON ¶

func (t *TaskRevokeSourceNonUsage) UnmarshalJSON(data []byte) error

type TaskRevokeSourceRequest ¶

type TaskRevokeSourceRequest struct {
	// The ID of the user who initiated the revoke request.
	RequestUserID *string `json:"requestUserId,omitempty"`
}

The TaskRevokeSourceRequest message indicates that the source of the revoke task was a request.

func (*TaskRevokeSourceRequest) GetRequestUserID ¶

func (o *TaskRevokeSourceRequest) GetRequestUserID() *string

type TaskRevokeSourceReview ¶

type TaskRevokeSourceReview struct {
	// The ID of the access review associated with the revoke task.
	AccessReviewID *string `json:"accessReviewId,omitempty"`
	// The ID of the certify ticket that was denied and created this revoke task.
	CertTicketID *string `json:"certTicketId,omitempty"`
}

The TaskRevokeSourceReview message tracks which access review was the source of the specificed revoke ticket.

func (*TaskRevokeSourceReview) GetAccessReviewID ¶

func (o *TaskRevokeSourceReview) GetAccessReviewID() *string

func (*TaskRevokeSourceReview) GetCertTicketID ¶

func (o *TaskRevokeSourceReview) GetCertTicketID() *string

type TaskSearchRequest ¶

type TaskSearchRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// Search tasks that belong to any of the access reviews included in this list.
	AccessReviewIds []string `json:"accessReviewIds,omitempty"`
	// Search tasks that have any of these account owners.
	AccountOwnerIds []string `json:"accountOwnerIds,omitempty"`
	// Search tasks that have this actor ID.
	ActorID *string `json:"actorId,omitempty"`
	// Search tasks that have any of these app entitlement IDs.
	AppEntitlementIds []string `json:"appEntitlementIds,omitempty"`
	// Search tasks that have any of these app resource IDs.
	AppResourceIds []string `json:"appResourceIds,omitempty"`
	// Search tasks that have any of these app resource type IDs.
	AppResourceTypeIds []string `json:"appResourceTypeIds,omitempty"`
	// Search tasks that have any of these app users as subjects.
	AppUserSubjectIds []string `json:"appUserSubjectIds,omitempty"`
	// Search tasks that have any of these apps as targets.
	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"`
	// Search tasks that have this type of step as the current step.
	CurrentStep *CurrentStep `json:"currentStep,omitempty"`
	// Search tasks that are or are not emergency access.
	EmergencyStatus *EmergencyStatus `json:"emergencyStatus,omitempty"`
	// Search tasks that do not have any of these app entitlement IDs.
	ExcludeAppEntitlementIds []string `json:"excludeAppEntitlementIds,omitempty"`
	// Exclude Specific TaskIDs from this serach result.
	ExcludeIds []string `json:"excludeIds,omitempty"`
	// Whether or not to include deleted tasks.
	IncludeDeleted *bool `json:"includeDeleted,omitempty"`
	// Search tasks where the user would see this task in the My Work section
	MyWorkUserIds []string `json:"myWorkUserIds,omitempty"`
	// Search tasks that were created by any of the users in this array.
	OpenerIds []string `json:"openerIds,omitempty"`
	// The pageSize where 0 <= pageSize <= 100. Values < 10 will be set to 10. A value of 0 returns the default page size (currently 25)
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// Search tasks that were acted on by any of these users.
	PreviouslyActedOnIds []string `json:"previouslyActedOnIds,omitempty"`
	// Fuzzy search tasks by display name or description. Also can search by numeric ID.
	Query *string `json:"query,omitempty"`
	// Query tasks by display name, description, or numeric ID.
	Refs []TaskRef `json:"refs,omitempty"`
	// Sort tasks in a specific order.
	SortBy *SortBy `json:"sortBy,omitempty"`
	// Search tasks where these users are the subject.
	SubjectIds []string `json:"subjectIds,omitempty"`
	// Search tasks with this task state.
	TaskStates []TaskStates `json:"taskStates,omitempty"`
	// Search tasks with this task type. This is a oneOf, and needs an object, which can be empty, to sort.
	TaskTypes []TaskTypeInput `json:"taskTypes,omitempty"`
}

TaskSearchRequest - Search for tasks based on a plethora filters.

func (*TaskSearchRequest) GetAccessReviewIds ¶

func (o *TaskSearchRequest) GetAccessReviewIds() []string

func (*TaskSearchRequest) GetAccountOwnerIds ¶

func (o *TaskSearchRequest) GetAccountOwnerIds() []string

func (*TaskSearchRequest) GetActorID ¶

func (o *TaskSearchRequest) GetActorID() *string

func (*TaskSearchRequest) GetAppEntitlementIds ¶

func (o *TaskSearchRequest) GetAppEntitlementIds() []string

func (*TaskSearchRequest) GetAppResourceIds ¶

func (o *TaskSearchRequest) GetAppResourceIds() []string

func (*TaskSearchRequest) GetAppResourceTypeIds ¶

func (o *TaskSearchRequest) GetAppResourceTypeIds() []string

func (*TaskSearchRequest) GetAppUserSubjectIds ¶

func (o *TaskSearchRequest) GetAppUserSubjectIds() []string

func (*TaskSearchRequest) GetApplicationIds ¶

func (o *TaskSearchRequest) GetApplicationIds() []string

func (*TaskSearchRequest) GetAssigneesInIds ¶

func (o *TaskSearchRequest) GetAssigneesInIds() []string

func (*TaskSearchRequest) GetCreatedAfter ¶

func (o *TaskSearchRequest) GetCreatedAfter() *time.Time

func (*TaskSearchRequest) GetCreatedBefore ¶

func (o *TaskSearchRequest) GetCreatedBefore() *time.Time

func (*TaskSearchRequest) GetCurrentStep ¶

func (o *TaskSearchRequest) GetCurrentStep() *CurrentStep

func (*TaskSearchRequest) GetEmergencyStatus ¶

func (o *TaskSearchRequest) GetEmergencyStatus() *EmergencyStatus

func (*TaskSearchRequest) GetExcludeAppEntitlementIds ¶

func (o *TaskSearchRequest) GetExcludeAppEntitlementIds() []string

func (*TaskSearchRequest) GetExcludeIds ¶

func (o *TaskSearchRequest) GetExcludeIds() []string

func (*TaskSearchRequest) GetIncludeDeleted ¶

func (o *TaskSearchRequest) GetIncludeDeleted() *bool

func (*TaskSearchRequest) GetMyWorkUserIds ¶

func (o *TaskSearchRequest) GetMyWorkUserIds() []string

func (*TaskSearchRequest) GetOpenerIds ¶

func (o *TaskSearchRequest) GetOpenerIds() []string

func (*TaskSearchRequest) GetPageSize ¶

func (o *TaskSearchRequest) GetPageSize() *float64

func (*TaskSearchRequest) GetPageToken ¶

func (o *TaskSearchRequest) GetPageToken() *string

func (*TaskSearchRequest) GetPreviouslyActedOnIds ¶

func (o *TaskSearchRequest) GetPreviouslyActedOnIds() []string

func (*TaskSearchRequest) GetQuery ¶

func (o *TaskSearchRequest) GetQuery() *string

func (*TaskSearchRequest) GetRefs ¶

func (o *TaskSearchRequest) GetRefs() []TaskRef

func (*TaskSearchRequest) GetSortBy ¶

func (o *TaskSearchRequest) GetSortBy() *SortBy

func (*TaskSearchRequest) GetSubjectIds ¶

func (o *TaskSearchRequest) GetSubjectIds() []string

func (*TaskSearchRequest) GetTaskExpandMask ¶

func (o *TaskSearchRequest) GetTaskExpandMask() *TaskExpandMask

func (*TaskSearchRequest) GetTaskStates ¶

func (o *TaskSearchRequest) GetTaskStates() []TaskStates

func (*TaskSearchRequest) GetTaskTypes ¶

func (o *TaskSearchRequest) GetTaskTypes() []TaskTypeInput

func (TaskSearchRequest) MarshalJSON ¶

func (t TaskSearchRequest) MarshalJSON() ([]byte, error)

func (*TaskSearchRequest) UnmarshalJSON ¶

func (t *TaskSearchRequest) UnmarshalJSON(data []byte) error

type TaskSearchResponse ¶

type TaskSearchResponse struct {
	// The list of results containing up to X results, where X is the page size defined in the request.
	Expanded []TaskSearchResponseExpanded `json:"expanded,omitempty"`
	// List of serialized related objects.
	List []TaskView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The TaskSearchResponse message contains a list of results and a nextPageToken if applicable.

func (*TaskSearchResponse) GetExpanded ¶

func (*TaskSearchResponse) GetList ¶

func (o *TaskSearchResponse) GetList() []TaskView

func (*TaskSearchResponse) GetNextPageToken ¶

func (o *TaskSearchResponse) GetNextPageToken() *string

type TaskSearchResponseExpanded ¶

type TaskSearchResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskSearchResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskSearchResponseExpanded) GetAdditionalProperties ¶

func (o *TaskSearchResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskSearchResponseExpanded) GetAtType ¶

func (o *TaskSearchResponseExpanded) GetAtType() *string

func (TaskSearchResponseExpanded) MarshalJSON ¶

func (t TaskSearchResponseExpanded) MarshalJSON() ([]byte, error)

func (*TaskSearchResponseExpanded) UnmarshalJSON ¶

func (t *TaskSearchResponseExpanded) UnmarshalJSON(data []byte) error

type TaskServiceActionResponse ¶

type TaskServiceActionResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// The expanded field.
	Expanded []TaskServiceActionResponseExpanded `json:"expanded,omitempty"`
	// The ticketActionId field.
	TicketActionID *string `json:"ticketActionId,omitempty"`
}

The TaskServiceActionResponse message.

func (*TaskServiceActionResponse) GetExpanded ¶

func (*TaskServiceActionResponse) GetTaskView ¶

func (o *TaskServiceActionResponse) GetTaskView() *TaskView

func (*TaskServiceActionResponse) GetTicketActionID ¶

func (o *TaskServiceActionResponse) GetTicketActionID() *string

type TaskServiceActionResponseExpanded ¶

type TaskServiceActionResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskServiceActionResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskServiceActionResponseExpanded) GetAdditionalProperties ¶

func (o *TaskServiceActionResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskServiceActionResponseExpanded) GetAtType ¶

func (o *TaskServiceActionResponseExpanded) GetAtType() *string

func (TaskServiceActionResponseExpanded) MarshalJSON ¶

func (t TaskServiceActionResponseExpanded) MarshalJSON() ([]byte, error)

func (*TaskServiceActionResponseExpanded) UnmarshalJSON ¶

func (t *TaskServiceActionResponseExpanded) UnmarshalJSON(data []byte) error

type TaskServiceCreateGrantRequest ¶

type TaskServiceCreateGrantRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The TaskGrantSource message tracks which external URL was the source of the specificed grant ticket.
	TaskGrantSource *TaskGrantSource `json:"source,omitempty"`
	// The ID of the app entitlement to grant access to.
	AppEntitlementID string `json:"appEntitlementId"`
	// The ID of the app that is associated with the entitlement.
	AppID string `json:"appId"`
	// The ID of the app user to grant access for. This field and identityUserId cannot both be set for a given request.
	AppUserID *string `json:"appUserId,omitempty"`
	// The description of the request.
	Description *string `json:"description,omitempty"`
	// Boolean stating whether or not the task is marked as emergency access.
	EmergencyAccess *bool   `json:"emergencyAccess,omitempty"`
	GrantDuration   *string `json:"grantDuration,omitempty"`
	// The ID of the user associated with the app user we are granting access for. This field cannot be set if appUserID is also set.
	IdentityUserID *string `json:"identityUserId,omitempty"`
}

TaskServiceCreateGrantRequest - Create a grant task.

func (*TaskServiceCreateGrantRequest) GetAppEntitlementID ¶

func (o *TaskServiceCreateGrantRequest) GetAppEntitlementID() string

func (*TaskServiceCreateGrantRequest) GetAppID ¶

func (o *TaskServiceCreateGrantRequest) GetAppID() string

func (*TaskServiceCreateGrantRequest) GetAppUserID ¶

func (o *TaskServiceCreateGrantRequest) GetAppUserID() *string

func (*TaskServiceCreateGrantRequest) GetDescription ¶

func (o *TaskServiceCreateGrantRequest) GetDescription() *string

func (*TaskServiceCreateGrantRequest) GetEmergencyAccess ¶

func (o *TaskServiceCreateGrantRequest) GetEmergencyAccess() *bool

func (*TaskServiceCreateGrantRequest) GetGrantDuration ¶

func (o *TaskServiceCreateGrantRequest) GetGrantDuration() *string

func (*TaskServiceCreateGrantRequest) GetIdentityUserID ¶

func (o *TaskServiceCreateGrantRequest) GetIdentityUserID() *string

func (*TaskServiceCreateGrantRequest) GetTaskExpandMask ¶

func (o *TaskServiceCreateGrantRequest) GetTaskExpandMask() *TaskExpandMask

func (*TaskServiceCreateGrantRequest) GetTaskGrantSource ¶

func (o *TaskServiceCreateGrantRequest) GetTaskGrantSource() *TaskGrantSource

type TaskServiceCreateGrantResponse ¶

type TaskServiceCreateGrantResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// List of serialized related objects.
	Expanded []TaskServiceCreateGrantResponseExpanded `json:"expanded,omitempty"`
}

The TaskServiceCreateGrantResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array.

func (*TaskServiceCreateGrantResponse) GetExpanded ¶

func (*TaskServiceCreateGrantResponse) GetTaskView ¶

func (o *TaskServiceCreateGrantResponse) GetTaskView() *TaskView

type TaskServiceCreateGrantResponseExpanded ¶

type TaskServiceCreateGrantResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskServiceCreateGrantResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskServiceCreateGrantResponseExpanded) GetAdditionalProperties ¶

func (o *TaskServiceCreateGrantResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskServiceCreateGrantResponseExpanded) GetAtType ¶

func (TaskServiceCreateGrantResponseExpanded) MarshalJSON ¶

func (t TaskServiceCreateGrantResponseExpanded) MarshalJSON() ([]byte, error)

func (*TaskServiceCreateGrantResponseExpanded) UnmarshalJSON ¶

func (t *TaskServiceCreateGrantResponseExpanded) UnmarshalJSON(data []byte) error

type TaskServiceCreateRevokeRequest ¶

type TaskServiceCreateRevokeRequest struct {
	// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
	TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
	// The ID of the app entitlement to revoke access to.
	AppEntitlementID string `json:"appEntitlementId"`
	// The ID of the app associated with the entitlement.
	AppID string `json:"appId"`
	// The ID of the app user to revoke access from. This field and identityUserId cannot both be set for a given request.
	AppUserID *string `json:"appUserId,omitempty"`
	// The description of the request.
	Description *string `json:"description,omitempty"`
	// The ID of the user associated with the app user we are revoking access from. This field cannot be set if appUserID is also set.
	IdentityUserID *string `json:"identityUserId,omitempty"`
}

TaskServiceCreateRevokeRequest - Create a revoke task.

func (*TaskServiceCreateRevokeRequest) GetAppEntitlementID ¶

func (o *TaskServiceCreateRevokeRequest) GetAppEntitlementID() string

func (*TaskServiceCreateRevokeRequest) GetAppID ¶

func (o *TaskServiceCreateRevokeRequest) GetAppID() string

func (*TaskServiceCreateRevokeRequest) GetAppUserID ¶

func (o *TaskServiceCreateRevokeRequest) GetAppUserID() *string

func (*TaskServiceCreateRevokeRequest) GetDescription ¶

func (o *TaskServiceCreateRevokeRequest) GetDescription() *string

func (*TaskServiceCreateRevokeRequest) GetIdentityUserID ¶

func (o *TaskServiceCreateRevokeRequest) GetIdentityUserID() *string

func (*TaskServiceCreateRevokeRequest) GetTaskExpandMask ¶

func (o *TaskServiceCreateRevokeRequest) GetTaskExpandMask() *TaskExpandMask

type TaskServiceCreateRevokeResponse ¶

type TaskServiceCreateRevokeResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// List of serialized related objects.
	Expanded []TaskServiceCreateRevokeResponseExpanded `json:"expanded,omitempty"`
}

The TaskServiceCreateRevokeResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array.

func (*TaskServiceCreateRevokeResponse) GetExpanded ¶

func (*TaskServiceCreateRevokeResponse) GetTaskView ¶

func (o *TaskServiceCreateRevokeResponse) GetTaskView() *TaskView

type TaskServiceCreateRevokeResponseExpanded ¶

type TaskServiceCreateRevokeResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskServiceCreateRevokeResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskServiceCreateRevokeResponseExpanded) GetAdditionalProperties ¶

func (o *TaskServiceCreateRevokeResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskServiceCreateRevokeResponseExpanded) GetAtType ¶

func (TaskServiceCreateRevokeResponseExpanded) MarshalJSON ¶

func (t TaskServiceCreateRevokeResponseExpanded) MarshalJSON() ([]byte, error)

func (*TaskServiceCreateRevokeResponseExpanded) UnmarshalJSON ¶

func (t *TaskServiceCreateRevokeResponseExpanded) UnmarshalJSON(data []byte) error

type TaskServiceGetResponse ¶

type TaskServiceGetResponse struct {
	// Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.
	TaskView *TaskView `json:"taskView,omitempty"`
	// List of serialized related objects.
	Expanded []TaskServiceGetResponseExpanded `json:"expanded,omitempty"`
}

The TaskServiceGetResponse returns a task view which has a task including JSONPATHs to the expanded items in the expanded array.

func (*TaskServiceGetResponse) GetExpanded ¶

func (*TaskServiceGetResponse) GetTaskView ¶

func (o *TaskServiceGetResponse) GetTaskView() *TaskView

type TaskServiceGetResponseExpanded ¶

type TaskServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

TaskServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*TaskServiceGetResponseExpanded) GetAdditionalProperties ¶

func (o *TaskServiceGetResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*TaskServiceGetResponseExpanded) GetAtType ¶

func (o *TaskServiceGetResponseExpanded) GetAtType() *string

func (TaskServiceGetResponseExpanded) MarshalJSON ¶

func (t TaskServiceGetResponseExpanded) MarshalJSON() ([]byte, error)

func (*TaskServiceGetResponseExpanded) UnmarshalJSON ¶

func (t *TaskServiceGetResponseExpanded) UnmarshalJSON(data []byte) error

type TaskState ¶

type TaskState string

TaskState - The current state of the task as defined by the `state_enum`

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

func (TaskState) ToPointer ¶

func (e TaskState) ToPointer() *TaskState

func (*TaskState) UnmarshalJSON ¶

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

type TaskStates ¶

type TaskStates string
const (
	TaskStatesTaskStateUnspecified TaskStates = "TASK_STATE_UNSPECIFIED"
	TaskStatesTaskStateOpen        TaskStates = "TASK_STATE_OPEN"
	TaskStatesTaskStateClosed      TaskStates = "TASK_STATE_CLOSED"
)

func (TaskStates) ToPointer ¶

func (e TaskStates) ToPointer() *TaskStates

func (*TaskStates) UnmarshalJSON ¶

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

type TaskType ¶

type TaskType struct {
	// The TaskTypeCertify message indicates that a task is a certify task and all related details.
	TaskTypeCertify *TaskTypeCertify `json:"certify,omitempty"`
	// The TaskTypeGrant message indicates that a task is a grant task and all related details.
	TaskTypeGrant *TaskTypeGrant `json:"grant,omitempty"`
	// The TaskTypeRevoke message indicates that a task is a revoke task and all related details.
	TaskTypeRevoke *TaskTypeRevoke `json:"revoke,omitempty"`
}

TaskType - Task Type provides configuration for the type of task: certify, grant, or revoke

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

func (*TaskType) GetTaskTypeCertify ¶

func (o *TaskType) GetTaskTypeCertify() *TaskTypeCertify

func (*TaskType) GetTaskTypeGrant ¶

func (o *TaskType) GetTaskTypeGrant() *TaskTypeGrant

func (*TaskType) GetTaskTypeRevoke ¶

func (o *TaskType) GetTaskTypeRevoke() *TaskTypeRevoke

type TaskTypeCertify ¶

type TaskTypeCertify struct {
	// The ID of the access review.
	AccessReviewID *string `json:"accessReviewId,omitempty"`
	// The ID of the specific access review object that owns this certify task. This is also set on a revoke task if the revoke task is created from the denied outcome of a certify task.
	AccessReviewSelection *string `json:"accessReviewSelection,omitempty"`
	// The ID of the app entitlement.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The ID of the app.
	AppID *string `json:"appId,omitempty"`
	// The ID of the app user.
	AppUserID *string `json:"appUserId,omitempty"`
	// The ID of the user.
	IdentityUserID *string `json:"identityUserId,omitempty"`
	// The outcome of the certification.
	Outcome     *Outcome   `json:"outcome,omitempty"`
	OutcomeTime *time.Time `json:"outcomeTime,omitempty"`
}

The TaskTypeCertify message indicates that a task is a certify task and all related details.

func (*TaskTypeCertify) GetAccessReviewID ¶

func (o *TaskTypeCertify) GetAccessReviewID() *string

func (*TaskTypeCertify) GetAccessReviewSelection ¶

func (o *TaskTypeCertify) GetAccessReviewSelection() *string

func (*TaskTypeCertify) GetAppEntitlementID ¶

func (o *TaskTypeCertify) GetAppEntitlementID() *string

func (*TaskTypeCertify) GetAppID ¶

func (o *TaskTypeCertify) GetAppID() *string

func (*TaskTypeCertify) GetAppUserID ¶

func (o *TaskTypeCertify) GetAppUserID() *string

func (*TaskTypeCertify) GetIdentityUserID ¶

func (o *TaskTypeCertify) GetIdentityUserID() *string

func (*TaskTypeCertify) GetOutcome ¶

func (o *TaskTypeCertify) GetOutcome() *Outcome

func (*TaskTypeCertify) GetOutcomeTime ¶

func (o *TaskTypeCertify) GetOutcomeTime() *time.Time

func (TaskTypeCertify) MarshalJSON ¶

func (t TaskTypeCertify) MarshalJSON() ([]byte, error)

func (*TaskTypeCertify) UnmarshalJSON ¶

func (t *TaskTypeCertify) UnmarshalJSON(data []byte) error

type TaskTypeCertifyInput ¶

type TaskTypeCertifyInput struct {
}

TaskTypeCertifyInput - The TaskTypeCertify message indicates that a task is a certify task and all related details.

type TaskTypeGrant ¶

type TaskTypeGrant struct {
	// The TaskGrantSource message tracks which external URL was the source of the specificed grant ticket.
	TaskGrantSource *TaskGrantSource `json:"source,omitempty"`
	// The ID of the app entitlement.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The ID of the app.
	AppID *string `json:"appId,omitempty"`
	// The ID of the app user.
	AppUserID     *string `json:"appUserId,omitempty"`
	GrantDuration *string `json:"grantDuration,omitempty"`
	// The ID of the user.
	IdentityUserID *string `json:"identityUserId,omitempty"`
	// The outcome of the grant.
	Outcome     *TaskTypeGrantOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time            `json:"outcomeTime,omitempty"`
}

The TaskTypeGrant message indicates that a task is a grant task and all related details.

func (*TaskTypeGrant) GetAppEntitlementID ¶

func (o *TaskTypeGrant) GetAppEntitlementID() *string

func (*TaskTypeGrant) GetAppID ¶

func (o *TaskTypeGrant) GetAppID() *string

func (*TaskTypeGrant) GetAppUserID ¶

func (o *TaskTypeGrant) GetAppUserID() *string

func (*TaskTypeGrant) GetGrantDuration ¶

func (o *TaskTypeGrant) GetGrantDuration() *string

func (*TaskTypeGrant) GetIdentityUserID ¶

func (o *TaskTypeGrant) GetIdentityUserID() *string

func (*TaskTypeGrant) GetOutcome ¶

func (o *TaskTypeGrant) GetOutcome() *TaskTypeGrantOutcome

func (*TaskTypeGrant) GetOutcomeTime ¶

func (o *TaskTypeGrant) GetOutcomeTime() *time.Time

func (*TaskTypeGrant) GetTaskGrantSource ¶

func (o *TaskTypeGrant) GetTaskGrantSource() *TaskGrantSource

func (TaskTypeGrant) MarshalJSON ¶

func (t TaskTypeGrant) MarshalJSON() ([]byte, error)

func (*TaskTypeGrant) UnmarshalJSON ¶

func (t *TaskTypeGrant) UnmarshalJSON(data []byte) error

type TaskTypeGrantInput ¶

type TaskTypeGrantInput struct {
	// The TaskGrantSource message tracks which external URL was the source of the specificed grant ticket.
	TaskGrantSource *TaskGrantSource `json:"source,omitempty"`
}

TaskTypeGrantInput - The TaskTypeGrant message indicates that a task is a grant task and all related details.

func (*TaskTypeGrantInput) GetTaskGrantSource ¶

func (o *TaskTypeGrantInput) GetTaskGrantSource() *TaskGrantSource

type TaskTypeGrantOutcome ¶

type TaskTypeGrantOutcome string

TaskTypeGrantOutcome - The outcome of the grant.

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 ¶

func (*TaskTypeGrantOutcome) UnmarshalJSON ¶

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

type TaskTypeInput ¶

type TaskTypeInput struct {
	// The TaskTypeCertify message indicates that a task is a certify task and all related details.
	TaskTypeCertify *TaskTypeCertifyInput `json:"certify,omitempty"`
	// The TaskTypeGrant message indicates that a task is a grant task and all related details.
	TaskTypeGrant *TaskTypeGrantInput `json:"grant,omitempty"`
	// The TaskTypeRevoke message indicates that a task is a revoke task and all related details.
	TaskTypeRevoke *TaskTypeRevokeInput `json:"revoke,omitempty"`
}

TaskTypeInput - Task Type provides configuration for the type of task: certify, grant, or revoke

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

func (*TaskTypeInput) GetTaskTypeCertify ¶

func (o *TaskTypeInput) GetTaskTypeCertify() *TaskTypeCertifyInput

func (*TaskTypeInput) GetTaskTypeGrant ¶

func (o *TaskTypeInput) GetTaskTypeGrant() *TaskTypeGrantInput

func (*TaskTypeInput) GetTaskTypeRevoke ¶

func (o *TaskTypeInput) GetTaskTypeRevoke() *TaskTypeRevokeInput

type TaskTypeRevoke ¶

type TaskTypeRevoke struct {
	// The TaskRevokeSource message indicates the source of the revoke task is one of expired, nonUsage, request, or review.
	//
	// 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
	//
	TaskRevokeSource *TaskRevokeSource `json:"source,omitempty"`
	// The ID of the app entitlement.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The ID of the app.
	AppID *string `json:"appId,omitempty"`
	// The ID of the app user.
	AppUserID *string `json:"appUserId,omitempty"`
	// The ID of the user.
	IdentityUserID *string `json:"identityUserId,omitempty"`
	// The outcome of the revoke.
	Outcome     *TaskTypeRevokeOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time             `json:"outcomeTime,omitempty"`
}

The TaskTypeRevoke message indicates that a task is a revoke task and all related details.

func (*TaskTypeRevoke) GetAppEntitlementID ¶

func (o *TaskTypeRevoke) GetAppEntitlementID() *string

func (*TaskTypeRevoke) GetAppID ¶

func (o *TaskTypeRevoke) GetAppID() *string

func (*TaskTypeRevoke) GetAppUserID ¶

func (o *TaskTypeRevoke) GetAppUserID() *string

func (*TaskTypeRevoke) GetIdentityUserID ¶

func (o *TaskTypeRevoke) GetIdentityUserID() *string

func (*TaskTypeRevoke) GetOutcome ¶

func (o *TaskTypeRevoke) GetOutcome() *TaskTypeRevokeOutcome

func (*TaskTypeRevoke) GetOutcomeTime ¶

func (o *TaskTypeRevoke) GetOutcomeTime() *time.Time

func (*TaskTypeRevoke) GetTaskRevokeSource ¶

func (o *TaskTypeRevoke) GetTaskRevokeSource() *TaskRevokeSource

func (TaskTypeRevoke) MarshalJSON ¶

func (t TaskTypeRevoke) MarshalJSON() ([]byte, error)

func (*TaskTypeRevoke) UnmarshalJSON ¶

func (t *TaskTypeRevoke) UnmarshalJSON(data []byte) error

type TaskTypeRevokeInput ¶

type TaskTypeRevokeInput struct {
	// The TaskRevokeSource message indicates the source of the revoke task is one of expired, nonUsage, request, or review.
	//
	// 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
	//
	TaskRevokeSource *TaskRevokeSource `json:"source,omitempty"`
}

TaskTypeRevokeInput - The TaskTypeRevoke message indicates that a task is a revoke task and all related details.

func (*TaskTypeRevokeInput) GetTaskRevokeSource ¶

func (o *TaskTypeRevokeInput) GetTaskRevokeSource() *TaskRevokeSource

type TaskTypeRevokeOutcome ¶

type TaskTypeRevokeOutcome string

TaskTypeRevokeOutcome - The outcome of the revoke.

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 ¶

func (*TaskTypeRevokeOutcome) UnmarshalJSON ¶

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

type TaskView ¶

type TaskView struct {
	// A fully-fleged task object. Includes its policy, references to external apps, its type, its processing history, and more.
	Task *Task `json:"task,omitempty"`
	// JSONPATH expression indicating the location of the AccessReview object in the expanded array
	AccessReviewPath *string `json:"accessReviewPath,omitempty"`
	// JSONPATH expression indicating the location of the App object in the expanded array
	AppPath *string `json:"appPath,omitempty"`
	// JSONPATH expression indicating the location of the AppUser object in the expanded array
	AppUserPath *string `json:"appUserPath,omitempty"`
	// JSONPATH expression indicating the location of the object of the User that created the ticket in the expanded array
	CreatedByUserPath *string `json:"createdByUserPath,omitempty"`
	// JSONPATH expression indicating the location of the Entitlements objects in the expanded array
	EntitlementsPath *string `json:"entitlementsPath,omitempty"`
	// JSONPATH expression indicating the location of the User object of the User that this task is targeting in the expanded array. This is the user that is the identity when the target of a task is an app user.
	IdentityUserPath *string `json:"identityUserPath,omitempty"`
	// JSONPATH expression indicating the location of the Insights objects in the expanded array
	InsightsPath *string `json:"insightsPath,omitempty"`
	// JSONPATH expression indicating the location of the StepApproverUsers objects in the expanded array
	StepApproversPath *string `json:"stepApproversPath,omitempty"`
	// JSONPATH expression indicating the location of the User object in the expanded array. This is the user that is a direct target of the ticket without a specific relationship to a potentially non-existent app user.
	UserPath *string `json:"userPath,omitempty"`
}

TaskView - Contains a task and JSONPATH expressions that describe where in the expanded array related objects are located. This view can be used to display a fully-detailed dashboard of task information.

func (*TaskView) GetAccessReviewPath ¶

func (o *TaskView) GetAccessReviewPath() *string

func (*TaskView) GetAppPath ¶

func (o *TaskView) GetAppPath() *string

func (*TaskView) GetAppUserPath ¶

func (o *TaskView) GetAppUserPath() *string

func (*TaskView) GetCreatedByUserPath ¶

func (o *TaskView) GetCreatedByUserPath() *string

func (*TaskView) GetEntitlementsPath ¶

func (o *TaskView) GetEntitlementsPath() *string

func (*TaskView) GetIdentityUserPath ¶

func (o *TaskView) GetIdentityUserPath() *string

func (*TaskView) GetInsightsPath ¶

func (o *TaskView) GetInsightsPath() *string

func (*TaskView) GetStepApproversPath ¶

func (o *TaskView) GetStepApproversPath() *string

func (*TaskView) GetTask ¶

func (o *TaskView) GetTask() *Task

func (*TaskView) GetUserPath ¶

func (o *TaskView) GetUserPath() *string

type Three ¶

type Three struct {
}

type UpdateAppEntitlementRequest ¶

type UpdateAppEntitlementRequest struct {
	// The app entitlement represents one permission in a downstream App (SAAS) that can be granted. For example, GitHub Read vs GitHub Write.
	//
	// 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 *AppEntitlementInput `json:"entitlement,omitempty"`
	// The app entitlement expand mask allows the user to get additional information when getting responses containing app entitlement views.
	AppEntitlementExpandMask *AppEntitlementExpandMask `json:"expandMask,omitempty"`
	UpdateMask               *string                   `json:"updateMask,omitempty"`
}

The UpdateAppEntitlementRequest message contains the app entitlement and the fields to be updated.

func (*UpdateAppEntitlementRequest) GetAppEntitlement ¶

func (o *UpdateAppEntitlementRequest) GetAppEntitlement() *AppEntitlementInput

func (*UpdateAppEntitlementRequest) GetAppEntitlementExpandMask ¶

func (o *UpdateAppEntitlementRequest) GetAppEntitlementExpandMask() *AppEntitlementExpandMask

func (*UpdateAppEntitlementRequest) GetUpdateMask ¶

func (o *UpdateAppEntitlementRequest) GetUpdateMask() *string

type UpdateAppEntitlementResponse ¶

type UpdateAppEntitlementResponse struct {
	// The app entitlement view contains the serialized app entitlement and paths to objects referenced by the app entitlement.
	AppEntitlementView *AppEntitlementView `json:"appEntitlementView,omitempty"`
	// List of related objects
	Expanded []UpdateAppEntitlementResponseExpanded `json:"expanded,omitempty"`
}

The UpdateAppEntitlementResponse message.

func (*UpdateAppEntitlementResponse) GetAppEntitlementView ¶

func (o *UpdateAppEntitlementResponse) GetAppEntitlementView() *AppEntitlementView

func (*UpdateAppEntitlementResponse) GetExpanded ¶

type UpdateAppEntitlementResponseExpanded ¶

type UpdateAppEntitlementResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

UpdateAppEntitlementResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*UpdateAppEntitlementResponseExpanded) GetAdditionalProperties ¶

func (o *UpdateAppEntitlementResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*UpdateAppEntitlementResponseExpanded) GetAtType ¶

func (UpdateAppEntitlementResponseExpanded) MarshalJSON ¶

func (u UpdateAppEntitlementResponseExpanded) MarshalJSON() ([]byte, error)

func (*UpdateAppEntitlementResponseExpanded) UnmarshalJSON ¶

func (u *UpdateAppEntitlementResponseExpanded) UnmarshalJSON(data []byte) error

type UpdateAppRequest ¶

type UpdateAppRequest struct {
	// The App object provides all of the details for an app, as well as some configuration.
	App        *AppInput `json:"app,omitempty"`
	UpdateMask *string   `json:"updateMask,omitempty"`
}

The UpdateAppRequest message contains the app to update and the fields to update.

func (*UpdateAppRequest) GetApp ¶

func (o *UpdateAppRequest) GetApp() *AppInput

func (*UpdateAppRequest) GetUpdateMask ¶

func (o *UpdateAppRequest) GetUpdateMask() *string

type UpdateAppResponse ¶

type UpdateAppResponse struct {
	// The App object provides all of the details for an app, as well as some configuration.
	App *App `json:"app,omitempty"`
}

UpdateAppResponse - Returns the updated app's new values.

func (*UpdateAppResponse) GetApp ¶

func (o *UpdateAppResponse) GetApp() *App

type UpdateAppUsageControlsRequest ¶

type UpdateAppUsageControlsRequest struct {
	// The AppUsageControls object describes some peripheral configuration for an app.
	AppUsageControls *AppUsageControls `json:"appUsageControls,omitempty"`
	UpdateMask       *string           `json:"updateMask,omitempty"`
}

The UpdateAppUsageControlsRequest message contains the AppUsageControls object to update and the update mask.

func (*UpdateAppUsageControlsRequest) GetAppUsageControls ¶

func (o *UpdateAppUsageControlsRequest) GetAppUsageControls() *AppUsageControls

func (*UpdateAppUsageControlsRequest) GetUpdateMask ¶

func (o *UpdateAppUsageControlsRequest) GetUpdateMask() *string

type UpdateAppUsageControlsResponse ¶

type UpdateAppUsageControlsResponse struct {
	// The AppUsageControls object describes some peripheral configuration for an app.
	AppUsageControls *AppUsageControls `json:"appUsageControls,omitempty"`
}

The UpdateAppUsageControlsResponse message contains the updated AppUsageControls object.

func (*UpdateAppUsageControlsResponse) GetAppUsageControls ¶

func (o *UpdateAppUsageControlsResponse) GetAppUsageControls() *AppUsageControls

type UpdatePolicyRequest ¶

type UpdatePolicyRequest struct {
	// A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.
	Policy     *PolicyInput `json:"policy,omitempty"`
	UpdateMask *string      `json:"updateMask,omitempty"`
}

The UpdatePolicyRequest message contains the policy object to update and a field mask to indicate which fields to update. It uses URL value for input.

func (*UpdatePolicyRequest) GetPolicy ¶

func (o *UpdatePolicyRequest) GetPolicy() *PolicyInput

func (*UpdatePolicyRequest) GetUpdateMask ¶

func (o *UpdatePolicyRequest) GetUpdateMask() *string

type UpdatePolicyResponse ¶

type UpdatePolicyResponse struct {
	// A policy describes the behavior of the ConductorOne system when processing a task. You can describe the type, approvers, fallback behavior, and escalation processes.
	Policy *Policy `json:"policy,omitempty"`
}

The UpdatePolicyResponse message contains the updated policy object.

func (*UpdatePolicyResponse) GetPolicy ¶

func (o *UpdatePolicyResponse) GetPolicy() *Policy

type UpdateRoleRequest ¶

type UpdateRoleRequest struct {
	// Role is a role that can be assigned to a user in ConductorOne.
	Role       *RoleInput `json:"role,omitempty"`
	UpdateMask *string    `json:"updateMask,omitempty"`
}

The UpdateRoleRequest message contains the role to update and the update mask.

func (*UpdateRoleRequest) GetRole ¶

func (o *UpdateRoleRequest) GetRole() *RoleInput

func (*UpdateRoleRequest) GetUpdateMask ¶

func (o *UpdateRoleRequest) GetUpdateMask() *string

type UpdateRolesResponse ¶

type UpdateRolesResponse struct {
	// Role is a role that can be assigned to a user in ConductorOne.
	Role *Role `json:"role,omitempty"`
}

UpdateRolesResponse is the response message containing the updated role.

func (*UpdateRolesResponse) GetRole ¶

func (o *UpdateRolesResponse) GetRole() *Role

type User ¶

type User struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The id of the user to whom tasks will be automatically reassigned to.
	DelegatedUserID *string    `json:"delegatedUserId,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The department which the user belongs to in the organization.
	Department *string `json:"department,omitempty"`
	// A list of objects mapped based on department attribute mappings configured in the system.
	DepartmentSources []UserAttributeMappingSource `json:"departmentSources,omitempty"`
	// A list of unique ids that represent different directories.
	DirectoryIds []string `json:"directoryIds,omitempty"`
	// The status of the user in the directory.
	DirectoryStatus *DirectoryStatus `json:"directoryStatus,omitempty"`
	// A list of objects mapped based on directoryStatus attribute mappings configured in the system.
	DirectoryStatusSources []UserAttributeMappingSource `json:"directoryStatusSources,omitempty"`
	// The display name of the user.
	DisplayName *string `json:"displayName,omitempty"`
	// This is the user's email.
	Email *string `json:"email,omitempty"`
	// This is a list of all of the user's emails from app users.
	Emails []string `json:"emails,omitempty"`
	// The users employment status.
	EmploymentStatus *string `json:"employmentStatus,omitempty"`
	// A list of objects mapped based on employmentStatus attribute mappings configured in the system.
	EmploymentStatusSources []UserAttributeMappingSource `json:"employmentStatusSources,omitempty"`
	// The employment type of the user.
	EmploymentType *string `json:"employmentType,omitempty"`
	// A list of objects mapped based on employmentType attribute mappings configured in the system.
	EmploymentTypeSources []UserAttributeMappingSource `json:"employmentTypeSources,omitempty"`
	// A unique identifier of the user.
	ID *string `json:"id,omitempty"`
	// The job title of the user.
	JobTitle *string `json:"jobTitle,omitempty"`
	// A list of objects mapped based on jobTitle attribute mappings configured in the system.
	JobTitleSources []UserAttributeMappingSource `json:"jobTitleSources,omitempty"`
	// A list of ids of the user's managers.
	ManagerIds []string `json:"managerIds,omitempty"`
	// A list of objects mapped based on managerId attribute mappings configured in the system.
	ManagerSources []UserAttributeMappingSource `json:"managerSources,omitempty"`
	Profile        map[string]UserProfile       `json:"profile,omitempty"`
	// A list of unique identifiers that maps to ConductorOne’s user roles let you assign users permissions tailored to the work they do in the software.
	RoleIds []string `json:"roleIds,omitempty"`
	// The status of the user in the system.
	Status    *UserStatus `json:"status,omitempty"`
	UpdatedAt *time.Time  `json:"updatedAt,omitempty"`
	// This is the user's primary username. Typically sourced from the primary directory.
	Username *string `json:"username,omitempty"`
	// This is a list of all of the user's usernames from app users.
	Usernames []string `json:"usernames,omitempty"`
}

The User object provides all of the details for an user, as well as some configuration.

func (*User) GetCreatedAt ¶

func (o *User) GetCreatedAt() *time.Time

func (*User) GetDelegatedUserID ¶

func (o *User) GetDelegatedUserID() *string

func (*User) GetDeletedAt ¶

func (o *User) GetDeletedAt() *time.Time

func (*User) GetDepartment ¶

func (o *User) GetDepartment() *string

func (*User) GetDepartmentSources ¶

func (o *User) GetDepartmentSources() []UserAttributeMappingSource

func (*User) GetDirectoryIds ¶

func (o *User) GetDirectoryIds() []string

func (*User) GetDirectoryStatus ¶

func (o *User) GetDirectoryStatus() *DirectoryStatus

func (*User) GetDirectoryStatusSources ¶

func (o *User) GetDirectoryStatusSources() []UserAttributeMappingSource

func (*User) GetDisplayName ¶

func (o *User) GetDisplayName() *string

func (*User) GetEmail ¶

func (o *User) GetEmail() *string

func (*User) GetEmails ¶

func (o *User) GetEmails() []string

func (*User) GetEmploymentStatus ¶

func (o *User) GetEmploymentStatus() *string

func (*User) GetEmploymentStatusSources ¶

func (o *User) GetEmploymentStatusSources() []UserAttributeMappingSource

func (*User) GetEmploymentType ¶

func (o *User) GetEmploymentType() *string

func (*User) GetEmploymentTypeSources ¶

func (o *User) GetEmploymentTypeSources() []UserAttributeMappingSource

func (*User) GetID ¶

func (o *User) GetID() *string

func (*User) GetJobTitle ¶

func (o *User) GetJobTitle() *string

func (*User) GetJobTitleSources ¶

func (o *User) GetJobTitleSources() []UserAttributeMappingSource

func (*User) GetManagerIds ¶

func (o *User) GetManagerIds() []string

func (*User) GetManagerSources ¶

func (o *User) GetManagerSources() []UserAttributeMappingSource

func (*User) GetProfile ¶

func (o *User) GetProfile() map[string]UserProfile

func (*User) GetRoleIds ¶

func (o *User) GetRoleIds() []string

func (*User) GetStatus ¶

func (o *User) GetStatus() *UserStatus

func (*User) GetUpdatedAt ¶

func (o *User) GetUpdatedAt() *time.Time

func (*User) GetUsername ¶

func (o *User) GetUsername() *string

func (*User) GetUsernames ¶

func (o *User) GetUsernames() []string

func (User) MarshalJSON ¶

func (u User) MarshalJSON() ([]byte, error)

func (*User) UnmarshalJSON ¶

func (u *User) UnmarshalJSON(data []byte) error

type User3 ¶

type User3 struct {
}

type UserApproval ¶

type UserApproval struct {
	// Configuration to allow self approval of if the user is specified and also the target of the ticket.
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
	// Array of users configured for approval.
	UserIds []string `json:"userIds,omitempty"`
}

UserApproval - The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users.

func (*UserApproval) GetAllowSelfApproval ¶

func (o *UserApproval) GetAllowSelfApproval() *bool

func (*UserApproval) GetUserIds ¶

func (o *UserApproval) GetUserIds() []string

type UserApprovalInput ¶

type UserApprovalInput struct {
}

UserApprovalInput - The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users.

type UserAttributeMappingSource ¶

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

The UserAttributeMappingSource message.

func (*UserAttributeMappingSource) GetAppID ¶

func (o *UserAttributeMappingSource) GetAppID() *string

func (*UserAttributeMappingSource) GetAppUserID ¶

func (o *UserAttributeMappingSource) GetAppUserID() *string

func (*UserAttributeMappingSource) GetAppUserProfileAttributeKey ¶

func (o *UserAttributeMappingSource) GetAppUserProfileAttributeKey() *string

func (*UserAttributeMappingSource) GetUserAttributeMappingID ¶

func (o *UserAttributeMappingSource) GetUserAttributeMappingID() *string

func (*UserAttributeMappingSource) GetValue ¶

func (o *UserAttributeMappingSource) GetValue() *string

type UserExpandMask ¶

type UserExpandMask struct {
	// An array of paths to be expanded in the response.
	Paths []string `json:"paths,omitempty"`
}

UserExpandMask - The user expand mask is used to indicate which related objects should be expanded in the response.

The supported paths are 'role_ids', 'manager_ids', 'delegated_user_id', 'directory_ids', and '*'.

func (*UserExpandMask) GetPaths ¶

func (o *UserExpandMask) GetPaths() []string

type UserProfile ¶

type UserProfile struct {
	Str        *string
	Number     *float64
	User3      *User3
	ArrayOfany []interface{}
	Boolean    *bool

	Type UserProfileType
}

func CreateUserProfileArrayOfany ¶

func CreateUserProfileArrayOfany(arrayOfany []interface{}) UserProfile

func CreateUserProfileBoolean ¶

func CreateUserProfileBoolean(boolean bool) UserProfile

func CreateUserProfileNumber ¶

func CreateUserProfileNumber(number float64) UserProfile

func CreateUserProfileStr ¶

func CreateUserProfileStr(str string) UserProfile

func CreateUserProfileUser3 ¶

func CreateUserProfileUser3(user3 User3) UserProfile

func (UserProfile) MarshalJSON ¶

func (u UserProfile) MarshalJSON() ([]byte, error)

func (*UserProfile) UnmarshalJSON ¶

func (u *UserProfile) UnmarshalJSON(data []byte) error

type UserProfileType ¶

type UserProfileType string
const (
	UserProfileTypeStr        UserProfileType = "str"
	UserProfileTypeNumber     UserProfileType = "number"
	UserProfileTypeUser3      UserProfileType = "User_3"
	UserProfileTypeArrayOfany UserProfileType = "arrayOfany"
	UserProfileTypeBoolean    UserProfileType = "boolean"
)

type UserRef ¶

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

UserRef - A reference to a user.

func (*UserRef) GetID ¶

func (o *UserRef) GetID() *string

type UserServiceGetResponse ¶

type UserServiceGetResponse struct {
	// The UserView object provides a user response object, as well as JSONPATHs to related objects provided by expanders.
	UserView *UserView `json:"userView,omitempty"`
	// List of serialized related objects.
	Expanded []UserServiceGetResponseExpanded `json:"expanded,omitempty"`
}

The UserServiceGetResponse returns a user view which has a user including JSONPATHs to the expanded items in the expanded array.

func (*UserServiceGetResponse) GetExpanded ¶

func (*UserServiceGetResponse) GetUserView ¶

func (o *UserServiceGetResponse) GetUserView() *UserView

type UserServiceGetResponseExpanded ¶

type UserServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

UserServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*UserServiceGetResponseExpanded) GetAdditionalProperties ¶

func (o *UserServiceGetResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*UserServiceGetResponseExpanded) GetAtType ¶

func (o *UserServiceGetResponseExpanded) GetAtType() *string

func (UserServiceGetResponseExpanded) MarshalJSON ¶

func (u UserServiceGetResponseExpanded) MarshalJSON() ([]byte, error)

func (*UserServiceGetResponseExpanded) UnmarshalJSON ¶

func (u *UserServiceGetResponseExpanded) UnmarshalJSON(data []byte) error

type UserServiceListResponse ¶

type UserServiceListResponse struct {
	// List of serialized related objects.
	Expanded []UserServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list of results containing up to X results, where X is the page size defined in the request
	List []UserView `json:"list,omitempty"`
	// The nextPageToken is shown for the next page if the number of results is larger than the max page size.
	//  The server returns one page of results and the nextPageToken until all results are retreived.
	//  To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

The UserServiceListResponse message contains a list of results and a nextPageToken if applicable.

func (*UserServiceListResponse) GetExpanded ¶

func (*UserServiceListResponse) GetList ¶

func (o *UserServiceListResponse) GetList() []UserView

func (*UserServiceListResponse) GetNextPageToken ¶

func (o *UserServiceListResponse) GetNextPageToken() *string

type UserServiceListResponseExpanded ¶

type UserServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `additionalProperties:"true" json:"-"`
}

UserServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (*UserServiceListResponseExpanded) GetAdditionalProperties ¶

func (o *UserServiceListResponseExpanded) GetAdditionalProperties() map[string]interface{}

func (*UserServiceListResponseExpanded) GetAtType ¶

func (o *UserServiceListResponseExpanded) GetAtType() *string

func (UserServiceListResponseExpanded) MarshalJSON ¶

func (u UserServiceListResponseExpanded) MarshalJSON() ([]byte, error)

func (*UserServiceListResponseExpanded) UnmarshalJSON ¶

func (u *UserServiceListResponseExpanded) UnmarshalJSON(data []byte) error

type UserStatus ¶

type UserStatus string

UserStatus - The status of the user in the system.

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

func (UserStatus) ToPointer ¶

func (e UserStatus) ToPointer() *UserStatus

func (*UserStatus) UnmarshalJSON ¶

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

type UserStatuses ¶

type UserStatuses string
const (
	UserStatusesUnknown  UserStatuses = "UNKNOWN"
	UserStatusesEnabled  UserStatuses = "ENABLED"
	UserStatusesDisabled UserStatuses = "DISABLED"
	UserStatusesDeleted  UserStatuses = "DELETED"
)

func (UserStatuses) ToPointer ¶

func (e UserStatuses) ToPointer() *UserStatuses

func (*UserStatuses) UnmarshalJSON ¶

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

type UserView ¶

type UserView struct {
	// The User object provides all of the details for an user, as well as some configuration.
	User *User `json:"user,omitempty"`
	// JSONPATH expression indicating the location of the user objects of delegates of the current user in the expanded array.
	DelegatedUserPath *string `json:"delegatedUserPath,omitempty"`
	// JSONPATH expression indicating the location of directory objects in the expanded array.
	DirectoriesPath *string `json:"directoriesPath,omitempty"`
	// JSONPATH expression indicating the location of the user objects that managed the current user in the expanded array.
	ManagersPath *string `json:"managersPath,omitempty"`
	// JSONPATH expression indicating the location of the roles of the current user in the expanded array.
	RolesPath *string `json:"rolesPath,omitempty"`
}

The UserView object provides a user response object, as well as JSONPATHs to related objects provided by expanders.

func (*UserView) GetDelegatedUserPath ¶

func (o *UserView) GetDelegatedUserPath() *string

func (*UserView) GetDirectoriesPath ¶

func (o *UserView) GetDirectoriesPath() *string

func (*UserView) GetManagersPath ¶

func (o *UserView) GetManagersPath() *string

func (*UserView) GetRolesPath ¶

func (o *UserView) GetRolesPath() *string

func (*UserView) GetUser ¶

func (o *UserView) GetUser() *User

type ValidatePolicyCELRequest ¶

type ValidatePolicyCELRequest struct {
	// The cel field.
	Cel *string `json:"cel,omitempty"`
}

The ValidatePolicyCELRequest message.

func (*ValidatePolicyCELRequest) GetCel ¶

func (o *ValidatePolicyCELRequest) GetCel() *string

type ValidatePolicyCELResponse ¶

type ValidatePolicyCELResponse struct {
	// The markers field.
	Markers []Marker `json:"markers,omitempty"`
}

The ValidatePolicyCELResponse message.

func (*ValidatePolicyCELResponse) GetMarkers ¶

func (o *ValidatePolicyCELResponse) GetMarkers() []Marker

Source Files ¶

Jump to

Keyboard shortcuts

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