shared

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AWSExternalID ¶

type AWSExternalID struct {
	// The externalId field.
	ExternalID *string `json:"externalId,omitempty"`
}

The AWSExternalID message.

func (*AWSExternalID) GetExternalID ¶

func (o *AWSExternalID) GetExternalID() *string

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 AddAppEntitlementOwnerRequest ¶

type AddAppEntitlementOwnerRequest struct {
	// The userId field.
	UserID *string `json:"userId,omitempty"`
}

AddAppEntitlementOwnerRequest - The AddAppEntitlementOwnerRequest message.

type AddAppEntitlementOwnerResponse ¶

type AddAppEntitlementOwnerResponse struct {
}

AddAppEntitlementOwnerResponse - The AddAppEntitlementOwnerResponse message.

type AddAppOwnerRequest ¶

type AddAppOwnerRequest struct {
}

AddAppOwnerRequest - The AddAppOwnerRequest message.

type AddAppOwnerResponse ¶

type AddAppOwnerResponse struct {
}

AddAppOwnerResponse - The AddAppOwnerResponse message.

type App ¶

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

App - The App message.

type AppActionsServiceGenerateReportRequest ¶

type AppActionsServiceGenerateReportRequest struct {
}

AppActionsServiceGenerateReportRequest - The AppActionsServiceGenerateReportRequest message.

type AppActionsServiceGenerateReportResponse ¶

type AppActionsServiceGenerateReportResponse struct {
}

AppActionsServiceGenerateReportResponse - The AppActionsServiceGenerateReportResponse message.

type AppEntitlement ¶

type AppEntitlement struct {
	// 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"`
	// Flag to indicate if app-level access request defaults have been applied to the entitlement
	DefaultValuesApplied *bool      `json:"defaultValuesApplied,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 *AppEntitlementDurationUnset `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"`
	// Flag to indicate whether automation (for adding users to entitlement based on rules) has been enabled.
	IsAutomationEnabled *bool `json:"isAutomationEnabled,omitempty"`
	// Flag to indicate if the app entitlement is manually managed.
	IsManuallyManaged *bool `json:"isManuallyManaged,omitempty"`
	// Flag to indicate if the app-level access request settings have been overridden for the entitlement
	OverrideAccessRequestsDefaults *bool `json:"overrideAccessRequestsDefaults,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
	//   - webhook
	//   - multiStep
	//   - externalTicket
	//
	ProvisionPolicy *ProvisionPolicy `json:"provisionerPolicy,omitempty"`
	// The purpose field.
	Purpose *Purpose `json:"purpose,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"`
	// Map to tell us which connector the entitlement came from.
	SourceConnectorIds map[string]string `json:"sourceConnectorIds,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 ¶ added in v0.4.14

func (o *AppEntitlement) GetAlias() *string

func (*AppEntitlement) GetAppID ¶ added in v0.4.14

func (o *AppEntitlement) GetAppID() *string

func (*AppEntitlement) GetAppResourceID ¶ added in v0.4.14

func (o *AppEntitlement) GetAppResourceID() *string

func (*AppEntitlement) GetAppResourceTypeID ¶ added in v0.4.14

func (o *AppEntitlement) GetAppResourceTypeID() *string

func (*AppEntitlement) GetCertifyPolicyID ¶ added in v0.4.14

func (o *AppEntitlement) GetCertifyPolicyID() *string

func (*AppEntitlement) GetComplianceFrameworkValueIds ¶ added in v0.4.14

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

func (*AppEntitlement) GetCreatedAt ¶ added in v0.4.14

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

func (*AppEntitlement) GetDefaultValuesApplied ¶ added in v0.4.14

func (o *AppEntitlement) GetDefaultValuesApplied() *bool

func (*AppEntitlement) GetDeletedAt ¶ added in v0.4.14

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

func (*AppEntitlement) GetDescription ¶ added in v0.4.14

func (o *AppEntitlement) GetDescription() *string

func (*AppEntitlement) GetDisplayName ¶ added in v0.4.14

func (o *AppEntitlement) GetDisplayName() *string

func (*AppEntitlement) GetDurationGrant ¶ added in v0.4.14

func (o *AppEntitlement) GetDurationGrant() *string

func (*AppEntitlement) GetDurationUnset ¶ added in v0.4.14

func (o *AppEntitlement) GetDurationUnset() *AppEntitlementDurationUnset

func (*AppEntitlement) GetEmergencyGrantEnabled ¶ added in v0.4.14

func (o *AppEntitlement) GetEmergencyGrantEnabled() *bool

func (*AppEntitlement) GetEmergencyGrantPolicyID ¶ added in v0.4.14

func (o *AppEntitlement) GetEmergencyGrantPolicyID() *string

func (*AppEntitlement) GetGrantCount ¶ added in v0.4.14

func (o *AppEntitlement) GetGrantCount() *string

func (*AppEntitlement) GetGrantPolicyID ¶ added in v0.4.14

func (o *AppEntitlement) GetGrantPolicyID() *string

func (*AppEntitlement) GetID ¶ added in v0.4.14

func (o *AppEntitlement) GetID() *string

func (*AppEntitlement) GetIsAutomationEnabled ¶ added in v0.4.14

func (o *AppEntitlement) GetIsAutomationEnabled() *bool

func (*AppEntitlement) GetIsManuallyManaged ¶ added in v0.4.14

func (o *AppEntitlement) GetIsManuallyManaged() *bool

func (*AppEntitlement) GetOverrideAccessRequestsDefaults ¶ added in v0.4.14

func (o *AppEntitlement) GetOverrideAccessRequestsDefaults() *bool

func (*AppEntitlement) GetProvisionPolicy ¶ added in v0.4.14

func (o *AppEntitlement) GetProvisionPolicy() *ProvisionPolicy

func (*AppEntitlement) GetPurpose ¶ added in v0.4.14

func (o *AppEntitlement) GetPurpose() *Purpose

func (*AppEntitlement) GetRevokePolicyID ¶ added in v0.4.14

func (o *AppEntitlement) GetRevokePolicyID() *string

func (*AppEntitlement) GetRiskLevelValueID ¶ added in v0.4.14

func (o *AppEntitlement) GetRiskLevelValueID() *string

func (*AppEntitlement) GetSlug ¶ added in v0.4.14

func (o *AppEntitlement) GetSlug() *string

func (*AppEntitlement) GetSourceConnectorIds ¶ added in v0.4.14

func (o *AppEntitlement) GetSourceConnectorIds() map[string]string

func (*AppEntitlement) GetSystemBuiltin ¶ added in v0.4.14

func (o *AppEntitlement) GetSystemBuiltin() *bool

func (*AppEntitlement) GetUpdatedAt ¶ added in v0.4.14

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

func (*AppEntitlement) GetUserEditedMask ¶ added in v0.4.14

func (o *AppEntitlement) GetUserEditedMask() *string

func (AppEntitlement) MarshalJSON ¶ added in v0.4.14

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

func (*AppEntitlement) UnmarshalJSON ¶ added in v0.4.14

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

type AppEntitlementDurationUnset ¶

type AppEntitlementDurationUnset struct {
}

type AppEntitlementExpandMask ¶

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

AppEntitlementExpandMask - The AppEntitlementExpandMask message.

type AppEntitlementInput ¶ added in v0.4.14

type AppEntitlementInput struct {
	// 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"`
	CreatedAt         *time.Time `json:"createdAt,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"`
	// Flag to indicate if app-level access request defaults have been applied to the entitlement
	DefaultValuesApplied *bool      `json:"defaultValuesApplied,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"`
	// The unique ID for the App Entitlement.
	ID            *string                      `json:"id,omitempty"`
	DurationGrant *string                      `json:"durationGrant,omitempty"`
	DurationUnset *AppEntitlementDurationUnset `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"`
	// Flag to indicate if the app entitlement is manually managed.
	IsManuallyManaged *bool `json:"isManuallyManaged,omitempty"`
	// Flag to indicate if the app-level access request settings have been overridden for the entitlement
	OverrideAccessRequestsDefaults *bool `json:"overrideAccessRequestsDefaults,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
	//   - webhook
	//   - multiStep
	//   - externalTicket
	//
	ProvisionPolicy *ProvisionPolicy `json:"provisionerPolicy,omitempty"`
	// The purpose field.
	Purpose *Purpose `json:"purpose,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"`
	// Map to tell us which connector the entitlement came from.
	SourceConnectorIds map[string]string `json:"sourceConnectorIds,omitempty"`
	UserEditedMask     *string           `json:"userEditedMask,omitempty"`
	UpdatedAt          *time.Time        `json:"updatedAt,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) GetAlias ¶ added in v0.4.14

func (o *AppEntitlementInput) GetAlias() *string

func (*AppEntitlementInput) GetAppID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetAppID() *string

func (*AppEntitlementInput) GetAppResourceID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetAppResourceID() *string

func (*AppEntitlementInput) GetAppResourceTypeID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetAppResourceTypeID() *string

func (*AppEntitlementInput) GetCertifyPolicyID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetCertifyPolicyID() *string

func (*AppEntitlementInput) GetComplianceFrameworkValueIds ¶ added in v0.4.14

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

func (*AppEntitlementInput) GetDefaultValuesApplied ¶ added in v0.4.14

func (o *AppEntitlementInput) GetDefaultValuesApplied() *bool

func (*AppEntitlementInput) GetDescription ¶ added in v0.4.14

func (o *AppEntitlementInput) GetDescription() *string

func (*AppEntitlementInput) GetDisplayName ¶ added in v0.4.14

func (o *AppEntitlementInput) GetDisplayName() *string

func (*AppEntitlementInput) GetDurationGrant ¶ added in v0.4.14

func (o *AppEntitlementInput) GetDurationGrant() *string

func (*AppEntitlementInput) GetDurationUnset ¶ added in v0.4.14

func (o *AppEntitlementInput) GetDurationUnset() *AppEntitlementDurationUnset

func (*AppEntitlementInput) GetEmergencyGrantEnabled ¶ added in v0.4.14

func (o *AppEntitlementInput) GetEmergencyGrantEnabled() *bool

func (*AppEntitlementInput) GetEmergencyGrantPolicyID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetEmergencyGrantPolicyID() *string

func (*AppEntitlementInput) GetGrantPolicyID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetGrantPolicyID() *string

func (*AppEntitlementInput) GetIsManuallyManaged ¶ added in v0.4.14

func (o *AppEntitlementInput) GetIsManuallyManaged() *bool

func (*AppEntitlementInput) GetOverrideAccessRequestsDefaults ¶ added in v0.4.14

func (o *AppEntitlementInput) GetOverrideAccessRequestsDefaults() *bool

func (*AppEntitlementInput) GetProvisionPolicy ¶ added in v0.4.14

func (o *AppEntitlementInput) GetProvisionPolicy() *ProvisionPolicy

func (*AppEntitlementInput) GetPurpose ¶ added in v0.4.14

func (o *AppEntitlementInput) GetPurpose() *Purpose

func (*AppEntitlementInput) GetRevokePolicyID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetRevokePolicyID() *string

func (*AppEntitlementInput) GetRiskLevelValueID ¶ added in v0.4.14

func (o *AppEntitlementInput) GetRiskLevelValueID() *string

func (*AppEntitlementInput) GetSlug ¶ added in v0.4.14

func (o *AppEntitlementInput) GetSlug() *string

func (*AppEntitlementInput) GetSourceConnectorIds ¶ added in v0.4.14

func (o *AppEntitlementInput) GetSourceConnectorIds() map[string]string

func (*AppEntitlementInput) GetUserEditedMask ¶ added in v0.4.14

func (o *AppEntitlementInput) GetUserEditedMask() *string

type AppEntitlementProxy ¶ added in v0.4.14

type AppEntitlementProxy struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The dstAppEntitlementId field.
	DstAppEntitlementID *string `json:"dstAppEntitlementId,omitempty"`
	// The dstAppId field.
	DstAppID *string `json:"dstAppId,omitempty"`
	// If true, the binding doesn't not exist yet and is from the list of the entitlements from the parent app.
	//  typically the IdP that handles provisioning for the app instead of C1s connector.
	// This field is part of the `_implicit` oneof.
	// See the documentation for `c1.api.app.v1.AppEntitlementProxy` for more details.
	Implicit *bool `json:"implicit,omitempty"`
	// The srcAppEntitlementId field.
	SrcAppEntitlementID *string `json:"srcAppEntitlementId,omitempty"`
	// The srcAppId field.
	SrcAppID *string `json:"srcAppId,omitempty"`
	// The systemBuiltin field.
	SystemBuiltin *bool      `json:"systemBuiltin,omitempty"`
	UpdatedAt     *time.Time `json:"updatedAt,omitempty"`
}

The AppEntitlementProxy message.

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

  • implicit

func (*AppEntitlementProxy) GetCreatedAt ¶ added in v0.4.14

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

func (*AppEntitlementProxy) GetDeletedAt ¶ added in v0.4.14

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

func (*AppEntitlementProxy) GetDstAppEntitlementID ¶ added in v0.4.14

func (o *AppEntitlementProxy) GetDstAppEntitlementID() *string

func (*AppEntitlementProxy) GetDstAppID ¶ added in v0.4.14

func (o *AppEntitlementProxy) GetDstAppID() *string

func (*AppEntitlementProxy) GetImplicit ¶ added in v0.4.14

func (o *AppEntitlementProxy) GetImplicit() *bool

func (*AppEntitlementProxy) GetSrcAppEntitlementID ¶ added in v0.4.14

func (o *AppEntitlementProxy) GetSrcAppEntitlementID() *string

func (*AppEntitlementProxy) GetSrcAppID ¶ added in v0.4.14

func (o *AppEntitlementProxy) GetSrcAppID() *string

func (*AppEntitlementProxy) GetSystemBuiltin ¶ added in v0.4.14

func (o *AppEntitlementProxy) GetSystemBuiltin() *bool

func (*AppEntitlementProxy) GetUpdatedAt ¶ added in v0.4.14

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

func (AppEntitlementProxy) MarshalJSON ¶ added in v0.4.14

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

func (*AppEntitlementProxy) UnmarshalJSON ¶ added in v0.4.14

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

type AppEntitlementProxyExpandMask ¶ added in v0.4.14

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

The AppEntitlementProxyExpandMask message.

func (*AppEntitlementProxyExpandMask) GetPaths ¶ added in v0.4.14

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

type AppEntitlementProxyView ¶ added in v0.4.14

type AppEntitlementProxyView struct {
	// The AppEntitlementProxy message.
	//
	// This message contains a oneof named _implicit. Only a single field of the following list may be set at a time:
	//   - implicit
	//
	AppEntitlementProxy *AppEntitlementProxy `json:"appProxyEntitlement,omitempty"`
	// The dstAppEntitlementPath field.
	DstAppEntitlementPath *string `json:"dstAppEntitlementPath,omitempty"`
	// The dstAppPath field.
	DstAppPath *string `json:"dstAppPath,omitempty"`
	// The srcAppEntitlementPath field.
	SrcAppEntitlementPath *string `json:"srcAppEntitlementPath,omitempty"`
	// The srcAppPath field.
	SrcAppPath *string `json:"srcAppPath,omitempty"`
}

The AppEntitlementProxyView message.

func (*AppEntitlementProxyView) GetAppEntitlementProxy ¶ added in v0.4.14

func (o *AppEntitlementProxyView) GetAppEntitlementProxy() *AppEntitlementProxy

func (*AppEntitlementProxyView) GetDstAppEntitlementPath ¶ added in v0.4.14

func (o *AppEntitlementProxyView) GetDstAppEntitlementPath() *string

func (*AppEntitlementProxyView) GetDstAppPath ¶ added in v0.4.14

func (o *AppEntitlementProxyView) GetDstAppPath() *string

func (*AppEntitlementProxyView) GetSrcAppEntitlementPath ¶ added in v0.4.14

func (o *AppEntitlementProxyView) GetSrcAppEntitlementPath() *string

func (*AppEntitlementProxyView) GetSrcAppPath ¶ added in v0.4.14

func (o *AppEntitlementProxyView) GetSrcAppPath() *string

type AppEntitlementRef ¶

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

AppEntitlementRef - The AppEntitlementRef message.

type AppEntitlementReference ¶

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

AppEntitlementReference - The AppEntitlementReference message.

type AppEntitlementSearchServiceSearchRequest ¶

type AppEntitlementSearchServiceSearchRequest struct {
	// The AppEntitlementExpandMask message.
	AppEntitlementExpandMask *AppEntitlementExpandMask `json:"expandMask,omitempty"`
	// The accessReviewId field.
	AccessReviewID *string `json:"accessReviewId,omitempty"`
	// The appIds field.
	AppIds []string `json:"appIds,omitempty"`
	// The appUserIds field.
	AppUserIds []string `json:"appUserIds,omitempty"`
	// The complianceFrameworkIds field.
	ComplianceFrameworkIds []string `json:"complianceFrameworkIds,omitempty"`
	// The excludeAppIds field.
	ExcludeAppIds []string `json:"excludeAppIds,omitempty"`
	// The excludeAppUserIds field.
	ExcludeAppUserIds []string `json:"excludeAppUserIds,omitempty"`
	// The onlyGetExpiring field.
	OnlyGetExpiring *bool `json:"onlyGetExpiring,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
	// The resourceTypeIds field.
	ResourceTypeIds []string `json:"resourceTypeIds,omitempty"`
	// The riskLevelIds field.
	RiskLevelIds []string `json:"riskLevelIds,omitempty"`
	// The alias field.
	Alias *string `json:"alias,omitempty"`
}

AppEntitlementSearchServiceSearchRequest - The AppEntitlementSearchServiceSearchRequest message.

type AppEntitlementSearchServiceSearchResponse ¶

type AppEntitlementSearchServiceSearchResponse struct {
	// The Facets message.
	Facets *Facets `json:"facets,omitempty"`
	// The expanded field.
	Expanded []AppEntitlementSearchServiceSearchResponseExpanded `json:"expanded,omitempty"`
	// The list field.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

AppEntitlementSearchServiceSearchResponse - The AppEntitlementSearchServiceSearchResponse message.

type AppEntitlementSearchServiceSearchResponseExpanded ¶

type AppEntitlementSearchServiceSearchResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (AppEntitlementSearchServiceSearchResponseExpanded) MarshalJSON ¶

func (*AppEntitlementSearchServiceSearchResponseExpanded) UnmarshalJSON ¶

type AppEntitlementUserBinding ¶

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

AppEntitlementUserBinding - The AppEntitlementUserBinding message.

type AppEntitlementUserView ¶

type AppEntitlementUserView struct {
	// The AppUserView message.
	AppUserView                            *AppUserView `json:"appUser,omitempty"`
	AppEntitlementUserBindingCreatedAt     *time.Time   `json:"appEntitlementUserBindingCreatedAt,omitempty"`
	AppEntitlementUserBindingDeprovisionAt *time.Time   `json:"appEntitlementUserBindingDeprovisionAt,omitempty"`
}

AppEntitlementUserView - The AppEntitlementUserView message.

type AppEntitlementView ¶

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

AppEntitlementView - The AppEntitlementView message.

type AppEntitlementWithUserBindings ¶

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

AppEntitlementWithUserBindings - The AppEntitlementWithUserBindings message.

type AppGroupApproval ¶

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

AppGroupApproval - The AppGroupApproval message.

type 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 {
	//  App owner is based on the app id and doesn't need to have self-contained data
	//
	AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"`
}

AppOwnerApproval - The AppOwnerApproval message.

type 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 field.
	AppID     *string    `json:"appId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The downloadUrl field.
	DownloadURL *string `json:"downloadUrl,omitempty"`
	// The hashes field.
	Hashes map[string]string `json:"hashes,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The state field.
	State *AppPopulationReportState `json:"state,omitempty"`
}

AppPopulationReport - The AppPopulationReport message.

type AppPopulationReportState ¶

type AppPopulationReportState string

AppPopulationReportState - The state field.

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

func (AppPopulationReportState) ToPointer ¶

func (*AppPopulationReportState) UnmarshalJSON ¶

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

type AppReportServiceListResponse ¶

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

AppReportServiceListResponse - The AppReportServiceListResponse message.

type AppResource ¶

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 ¶ added in v0.4.14

func (o *AppResource) GetAppID() *string

func (*AppResource) GetAppResourceTypeID ¶ added in v0.4.14

func (o *AppResource) GetAppResourceTypeID() *string

func (*AppResource) GetCreatedAt ¶ added in v0.4.14

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

func (*AppResource) GetCustomDescription ¶ added in v0.4.14

func (o *AppResource) GetCustomDescription() *string

func (*AppResource) GetDeletedAt ¶ added in v0.4.14

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

func (*AppResource) GetDescription ¶ added in v0.4.14

func (o *AppResource) GetDescription() *string

func (*AppResource) GetDisplayName ¶ added in v0.4.14

func (o *AppResource) GetDisplayName() *string

func (*AppResource) GetGrantCount ¶ added in v0.4.14

func (o *AppResource) GetGrantCount() *string

func (*AppResource) GetID ¶ added in v0.4.14

func (o *AppResource) GetID() *string

func (*AppResource) GetParentAppResourceID ¶ added in v0.4.14

func (o *AppResource) GetParentAppResourceID() *string

func (*AppResource) GetParentAppResourceTypeID ¶ added in v0.4.14

func (o *AppResource) GetParentAppResourceTypeID() *string

func (*AppResource) GetUpdatedAt ¶ added in v0.4.14

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

func (AppResource) MarshalJSON ¶ added in v0.4.14

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

func (*AppResource) UnmarshalJSON ¶ added in v0.4.14

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

type AppResourceExpandMask ¶ added in v0.4.14

type AppResourceExpandMask struct {
	// The app resource expanded fields. Maybe be any combination of "*", "app_id", "app_resource_type_id".
	Paths []string `json:"paths,omitempty"`
}

AppResourceExpandMask - The app resource expand mask lets you get information about related objects from the request.

func (*AppResourceExpandMask) GetPaths ¶ added in v0.4.14

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

type AppResourceInput ¶ added in v0.4.14

type AppResourceInput 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"`
	// The description that can be set for a 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"`
}

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

func (*AppResourceInput) GetAppID ¶ added in v0.4.14

func (o *AppResourceInput) GetAppID() *string

func (*AppResourceInput) GetAppResourceTypeID ¶ added in v0.4.14

func (o *AppResourceInput) GetAppResourceTypeID() *string

func (*AppResourceInput) GetDescription ¶ added in v0.4.14

func (o *AppResourceInput) GetDescription() *string

func (*AppResourceInput) GetDisplayName ¶ added in v0.4.14

func (o *AppResourceInput) GetDisplayName() *string

func (*AppResourceInput) GetGrantCount ¶ added in v0.4.14

func (o *AppResourceInput) GetGrantCount() *string

func (*AppResourceInput) GetID ¶ added in v0.4.14

func (o *AppResourceInput) GetID() *string

func (*AppResourceInput) GetParentAppResourceID ¶ added in v0.4.14

func (o *AppResourceInput) GetParentAppResourceID() *string

func (*AppResourceInput) GetParentAppResourceTypeID ¶ added in v0.4.14

func (o *AppResourceInput) GetParentAppResourceTypeID() *string

type AppResourceServiceGetResponse ¶

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

AppResourceServiceGetResponse - The AppResourceServiceGetResponse message.

type AppResourceServiceGetResponseExpanded ¶

type AppResourceServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (AppResourceServiceGetResponseExpanded) MarshalJSON ¶

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

func (*AppResourceServiceGetResponseExpanded) UnmarshalJSON ¶

func (c *AppResourceServiceGetResponseExpanded) UnmarshalJSON(bs []byte) error

type AppResourceServiceListResponse ¶

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

AppResourceServiceListResponse - The AppResourceServiceListResponse message.

type AppResourceServiceListResponseExpanded ¶

type AppResourceServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (AppResourceServiceListResponseExpanded) MarshalJSON ¶

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

func (*AppResourceServiceListResponseExpanded) UnmarshalJSON ¶

func (c *AppResourceServiceListResponseExpanded) UnmarshalJSON(bs []byte) error

type AppResourceServiceUpdateRequest ¶ added in v0.4.14

type AppResourceServiceUpdateRequest struct {
	// The app resource message is a single resource that can have entitlements.
	AppResource *AppResourceInput `json:"appResource,omitempty"`
	// The app resource expand mask lets you get information about related objects from the request.
	AppResourceExpandMask *AppResourceExpandMask `json:"expandMask,omitempty"`
	UpdateMask            *string                `json:"updateMask,omitempty"`
}

The AppResourceServiceUpdateRequest message.

func (*AppResourceServiceUpdateRequest) GetAppResource ¶ added in v0.4.14

func (*AppResourceServiceUpdateRequest) GetAppResourceExpandMask ¶ added in v0.4.14

func (o *AppResourceServiceUpdateRequest) GetAppResourceExpandMask() *AppResourceExpandMask

func (*AppResourceServiceUpdateRequest) GetUpdateMask ¶ added in v0.4.14

func (o *AppResourceServiceUpdateRequest) GetUpdateMask() *string

type AppResourceServiceUpdateResponse ¶ added in v0.4.14

type AppResourceServiceUpdateResponse 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"`
	// The expanded field.
	Expanded []AppResourceServiceUpdateResponseExpanded `json:"expanded,omitempty"`
}

The AppResourceServiceUpdateResponse message.

func (*AppResourceServiceUpdateResponse) GetAppResourceView ¶ added in v0.4.14

func (o *AppResourceServiceUpdateResponse) GetAppResourceView() *AppResourceView

func (*AppResourceServiceUpdateResponse) GetExpanded ¶ added in v0.4.14

type AppResourceServiceUpdateResponseExpanded ¶ added in v0.4.14

type AppResourceServiceUpdateResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string `json:"@type,omitempty"`
	AdditionalProperties any     `additionalProperties:"true" json:"-"`
}

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

func (*AppResourceServiceUpdateResponseExpanded) GetAdditionalProperties ¶ added in v0.4.14

func (o *AppResourceServiceUpdateResponseExpanded) GetAdditionalProperties() any

func (*AppResourceServiceUpdateResponseExpanded) GetAtType ¶ added in v0.4.14

func (AppResourceServiceUpdateResponseExpanded) MarshalJSON ¶ added in v0.4.14

func (*AppResourceServiceUpdateResponseExpanded) UnmarshalJSON ¶ added in v0.4.14

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

type AppResourceType ¶

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

AppResourceType - The AppResourceType message.

type AppResourceTypeInput ¶ added in v0.4.14

type AppResourceTypeInput struct {
	// The display name of the app resource type.
	DisplayName *string `json:"displayName,omitempty"`
}

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

func (*AppResourceTypeInput) GetDisplayName ¶ added in v0.4.14

func (o *AppResourceTypeInput) GetDisplayName() *string

type AppResourceTypeServiceGetResponse ¶

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

AppResourceTypeServiceGetResponse - The AppResourceTypeServiceGetResponse message.

type AppResourceTypeServiceGetResponseExpanded ¶

type AppResourceTypeServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (AppResourceTypeServiceGetResponseExpanded) MarshalJSON ¶

func (*AppResourceTypeServiceGetResponseExpanded) UnmarshalJSON ¶

func (c *AppResourceTypeServiceGetResponseExpanded) UnmarshalJSON(bs []byte) error

type AppResourceTypeServiceListResponse ¶

type AppResourceTypeServiceListResponse struct {
	// The expanded field.
	Expanded []AppResourceTypeServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list field.
	List []AppResourceTypeView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
	// The notificationToken field.
	NotificationToken *string `json:"notificationToken,omitempty"`
}

AppResourceTypeServiceListResponse - The AppResourceTypeServiceListResponse message.

type AppResourceTypeServiceListResponseExpanded ¶

type AppResourceTypeServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (AppResourceTypeServiceListResponseExpanded) MarshalJSON ¶

func (*AppResourceTypeServiceListResponseExpanded) UnmarshalJSON ¶

func (c *AppResourceTypeServiceListResponseExpanded) UnmarshalJSON(bs []byte) error

type AppResourceTypeView ¶

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

AppResourceTypeView - The AppResourceTypeView message.

type AppResourceView ¶

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

AppResourceView - The AppResourceView message.

type AppUsageControls ¶

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

AppUsageControls - The AppUsageControls message.

type AppUser ¶

type AppUser struct {
	// The AppUserStatus message.
	AppUserStatus *AppUserStatus `json:"status,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserType field.
	AppUserType *AppUserAppUserType `json:"appUserType,omitempty"`
	CreatedAt   *time.Time          `json:"createdAt,omitempty"`
	DeletedAt   *time.Time          `json:"deletedAt,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The email field.
	Email *string `json:"email,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The identityUserId field.
	IdentityUserID *string                `json:"identityUserId,omitempty"`
	Profile        map[string]interface{} `json:"profile,omitempty"`
	UpdatedAt      *time.Time             `json:"updatedAt,omitempty"`
}

AppUser - The AppUser message.

type AppUserAppUserType ¶

type AppUserAppUserType string

AppUserAppUserType - The appUserType field.

const (
	AppUserAppUserTypeAppUserTypeUnspecified    AppUserAppUserType = "APP_USER_TYPE_UNSPECIFIED"
	AppUserAppUserTypeAppUserTypeUser           AppUserAppUserType = "APP_USER_TYPE_USER"
	AppUserAppUserTypeAppUserTypeServiceAccount AppUserAppUserType = "APP_USER_TYPE_SERVICE_ACCOUNT"
	AppUserAppUserTypeAppUserTypeSystemAccount  AppUserAppUserType = "APP_USER_TYPE_SYSTEM_ACCOUNT"
)

func (AppUserAppUserType) ToPointer ¶

func (e AppUserAppUserType) ToPointer() *AppUserAppUserType

func (*AppUserAppUserType) UnmarshalJSON ¶

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

type AppUserStatus ¶

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

AppUserStatus - The AppUserStatus message.

type AppUserStatusInput ¶

type AppUserStatusInput struct {
}

AppUserStatusInput - The satus of the applicaiton user.

type AppUserStatusStatus ¶

type AppUserStatusStatus string

AppUserStatusStatus - The status field.

const (
	AppUserStatusStatusStatusUnspecified AppUserStatusStatus = "STATUS_UNSPECIFIED"
	AppUserStatusStatusStatusEnabled     AppUserStatusStatus = "STATUS_ENABLED"
	AppUserStatusStatusStatusDisabled    AppUserStatusStatus = "STATUS_DISABLED"
	AppUserStatusStatusStatusDeleted     AppUserStatusStatus = "STATUS_DELETED"
)

func (AppUserStatusStatus) ToPointer ¶

func (*AppUserStatusStatus) UnmarshalJSON ¶

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

type AppUserView ¶

type AppUserView struct {
	// The AppUser message.
	AppUser *AppUser `json:"appUser,omitempty"`
	// The appPath field.
	AppPath *string `json:"appPath,omitempty"`
	// The identityUserPath field.
	IdentityUserPath *string `json:"identityUserPath,omitempty"`
	// The lastUsagePath field.
	LastUsagePath *string `json:"lastUsagePath,omitempty"`
}

AppUserView - The AppUserView message.

type Approval ¶

type Approval struct {
	// Configuration to allow reassignment by reviewers during this step.
	AllowReassignment *bool `json:"allowReassignment,omitempty"`
	// App owner approval provides the configuration for an approval step when the app owner is the target.
	AppOwnerApproval *AppOwnerApproval `json:"appOwners,omitempty"`
	// A field indicating whether this step is assigned.
	Assigned *bool `json:"assigned,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 AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step.
	AppGroupApproval *AppGroupApproval `json:"group,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"`
	// 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 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"`
}

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 {
	// 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 AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step.
	AppGroupApproval *AppGroupApprovalInput `json:"group,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
	//
	Approval *Approval `json:"approval,omitempty"`
	// The ApprovedAction message.
	ApprovedAction *ApprovedAction `json:"approved,omitempty"`
	// The DeniedAction message.
	DeniedAction *DeniedAction `json:"denied,omitempty"`
	// The ReassignedAction message.
	ReassignedAction *ReassignedAction `json:"reassigned,omitempty"`
	// The ReassignedByErrorAction message.
	ReassignedByErrorAction *ReassignedByErrorAction `json:"reassignedByError,omitempty"`
	// The RestartAction message.
	RestartAction *RestartAction `json:"restarted,omitempty"`
	// The state field.
	State *ApprovalInstanceState `json:"state,omitempty"`
}

ApprovalInstance - The ApprovalInstance message.

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

  • approved
  • denied
  • reassigned
  • restarted
  • reassignedByError

type ApprovalInstanceState ¶

type ApprovalInstanceState string

ApprovalInstanceState - The state field.

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

func (ApprovalInstanceState) ToPointer ¶

func (*ApprovalInstanceState) UnmarshalJSON ¶

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

type ApprovedAction ¶

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

ApprovedAction - The ApprovedAction message.

type AttributeType ¶

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

AttributeType - The AttributeType message.

type AttributeValue ¶

type AttributeValue struct {
	// The attributeTypeId field.
	AttributeTypeID *string    `json:"attributeTypeId,omitempty"`
	CreatedAt       *time.Time `json:"createdAt,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The id field.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The value field.
	Value *string `json:"value,omitempty"`
}

AttributeValue - The AttributeValue message.

type CancelledAction ¶

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

CancelledAction - The CancelledAction message.

type CompletedAction ¶

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

CompletedAction - The CompletedAction message.

type Connector ¶

type Connector struct {
	// The ConnectorStatus message.
	ConnectorStatus *ConnectorStatus `json:"status,omitempty"`
	// The OAuth2AuthorizedAs message.
	OAuth2AuthorizedAs *OAuth2AuthorizedAs `json:"oauthAuthorizedAs,omitempty"`
	// The appId field.
	AppID *string `json:"appId,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    *ConnectorConfig `json:"config,omitempty"`
	CreatedAt *time.Time       `json:"createdAt,omitempty"`
	DeletedAt *time.Time       `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The downloadUrl field.
	DownloadURL *string `json:"downloadUrl,omitempty"`
	// The id field.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The userIds field.
	UserIds []string `json:"userIds,omitempty"`
}

Connector - The Connector message.

type ConnectorConfig ¶

type ConnectorConfig struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ConnectorConfig) MarshalJSON ¶

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

func (*ConnectorConfig) UnmarshalJSON ¶

func (c *ConnectorConfig) UnmarshalJSON(bs []byte) error

type ConnectorCredential ¶

type ConnectorCredential struct {
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The clientId field.
	ClientID *string `json:"clientId,omitempty"`
	// The connectorId field.
	ConnectorID *string    `json:"connectorId,omitempty"`
	CreatedAt   *time.Time `json:"createdAt,omitempty"`
	DeletedAt   *time.Time `json:"deletedAt,omitempty"`
	// The displayName field.
	DisplayName *string    `json:"displayName,omitempty"`
	ExpiresTime *time.Time `json:"expiresTime,omitempty"`
	// The id field.
	ID         *string    `json:"id,omitempty"`
	LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
	UpdatedAt  *time.Time `json:"updatedAt,omitempty"`
}

ConnectorCredential - The ConnectorCredential message.

type ConnectorExpandMask ¶

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

ConnectorExpandMask - The ConnectorExpandMask message.

type ConnectorProvision ¶

type ConnectorProvision struct {
}

ConnectorProvision - The ConnectorProvision message.

type ConnectorServiceCreateDelegatedRequest ¶

type ConnectorServiceCreateDelegatedRequest struct {
	// The ConnectorExpandMask message.
	ConnectorExpandMask *ConnectorExpandMask `json:"expandMask,omitempty"`
	// The catalogId field.
	CatalogID *string `json:"catalogId,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The userIds field.
	UserIds []string `json:"userIds,omitempty"`
}

ConnectorServiceCreateDelegatedRequest - The ConnectorServiceCreateDelegatedRequest message.

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

ConnectorServiceCreateRequest - The ConnectorServiceCreateRequest message.

type ConnectorServiceCreateRequestConfig ¶

type ConnectorServiceCreateRequestConfig struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ConnectorServiceCreateRequestConfig) MarshalJSON ¶

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

func (*ConnectorServiceCreateRequestConfig) UnmarshalJSON ¶

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

type ConnectorServiceCreateResponse ¶

type ConnectorServiceCreateResponse struct {
	// The ConnectorView message.
	ConnectorView *ConnectorView `json:"connectorView,omitempty"`
	// The expanded field.
	Expanded []ConnectorServiceCreateResponseExpanded `json:"expanded,omitempty"`
}

ConnectorServiceCreateResponse - The ConnectorServiceCreateResponse message.

type ConnectorServiceCreateResponseExpanded ¶

type ConnectorServiceCreateResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ConnectorServiceCreateResponseExpanded) MarshalJSON ¶

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

func (*ConnectorServiceCreateResponseExpanded) UnmarshalJSON ¶

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

type ConnectorServiceDeleteRequest ¶

type ConnectorServiceDeleteRequest struct {
}

ConnectorServiceDeleteRequest - The ConnectorServiceDeleteRequest message.

type ConnectorServiceDeleteResponse ¶

type ConnectorServiceDeleteResponse struct {
}

ConnectorServiceDeleteResponse - The ConnectorServiceDeleteResponse message.

type ConnectorServiceGetCredentialsResponse ¶

type ConnectorServiceGetCredentialsResponse struct {
	// The ConnectorCredential message.
	ConnectorCredential *ConnectorCredential `json:"credential,omitempty"`
}

ConnectorServiceGetCredentialsResponse - The ConnectorServiceGetCredentialsResponse message.

type ConnectorServiceGetResponse ¶

type ConnectorServiceGetResponse struct {
	// The ConnectorView message.
	ConnectorView *ConnectorView `json:"connectorView,omitempty"`
	// The expanded field.
	Expanded []ConnectorServiceGetResponseExpanded `json:"expanded,omitempty"`
}

ConnectorServiceGetResponse - The ConnectorServiceGetResponse message.

type ConnectorServiceGetResponseExpanded ¶

type ConnectorServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ConnectorServiceGetResponseExpanded) MarshalJSON ¶

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

func (*ConnectorServiceGetResponseExpanded) UnmarshalJSON ¶

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

type ConnectorServiceListResponse ¶

type ConnectorServiceListResponse struct {
	// The expanded field.
	Expanded []ConnectorServiceListResponseExpanded `json:"expanded,omitempty"`
	// The list field.
	List []ConnectorView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

ConnectorServiceListResponse - The ConnectorServiceListResponse message.

type ConnectorServiceListResponseExpanded ¶

type ConnectorServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ConnectorServiceListResponseExpanded) MarshalJSON ¶

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

func (*ConnectorServiceListResponseExpanded) UnmarshalJSON ¶

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

type ConnectorServiceRevokeCredentialRequest ¶

type ConnectorServiceRevokeCredentialRequest struct {
}

ConnectorServiceRevokeCredentialRequest - The ConnectorServiceRevokeCredentialRequest message.

type ConnectorServiceRevokeCredentialResponse ¶

type ConnectorServiceRevokeCredentialResponse struct {
}

ConnectorServiceRevokeCredentialResponse - The ConnectorServiceRevokeCredentialResponse message.

type ConnectorServiceRotateCredentialRequest ¶

type ConnectorServiceRotateCredentialRequest struct {
}

ConnectorServiceRotateCredentialRequest - The ConnectorServiceRotateCredentialRequest message.

type ConnectorServiceRotateCredentialResponse ¶

type ConnectorServiceRotateCredentialResponse struct {
	// The ConnectorCredential message.
	ConnectorCredential *ConnectorCredential `json:"credential,omitempty"`
	// The clientSecret field.
	ClientSecret *string `json:"clientSecret,omitempty"`
}

ConnectorServiceRotateCredentialResponse - The ConnectorServiceRotateCredentialResponse message.

type ConnectorServiceUpdateDelegatedRequest ¶

type ConnectorServiceUpdateDelegatedRequest struct {
	// The Connector message.
	Connector *Connector `json:"connector,omitempty"`
	// FIXME(jirwin): Manually added!
	UpdateMask string `json:"update_mask,omitempty"`
	// The ConnectorExpandMask message.
	ConnectorExpandMask *ConnectorExpandMask `json:"expandMask,omitempty"`
}

ConnectorServiceUpdateDelegatedRequest - The ConnectorServiceUpdateDelegatedRequest message.

type ConnectorServiceUpdateRequest ¶

type ConnectorServiceUpdateRequest struct {
	// The Connector message.
	Connector *Connector `json:"connector,omitempty"`
	// FIXME(jirwin): Manually added!
	UpdateMask string `json:"update_mask,omitempty"`
	// The ConnectorExpandMask message.
	ConnectorExpandMask *ConnectorExpandMask `json:"expandMask,omitempty"`
}

ConnectorServiceUpdateRequest - The ConnectorServiceUpdateRequest message.

type ConnectorServiceUpdateResponse ¶

type ConnectorServiceUpdateResponse struct {
	// The ConnectorView message.
	ConnectorView *ConnectorView `json:"connectorView,omitempty"`
	// The expanded field.
	Expanded []ConnectorServiceUpdateResponseExpanded `json:"expanded,omitempty"`
}

ConnectorServiceUpdateResponse - The ConnectorServiceUpdateResponse message.

type ConnectorServiceUpdateResponseExpanded ¶

type ConnectorServiceUpdateResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ConnectorServiceUpdateResponseExpanded) MarshalJSON ¶

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

func (*ConnectorServiceUpdateResponseExpanded) UnmarshalJSON ¶

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

type ConnectorStatus ¶

type ConnectorStatus struct {
	CompletedAt *time.Time `json:"completedAt,omitempty"`
	// The lastError field.
	LastError *string    `json:"lastError,omitempty"`
	StartedAt *time.Time `json:"startedAt,omitempty"`
	// The status field.
	Status    *ConnectorStatusStatus `json:"status,omitempty"`
	UpdatedAt *time.Time             `json:"updatedAt,omitempty"`
}

ConnectorStatus - The ConnectorStatus message.

type ConnectorStatusStatus ¶

type ConnectorStatusStatus string

ConnectorStatusStatus - The status field.

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 {
	// The Connector message.
	Connector *Connector `json:"connector,omitempty"`
	// The appPath field.
	AppPath *string `json:"appPath,omitempty"`
	// The usersPath field.
	UsersPath *string `json:"usersPath,omitempty"`
}

ConnectorView - The ConnectorView message.

type CreateAppEntitlementProxyRequest ¶ added in v0.4.14

type CreateAppEntitlementProxyRequest struct {
	// The dstAppEntitlementId field.
	DstAppEntitlementID *string `json:"dstAppEntitlementId,omitempty"`
	// The dstAppId field.
	DstAppID *string `json:"dstAppId,omitempty"`
	// The srcAppEntitlementId field.
	SrcAppEntitlementID *string `json:"srcAppEntitlementId,omitempty"`
	// The srcAppId field.
	SrcAppID *string `json:"srcAppId,omitempty"`
	// The AppEntitlementProxyExpandMask message.
	AppEntitlementProxyExpandMask *AppEntitlementProxyExpandMask `json:"expandMask,omitempty"`
}

The CreateAppEntitlementProxyRequest message.

func (*CreateAppEntitlementProxyRequest) GetAppEntitlementProxyExpandMask ¶ added in v0.4.14

func (o *CreateAppEntitlementProxyRequest) GetAppEntitlementProxyExpandMask() *AppEntitlementProxyExpandMask

func (*CreateAppEntitlementProxyRequest) GetDstAppEntitlementID ¶ added in v0.4.14

func (o *CreateAppEntitlementProxyRequest) GetDstAppEntitlementID() *string

func (*CreateAppEntitlementProxyRequest) GetDstAppID ¶ added in v0.4.14

func (o *CreateAppEntitlementProxyRequest) GetDstAppID() *string

func (*CreateAppEntitlementProxyRequest) GetSrcAppEntitlementID ¶ added in v0.4.14

func (o *CreateAppEntitlementProxyRequest) GetSrcAppEntitlementID() *string

func (*CreateAppEntitlementProxyRequest) GetSrcAppID ¶ added in v0.4.14

func (o *CreateAppEntitlementProxyRequest) GetSrcAppID() *string

type CreateAppEntitlementProxyResponse ¶ added in v0.4.14

type CreateAppEntitlementProxyResponse struct {
	// The AppEntitlementProxyView message.
	AppEntitlementProxyView *AppEntitlementProxyView `json:"appProxyEntitlementView,omitempty"`
	// The expanded field.
	Expanded []CreateAppEntitlementProxyResponseExpanded `json:"expanded,omitempty"`
}

The CreateAppEntitlementProxyResponse message.

func (*CreateAppEntitlementProxyResponse) GetAppEntitlementProxyView ¶ added in v0.4.14

func (o *CreateAppEntitlementProxyResponse) GetAppEntitlementProxyView() *AppEntitlementProxyView

func (*CreateAppEntitlementProxyResponse) GetExpanded ¶ added in v0.4.14

type CreateAppEntitlementProxyResponseExpanded ¶ added in v0.4.14

type CreateAppEntitlementProxyResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string `json:"@type,omitempty"`
	AdditionalProperties any     `additionalProperties:"true" json:"-"`
}

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

func (*CreateAppEntitlementProxyResponseExpanded) GetAdditionalProperties ¶ added in v0.4.14

func (o *CreateAppEntitlementProxyResponseExpanded) GetAdditionalProperties() any

func (*CreateAppEntitlementProxyResponseExpanded) GetAtType ¶ added in v0.4.14

func (CreateAppEntitlementProxyResponseExpanded) MarshalJSON ¶ added in v0.4.14

func (*CreateAppEntitlementProxyResponseExpanded) UnmarshalJSON ¶ added in v0.4.14

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

type CreateAppEntitlementRequest ¶

type CreateAppEntitlementRequest struct {
	// The alias field.
	Alias *string `json:"alias,omitempty"`
	// The appEntitlementOwnerIds field.
	AppEntitlementOwnerIds []string `json:"appEntitlementOwnerIds,omitempty"`
	// The appResourceId field.
	AppResourceID *string `json:"appResourceId,omitempty"`
	// The appResourceTypeId field.
	AppResourceTypeID *string `json:"appResourceTypeId,omitempty"`
	// The certifyPolicyId field.
	CertifyPolicyID *string `json:"certifyPolicyId,omitempty"`
	// The complianceFrameworkValueIds field.
	ComplianceFrameworkValueIds []string `json:"complianceFrameworkValueIds,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName   *string                                   `json:"displayName,omitempty"`
	DurationGrant *string                                   `json:"durationGrant,omitempty"`
	DurationUnset *CreateAppEntitlementRequestDurationUnset `json:"durationUnset,omitempty"`
	// The emergencyGrantEnabled field.
	EmergencyGrantEnabled *bool `json:"emergencyGrantEnabled,omitempty"`
	// The emergencyGrantPolicyId field.
	EmergencyGrantPolicyID *string `json:"emergencyGrantPolicyId,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"`
	// The grantPolicyId field.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The overrideAccessRequestsDefaults field.
	OverrideAccessRequestsDefaults *bool `json:"overrideAccessRequestsDefaults,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
	//   - webhook
	//   - multiStep
	//   - externalTicket
	//
	ProvisionPolicy *ProvisionPolicy `json:"provisionPolicy,omitempty"`
	// The purpose field.
	Purpose *CreateAppEntitlementRequestPurpose `json:"purpose,omitempty"`
	// The revokePolicyId field.
	RevokePolicyID *string `json:"revokePolicyId,omitempty"`
	// The riskLevelValueId field.
	RiskLevelValueID *string `json:"riskLevelValueId,omitempty"`
	// The slug field.
	Slug *string `json:"slug,omitempty"`
}

The CreateAppEntitlementRequest message.

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

  • durationUnset
  • durationGrant

func (*CreateAppEntitlementRequest) GetAlias ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetAlias() *string

func (*CreateAppEntitlementRequest) GetAppEntitlementExpandMask ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetAppEntitlementExpandMask() *AppEntitlementExpandMask

func (*CreateAppEntitlementRequest) GetAppEntitlementOwnerIds ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetAppEntitlementOwnerIds() []string

func (*CreateAppEntitlementRequest) GetAppResourceID ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetAppResourceID() *string

func (*CreateAppEntitlementRequest) GetAppResourceTypeID ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetAppResourceTypeID() *string

func (*CreateAppEntitlementRequest) GetCertifyPolicyID ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetCertifyPolicyID() *string

func (*CreateAppEntitlementRequest) GetComplianceFrameworkValueIds ¶ added in v0.4.14

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

func (*CreateAppEntitlementRequest) GetDescription ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetDescription() *string

func (*CreateAppEntitlementRequest) GetDisplayName ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetDisplayName() *string

func (*CreateAppEntitlementRequest) GetDurationGrant ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetDurationGrant() *string

func (*CreateAppEntitlementRequest) GetDurationUnset ¶ added in v0.4.14

func (*CreateAppEntitlementRequest) GetEmergencyGrantEnabled ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetEmergencyGrantEnabled() *bool

func (*CreateAppEntitlementRequest) GetEmergencyGrantPolicyID ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetEmergencyGrantPolicyID() *string

func (*CreateAppEntitlementRequest) GetGrantPolicyID ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetGrantPolicyID() *string

func (*CreateAppEntitlementRequest) GetOverrideAccessRequestsDefaults ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetOverrideAccessRequestsDefaults() *bool

func (*CreateAppEntitlementRequest) GetProvisionPolicy ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetProvisionPolicy() *ProvisionPolicy

func (*CreateAppEntitlementRequest) GetPurpose ¶ added in v0.4.14

func (*CreateAppEntitlementRequest) GetRevokePolicyID ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetRevokePolicyID() *string

func (*CreateAppEntitlementRequest) GetRiskLevelValueID ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetRiskLevelValueID() *string

func (*CreateAppEntitlementRequest) GetSlug ¶ added in v0.4.14

func (o *CreateAppEntitlementRequest) GetSlug() *string

type CreateAppEntitlementRequestDurationUnset ¶ added in v0.4.14

type CreateAppEntitlementRequestDurationUnset struct {
}

type CreateAppEntitlementRequestPurpose ¶ added in v0.4.14

type CreateAppEntitlementRequestPurpose string

CreateAppEntitlementRequestPurpose - The purpose field.

const (
	CreateAppEntitlementRequestPurposeAppEntitlementPurposeValueUnspecified CreateAppEntitlementRequestPurpose = "APP_ENTITLEMENT_PURPOSE_VALUE_UNSPECIFIED"
	CreateAppEntitlementRequestPurposeAppEntitlementPurposeValueAssignment  CreateAppEntitlementRequestPurpose = "APP_ENTITLEMENT_PURPOSE_VALUE_ASSIGNMENT"
	CreateAppEntitlementRequestPurposeAppEntitlementPurposeValuePermission  CreateAppEntitlementRequestPurpose = "APP_ENTITLEMENT_PURPOSE_VALUE_PERMISSION"
)

func (CreateAppEntitlementRequestPurpose) ToPointer ¶ added in v0.4.14

func (*CreateAppEntitlementRequestPurpose) UnmarshalJSON ¶ added in v0.4.14

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

type CreateAppEntitlementResponse ¶ added in v0.4.14

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

The CreateAppEntitlementResponse message.

func (*CreateAppEntitlementResponse) GetAppEntitlementView ¶ added in v0.4.14

func (o *CreateAppEntitlementResponse) GetAppEntitlementView() *AppEntitlementView

func (*CreateAppEntitlementResponse) GetExpanded ¶ added in v0.4.14

type CreateAppEntitlementResponseExpanded ¶ added in v0.4.14

type CreateAppEntitlementResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string `json:"@type,omitempty"`
	AdditionalProperties any     `additionalProperties:"true" json:"-"`
}

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

func (*CreateAppEntitlementResponseExpanded) GetAdditionalProperties ¶ added in v0.4.14

func (o *CreateAppEntitlementResponseExpanded) GetAdditionalProperties() any

func (*CreateAppEntitlementResponseExpanded) GetAtType ¶ added in v0.4.14

func (CreateAppEntitlementResponseExpanded) MarshalJSON ¶ added in v0.4.14

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

func (*CreateAppEntitlementResponseExpanded) UnmarshalJSON ¶ added in v0.4.14

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

type CreateAppRequest ¶

type CreateAppRequest struct {
	// The certifyPolicyId field.
	CertifyPolicyID *string `json:"certifyPolicyId,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The grantPolicyId field.
	GrantPolicyID *string `json:"grantPolicyId,omitempty"`
	// The monthlyCostUsd field.
	MonthlyCostUsd *float64 `json:"monthlyCostUsd,omitempty"`
	// The owners field.
	Owners []string `json:"owners,omitempty"`
	// The revokePolicyId field.
	RevokePolicyID *string `json:"revokePolicyId,omitempty"`
}

CreateAppRequest - The CreateAppRequest message.

type CreateAppResponse ¶

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

CreateAppResponse - The CreateAppResponse message.

type CreateAttributeValueRequest ¶

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

CreateAttributeValueRequest - The CreateAttributeValueRequest message.

type CreateAttributeValueResponse ¶

type CreateAttributeValueResponse struct {
	// The AttributeValue message.
	AttributeValue *AttributeValue `json:"value,omitempty"`
}

CreateAttributeValueResponse - The CreateAttributeValueResponse message.

type CreateManuallyManagedAppResourceRequest ¶ added in v0.4.14

type CreateManuallyManagedAppResourceRequest struct {
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The resourceOwnerUserIds field.
	ResourceOwnerUserIds []string `json:"resourceOwnerUserIds,omitempty"`
}

The CreateManuallyManagedAppResourceRequest message.

func (*CreateManuallyManagedAppResourceRequest) GetDescription ¶ added in v0.4.14

func (o *CreateManuallyManagedAppResourceRequest) GetDescription() *string

func (*CreateManuallyManagedAppResourceRequest) GetDisplayName ¶ added in v0.4.14

func (o *CreateManuallyManagedAppResourceRequest) GetDisplayName() *string

func (*CreateManuallyManagedAppResourceRequest) GetResourceOwnerUserIds ¶ added in v0.4.14

func (o *CreateManuallyManagedAppResourceRequest) GetResourceOwnerUserIds() []string

type CreateManuallyManagedAppResourceResponse ¶ added in v0.4.14

type CreateManuallyManagedAppResourceResponse struct {
	// The app resource message is a single resource that can have entitlements.
	AppResource *AppResource `json:"appResource,omitempty"`
}

The CreateManuallyManagedAppResourceResponse message.

func (*CreateManuallyManagedAppResourceResponse) GetAppResource ¶ added in v0.4.14

type CreateManuallyManagedResourceTypeRequest ¶ added in v0.4.14

type CreateManuallyManagedResourceTypeRequest struct {
	// The name field.
	Name *string `json:"name,omitempty"`
	// The resourceType field.
	ResourceType *ResourceType `json:"resourceType,omitempty"`
}

The CreateManuallyManagedResourceTypeRequest message.

func (*CreateManuallyManagedResourceTypeRequest) GetName ¶ added in v0.4.14

func (*CreateManuallyManagedResourceTypeRequest) GetResourceType ¶ added in v0.4.14

type CreateManuallyManagedResourceTypeResponse ¶ added in v0.4.14

type CreateManuallyManagedResourceTypeResponse struct {
	// The AppResourceType is referenced by an app entitlement defining its resource types. Commonly things like Group or Role.
	AppResourceType *AppResourceType `json:"appResourceType,omitempty"`
	// The expanded field.
	Expanded []CreateManuallyManagedResourceTypeResponseExpanded `json:"expanded,omitempty"`
}

The CreateManuallyManagedResourceTypeResponse message.

func (*CreateManuallyManagedResourceTypeResponse) GetAppResourceType ¶ added in v0.4.14

func (*CreateManuallyManagedResourceTypeResponse) GetExpanded ¶ added in v0.4.14

type CreateManuallyManagedResourceTypeResponseExpanded ¶ added in v0.4.14

type CreateManuallyManagedResourceTypeResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string `json:"@type,omitempty"`
	AdditionalProperties any     `additionalProperties:"true" json:"-"`
}

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

func (*CreateManuallyManagedResourceTypeResponseExpanded) GetAdditionalProperties ¶ added in v0.4.14

func (o *CreateManuallyManagedResourceTypeResponseExpanded) GetAdditionalProperties() any

func (*CreateManuallyManagedResourceTypeResponseExpanded) GetAtType ¶ added in v0.4.14

func (CreateManuallyManagedResourceTypeResponseExpanded) MarshalJSON ¶ added in v0.4.14

func (*CreateManuallyManagedResourceTypeResponseExpanded) UnmarshalJSON ¶ added in v0.4.14

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]PolicySteps `json:"policySteps,omitempty"`
	// The enum of the policy type.
	PolicyType *CreatePolicyRequestPolicyType `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 rules field.
	Rules []Rule `json:"rules,omitempty"`
}

The CreatePolicyRequest message is used to create a new policy.

type CreatePolicyRequestPolicyType ¶

type CreatePolicyRequestPolicyType string

CreatePolicyRequestPolicyType - The enum of the policy type.

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

func (CreatePolicyRequestPolicyType) ToPointer ¶

func (*CreatePolicyRequestPolicyType) UnmarshalJSON ¶

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

type CreatePolicyResponse ¶

type CreatePolicyResponse struct {
	// The Policy message.
	Policy *Policy `json:"policy,omitempty"`
}

CreatePolicyResponse - The CreatePolicyResponse message.

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 DeleteAppEntitlementProxyRequest ¶ added in v0.4.14

type DeleteAppEntitlementProxyRequest struct {
	// The dstAppEntitlementId field.
	DstAppEntitlementID *string `json:"dstAppEntitlementId,omitempty"`
	// The dstAppId field.
	DstAppID *string `json:"dstAppId,omitempty"`
}

The DeleteAppEntitlementProxyRequest message.

func (*DeleteAppEntitlementProxyRequest) GetDstAppEntitlementID ¶ added in v0.4.14

func (o *DeleteAppEntitlementProxyRequest) GetDstAppEntitlementID() *string

func (*DeleteAppEntitlementProxyRequest) GetDstAppID ¶ added in v0.4.14

func (o *DeleteAppEntitlementProxyRequest) GetDstAppID() *string

type DeleteAppEntitlementProxyResponse ¶ added in v0.4.14

type DeleteAppEntitlementProxyResponse struct {
}

The DeleteAppEntitlementProxyResponse message.

type DeleteAppEntitlementRequest ¶ added in v0.4.14

type DeleteAppEntitlementRequest struct {
}

The DeleteAppEntitlementRequest message.

type DeleteAppEntitlementResponse ¶ added in v0.4.14

type DeleteAppEntitlementResponse struct {
}

The DeleteAppEntitlementResponse message.

type DeleteAppRequest ¶

type DeleteAppRequest struct {
}

DeleteAppRequest - The DeleteAppRequest message.

type DeleteAppResponse ¶

type DeleteAppResponse struct {
}

DeleteAppResponse - The DeleteAppResponse message.

type DeleteAttributeValueRequest ¶

type DeleteAttributeValueRequest struct {
}

DeleteAttributeValueRequest - The DeleteAttributeValueRequest message.

type DeleteAttributeValueResponse ¶

type DeleteAttributeValueResponse struct {
}

DeleteAttributeValueResponse - The DeleteAttributeValueResponse message.

type DeleteManuallyManagedAppResourceRequest ¶ added in v0.4.14

type DeleteManuallyManagedAppResourceRequest struct {
}

The DeleteManuallyManagedAppResourceRequest message.

type DeleteManuallyManagedAppResourceResponse ¶ added in v0.4.14

type DeleteManuallyManagedAppResourceResponse struct {
}

The DeleteManuallyManagedAppResourceResponse message.

type DeleteManuallyManagedResourceTypeRequest ¶ added in v0.4.14

type DeleteManuallyManagedResourceTypeRequest struct {
}

The DeleteManuallyManagedResourceTypeRequest message.

type DeleteManuallyManagedResourceTypeResponse ¶ added in v0.4.14

type DeleteManuallyManagedResourceTypeResponse struct {
}

The DeleteManuallyManagedResourceTypeResponse message.

type DeletePolicyRequest ¶

type DeletePolicyRequest struct {
}

DeletePolicyRequest - The DeletePolicyRequest message.

type DeletePolicyResponse ¶

type DeletePolicyResponse struct {
}

DeletePolicyResponse - The DeletePolicyResponse message.

type DeniedAction ¶

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

DeniedAction - The DeniedAction message.

type Directory ¶

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

Directory - The Directory message.

type DirectoryExpandMask ¶

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

DirectoryExpandMask - The DirectoryExpandMask message.

type DirectoryServiceCreateRequest ¶

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

DirectoryServiceCreateRequest - The DirectoryServiceCreateRequest message.

type DirectoryServiceCreateResponse ¶

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

DirectoryServiceCreateResponse - The DirectoryServiceCreateResponse message.

type DirectoryServiceCreateResponseExpanded ¶

type DirectoryServiceCreateResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (DirectoryServiceCreateResponseExpanded) MarshalJSON ¶

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

func (*DirectoryServiceCreateResponseExpanded) UnmarshalJSON ¶

func (c *DirectoryServiceCreateResponseExpanded) UnmarshalJSON(bs []byte) error

type DirectoryServiceDeleteRequest ¶

type DirectoryServiceDeleteRequest struct {
}

DirectoryServiceDeleteRequest - The DirectoryServiceDeleteRequest message.

type DirectoryServiceDeleteResponse ¶

type DirectoryServiceDeleteResponse struct {
}

DirectoryServiceDeleteResponse - The DirectoryServiceDeleteResponse message.

type DirectoryServiceGetResponse ¶

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

DirectoryServiceGetResponse - The DirectoryServiceGetResponse message.

type DirectoryServiceGetResponseExpanded ¶

type DirectoryServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (DirectoryServiceGetResponseExpanded) MarshalJSON ¶

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

func (*DirectoryServiceGetResponseExpanded) UnmarshalJSON ¶

func (c *DirectoryServiceGetResponseExpanded) UnmarshalJSON(bs []byte) error

type DirectoryServiceListResponse ¶

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

DirectoryServiceListResponse - The DirectoryServiceListResponse message.

type DirectoryServiceListResponseExpanded ¶

type DirectoryServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (DirectoryServiceListResponseExpanded) MarshalJSON ¶

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

func (*DirectoryServiceListResponseExpanded) UnmarshalJSON ¶

func (c *DirectoryServiceListResponseExpanded) UnmarshalJSON(bs []byte) error

type DirectoryView ¶

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

DirectoryView - The DirectoryView message.

type EntitlementOwnerApproval ¶

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

EntitlementOwnerApproval - The EntitlementOwnerApproval message.

type 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 field.
	Description *string `json:"description,omitempty"`
	// The errorCode field.
	ErrorCode *string    `json:"errorCode,omitempty"`
	ErroredAt *time.Time `json:"erroredAt,omitempty"`
}

ErroredAction - The ErroredAction message.

type 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 externalRefSource field.
	ExternalRefSource *ExternalRefExternalRefSource `json:"externalRefSource,omitempty"`
	// The name field.
	Name *string `json:"name,omitempty"`
	// The url field.
	URL *string `json:"url,omitempty"`
}

ExternalRef - The ExternalRef message.

type ExternalRefExternalRefSource ¶

type ExternalRefExternalRefSource string

ExternalRefExternalRefSource - The externalRefSource field.

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

func (ExternalRefExternalRefSource) ToPointer ¶

func (*ExternalRefExternalRefSource) UnmarshalJSON ¶

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

type ExternalTicketProvision ¶ added in v0.4.14

type ExternalTicketProvision struct {
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The connectorId field.
	ConnectorID *string `json:"connectorId,omitempty"`
	// The externalTicketProvisionerConfigId field.
	ExternalTicketProvisionerConfigID *string `json:"externalTicketProvisionerConfigId,omitempty"`
	// This field indicates a text body of instructions for the provisioner to indicate.
	Instructions *string `json:"instructions,omitempty"`
}

ExternalTicketProvision - This provision step indicates that we should check an external ticket to provision this entitlement

func (*ExternalTicketProvision) GetAppID ¶ added in v0.4.14

func (o *ExternalTicketProvision) GetAppID() *string

func (*ExternalTicketProvision) GetConnectorID ¶ added in v0.4.14

func (o *ExternalTicketProvision) GetConnectorID() *string

func (*ExternalTicketProvision) GetExternalTicketProvisionerConfigID ¶ added in v0.4.14

func (o *ExternalTicketProvision) GetExternalTicketProvisionerConfigID() *string

func (*ExternalTicketProvision) GetInstructions ¶ added in v0.4.14

func (o *ExternalTicketProvision) GetInstructions() *string

type FacetCategory ¶

type FacetCategory struct {
	// The FacetRangeItem message.
	FacetRangeItem *FacetRangeItem `json:"range,omitempty"`
	// The FacetValueItem message.
	FacetValueItem *FacetValueItem `json:"value,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The iconUrl field.
	IconURL *string `json:"iconUrl,omitempty"`
	// The param field.
	Param *string `json:"param,omitempty"`
}

FacetCategory - The FacetCategory message.

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

  • value
  • range

type FacetRange ¶

type FacetRange struct {
	// The count field.
	Count *string `json:"count,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The from field.
	From *string `json:"from,omitempty"`
	// The iconUrl field.
	IconURL *string `json:"iconUrl,omitempty"`
	// The to field.
	To *string `json:"to,omitempty"`
}

FacetRange - The FacetRange message.

type FacetRangeItem ¶

type FacetRangeItem struct {
	// The ranges field.
	Ranges []FacetRange `json:"ranges,omitempty"`
}

FacetRangeItem - The FacetRangeItem message.

type FacetValue ¶

type FacetValue struct {
	// The count field.
	Count *string `json:"count,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The iconUrl field.
	IconURL *string `json:"iconUrl,omitempty"`
	// The value field.
	Value *string `json:"value,omitempty"`
}

FacetValue - The FacetValue message.

type FacetValueItem ¶

type FacetValueItem struct {
	// The values field.
	Values []FacetValue `json:"values,omitempty"`
}

FacetValueItem - The FacetValueItem message.

type Facets ¶

type Facets struct {
	// The count field.
	Count *string `json:"count,omitempty"`
	// The facets field.
	Facets []FacetCategory `json:"facets,omitempty"`
}

Facets - The Facets message.

type GetAWSExternalIDResponse ¶

type GetAWSExternalIDResponse struct {
	// The AWSExternalID message.
	AWSExternalID *AWSExternalID `json:"awsExternalId,omitempty"`
}

The GetAWSExternalIDResponse message.

func (*GetAWSExternalIDResponse) GetAWSExternalID ¶

func (o *GetAWSExternalIDResponse) GetAWSExternalID() *AWSExternalID

type GetAppEntitlementProxyResponse ¶ added in v0.4.14

type GetAppEntitlementProxyResponse struct {
	// The AppEntitlementProxyView message.
	AppEntitlementProxyView *AppEntitlementProxyView `json:"appProxyEntitlementView,omitempty"`
	// The expanded field.
	Expanded []GetAppEntitlementProxyResponseExpanded `json:"expanded,omitempty"`
}

The GetAppEntitlementProxyResponse message.

func (*GetAppEntitlementProxyResponse) GetAppEntitlementProxyView ¶ added in v0.4.14

func (o *GetAppEntitlementProxyResponse) GetAppEntitlementProxyView() *AppEntitlementProxyView

func (*GetAppEntitlementProxyResponse) GetExpanded ¶ added in v0.4.14

type GetAppEntitlementProxyResponseExpanded ¶ added in v0.4.14

type GetAppEntitlementProxyResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string `json:"@type,omitempty"`
	AdditionalProperties any     `additionalProperties:"true" json:"-"`
}

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

func (*GetAppEntitlementProxyResponseExpanded) GetAdditionalProperties ¶ added in v0.4.14

func (o *GetAppEntitlementProxyResponseExpanded) GetAdditionalProperties() any

func (*GetAppEntitlementProxyResponseExpanded) GetAtType ¶ added in v0.4.14

func (GetAppEntitlementProxyResponseExpanded) MarshalJSON ¶ added in v0.4.14

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

func (*GetAppEntitlementProxyResponseExpanded) UnmarshalJSON ¶ added in v0.4.14

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

type GetAppEntitlementResponse ¶

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

GetAppEntitlementResponse - The GetAppEntitlementResponse message.

type GetAppEntitlementResponseExpanded ¶

type GetAppEntitlementResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (GetAppEntitlementResponseExpanded) MarshalJSON ¶

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

func (*GetAppEntitlementResponseExpanded) UnmarshalJSON ¶

func (c *GetAppEntitlementResponseExpanded) UnmarshalJSON(bs []byte) error

type GetAppResponse ¶

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

GetAppResponse - The GetAppResponse message.

type GetAppUsageControlsResponse ¶

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

GetAppUsageControlsResponse - The GetAppUsageControlsResponse message.

type GetAttributeValueResponse ¶

type GetAttributeValueResponse struct {
	// The AttributeValue message.
	AttributeValue *AttributeValue `json:"value,omitempty"`
}

GetAttributeValueResponse - The GetAttributeValueResponse message.

type GetPolicyResponse ¶

type GetPolicyResponse struct {
	// The Policy message.
	Policy *Policy `json:"policy,omitempty"`
}

GetPolicyResponse - The GetPolicyResponse message.

type GetRolesResponse ¶

type GetRolesResponse struct {
	// The Role message.
	Role *Role `json:"role,omitempty"`
}

GetRolesResponse - The GetRolesResponse message.

type IntrospectResponse ¶

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

IntrospectResponse - The IntrospectResponse message.

type ListAppEntitlementOwnersResponse ¶

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

ListAppEntitlementOwnersResponse - The ListAppEntitlementOwnersResponse message.

type ListAppEntitlementUsersResponse ¶

type ListAppEntitlementUsersResponse struct {
	// The expanded field.
	Expanded []ListAppEntitlementUsersResponseExpanded `json:"expanded,omitempty"`
	// The list field.
	List []AppEntitlementUserView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

ListAppEntitlementUsersResponse - The ListAppEntitlementUsersResponse message.

type ListAppEntitlementUsersResponseExpanded ¶

type ListAppEntitlementUsersResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ListAppEntitlementUsersResponseExpanded) MarshalJSON ¶

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

func (*ListAppEntitlementUsersResponseExpanded) UnmarshalJSON ¶

func (c *ListAppEntitlementUsersResponseExpanded) UnmarshalJSON(bs []byte) error

type ListAppEntitlementsResponse ¶

type ListAppEntitlementsResponse struct {
	// The expanded field.
	Expanded []ListAppEntitlementsResponseExpanded `json:"expanded,omitempty"`
	// The list field.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

ListAppEntitlementsResponse - The ListAppEntitlementsResponse message.

type ListAppEntitlementsResponseExpanded ¶

type ListAppEntitlementsResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (ListAppEntitlementsResponseExpanded) MarshalJSON ¶

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

func (*ListAppEntitlementsResponseExpanded) UnmarshalJSON ¶

func (c *ListAppEntitlementsResponseExpanded) UnmarshalJSON(bs []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"`
}

ListAppOwnersResponse - The ListAppOwnersResponse message.

type ListAppResourceOwnersResponse ¶

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

ListAppResourceOwnersResponse - The ListAppResourceOwnersResponse message.

type ListAppUsersForIdentityWithGrantResponse ¶

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

ListAppUsersForIdentityWithGrantResponse - The ListAppUsersForIdentityWithGrantResponse message.

type ListAppsResponse ¶

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

ListAppsResponse - The ListAppsResponse message.

type ListAttributeTypesResponse ¶

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

ListAttributeTypesResponse - The ListAttributeTypesResponse message.

type ListAttributeValuesResponse ¶

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

ListAttributeValuesResponse - The ListAttributeValuesResponse message.

type ListPolicyResponse ¶

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

ListPolicyResponse - The ListPolicyResponse message.

type ListRolesResponse ¶

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

ListRolesResponse - The ListRolesResponse message.

type ManagerApproval ¶

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

ManagerApproval - The ManagerApproval message.

type 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 {
	// The instructions field.
	Instructions *string `json:"instructions,omitempty"`
	// The userIds field.
	UserIds []string `json:"userIds,omitempty"`
}

ManualProvision - The ManualProvision message.

type OAuth2AuthorizedAs ¶

type OAuth2AuthorizedAs struct {
	// The authEmail field.
	AuthEmail    *string    `json:"authEmail,omitempty"`
	AuthorizedAt *time.Time `json:"authorizedAt,omitempty"`
}

OAuth2AuthorizedAs - The OAuth2AuthorizedAs message.

type PersonalClient ¶

type PersonalClient struct {
	// The allowSourceCidr field.
	AllowSourceCidr []string `json:"allowSourceCidr,omitempty"`
	// The clientId field.
	ClientID  *string    `json:"clientId,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The displayName field.
	DisplayName *string    `json:"displayName,omitempty"`
	ExpiresTime *time.Time `json:"expiresTime,omitempty"`
	// The id field.
	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 userId field.
	UserID *string `json:"userId,omitempty"`
}

PersonalClient - The PersonalClient message.

type PersonalClientServiceCreateRequest ¶

type PersonalClientServiceCreateRequest struct {
	// The allowSourceCidr field.
	AllowSourceCidr []string `json:"allowSourceCidr,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	Expires     *string `json:"expires,omitempty"`
	// The scopedRoles field.
	ScopedRoles []string `json:"scopedRoles,omitempty"`
}

PersonalClientServiceCreateRequest - The PersonalClientServiceCreateRequest message.

type PersonalClientServiceCreateResponse ¶

type PersonalClientServiceCreateResponse struct {
	// The PersonalClient message.
	PersonalClient *PersonalClient `json:"client,omitempty"`
	// The clientSecret field.
	ClientSecret *string `json:"clientSecret,omitempty"`
}

PersonalClientServiceCreateResponse - The PersonalClientServiceCreateResponse message.

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 *PolicyType `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 refers 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() *PolicyType

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

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]PolicySteps `json:"policySteps,omitempty"`
	// Indicates the type of this policy. Can also be used to get the value from policySteps.
	PolicyType *PolicyType `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 refers 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]PolicySteps

func (*PolicyInput) GetPolicyType ¶

func (o *PolicyInput) GetPolicyType() *PolicyType

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

PolicyInstance - The PolicyInstance message.

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 - The PolicyPostActions message.

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

  • certifyRemediateImmediately

type PolicyStep ¶

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 PolicyStepInstance ¶

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

PolicyStepInstance - The PolicyStepInstance message.

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

  • approval
  • provision

type PolicyStepInstanceState ¶

type PolicyStepInstanceState string

PolicyStepInstanceState - The state field.

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

func (PolicyStepInstanceState) ToPointer ¶

func (*PolicyStepInstanceState) UnmarshalJSON ¶

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

type PolicySteps ¶

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

PolicySteps - The PolicySteps message.

type PolicyType ¶

type PolicyType string

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

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 Provision ¶

type Provision struct {
}

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

type ProvisionInstance ¶

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

ProvisionInstance - The ProvisionInstance message.

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

  • completed
  • cancelled
  • errored
  • reassignedByError

type ProvisionInstanceState ¶

type ProvisionInstanceState string

ProvisionInstanceState - The state field.

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

func (ProvisionInstanceState) ToPointer ¶

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"`
	// This provision step indicates that we should check an external ticket to provision this entitlement
	ExternalTicketProvision *ExternalTicketProvision `json:"externalTicket,omitempty"`
	// Manual provisioning indicates that a human must intervene for the provisioning of this step.
	ManualProvision *ManualProvision `json:"manual,omitempty"`
	// MultiStep indicates that this provision step has multiple steps to process.
	MultiStep any `json:"multiStep,omitempty"`
	// This provision step indicates that a webhook should be called to provision this entitlement.
	WebhookProvision *WebhookProvision `json:"webhook,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
  • webhook
  • multiStep
  • externalTicket

func (*ProvisionPolicy) GetConnectorProvision ¶

func (o *ProvisionPolicy) GetConnectorProvision() *ConnectorProvision

func (*ProvisionPolicy) GetDelegatedProvision ¶

func (o *ProvisionPolicy) GetDelegatedProvision() *DelegatedProvision

func (*ProvisionPolicy) GetExternalTicketProvision ¶ added in v0.4.14

func (o *ProvisionPolicy) GetExternalTicketProvision() *ExternalTicketProvision

func (*ProvisionPolicy) GetManualProvision ¶

func (o *ProvisionPolicy) GetManualProvision() *ManualProvision

func (*ProvisionPolicy) GetMultiStep ¶ added in v0.4.14

func (o *ProvisionPolicy) GetMultiStep() any

func (*ProvisionPolicy) GetWebhookProvision ¶

func (o *ProvisionPolicy) GetWebhookProvision() *WebhookProvision

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 Purpose ¶ added in v0.4.14

type Purpose string

Purpose - The purpose field.

const (
	PurposeAppEntitlementPurposeValueUnspecified Purpose = "APP_ENTITLEMENT_PURPOSE_VALUE_UNSPECIFIED"
	PurposeAppEntitlementPurposeValueAssignment  Purpose = "APP_ENTITLEMENT_PURPOSE_VALUE_ASSIGNMENT"
	PurposeAppEntitlementPurposeValuePermission  Purpose = "APP_ENTITLEMENT_PURPOSE_VALUE_PERMISSION"
)

func (Purpose) ToPointer ¶ added in v0.4.14

func (e Purpose) ToPointer() *Purpose

func (*Purpose) UnmarshalJSON ¶ added in v0.4.14

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

type ReassignedAction ¶

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

ReassignedAction - The ReassignedAction message.

type ReassignedByErrorAction ¶

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

ReassignedByErrorAction - The ReassignedByErrorAction message.

type 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 RemoveAppEntitlementOwnerRequest ¶

type RemoveAppEntitlementOwnerRequest struct {
}

RemoveAppEntitlementOwnerRequest - The RemoveAppEntitlementOwnerRequest message.

type RemoveAppEntitlementOwnerResponse ¶

type RemoveAppEntitlementOwnerResponse struct {
}

RemoveAppEntitlementOwnerResponse - The RemoveAppEntitlementOwnerResponse message.

type RemoveAppOwnerRequest ¶

type RemoveAppOwnerRequest struct {
}

RemoveAppOwnerRequest - The RemoveAppOwnerRequest message.

type RemoveAppOwnerResponse ¶

type RemoveAppOwnerResponse struct {
}

RemoveAppOwnerResponse - The RemoveAppOwnerResponse message.

type RequestCatalog ¶

type RequestCatalog struct {
	// The accessEntitlements field.
	AccessEntitlements []AppEntitlement `json:"accessEntitlements,omitempty"`
	// The appIds field.
	AppIds    []string   `json:"appIds,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The createdByUserId field.
	CreatedByUserID *string    `json:"createdByUserId,omitempty"`
	DeletedAt       *time.Time `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The published field.
	Published *bool      `json:"published,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The visibleToEveryone field.
	VisibleToEveryone *bool `json:"visibleToEveryone,omitempty"`
}

RequestCatalog - The RequestCatalog message.

type RequestCatalogExpandMask ¶

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

RequestCatalogExpandMask - The RequestCatalogExpandMask message.

type RequestCatalogManagementServiceAddAccessEntitlementsRequest ¶

type RequestCatalogManagementServiceAddAccessEntitlementsRequest struct {
	// The accessEntitlements field.
	AccessEntitlements []AppEntitlementRef `json:"accessEntitlements,omitempty"`
}

RequestCatalogManagementServiceAddAccessEntitlementsRequest - The RequestCatalogManagementServiceAddAccessEntitlementsRequest message.

type RequestCatalogManagementServiceAddAccessEntitlementsResponse ¶

type RequestCatalogManagementServiceAddAccessEntitlementsResponse struct {
}

RequestCatalogManagementServiceAddAccessEntitlementsResponse - The RequestCatalogManagementServiceAddAccessEntitlementsResponse message.

type RequestCatalogManagementServiceAddAppEntitlementsRequest ¶

type RequestCatalogManagementServiceAddAppEntitlementsRequest struct {
	// The appEntitlements field.
	AppEntitlements []AppEntitlementRef `json:"appEntitlements,omitempty"`
}

RequestCatalogManagementServiceAddAppEntitlementsRequest - The RequestCatalogManagementServiceAddAppEntitlementsRequest message.

type RequestCatalogManagementServiceAddAppEntitlementsResponse ¶

type RequestCatalogManagementServiceAddAppEntitlementsResponse struct {
}

RequestCatalogManagementServiceAddAppEntitlementsResponse - The RequestCatalogManagementServiceAddAppEntitlementsResponse message.

type RequestCatalogManagementServiceCreateRequest ¶

type RequestCatalogManagementServiceCreateRequest struct {
	// The RequestCatalogExpandMask message.
	RequestCatalogExpandMask *RequestCatalogExpandMask `json:"expandMask,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The ownerIds field.
	OwnerIds []string `json:"ownerIds,omitempty"`
	// The published field.
	Published *bool `json:"published,omitempty"`
	// The visibleToEveryone field.
	VisibleToEveryone *bool `json:"visibleToEveryone,omitempty"`
}

RequestCatalogManagementServiceCreateRequest - The RequestCatalogManagementServiceCreateRequest message.

type RequestCatalogManagementServiceDeleteRequest ¶

type RequestCatalogManagementServiceDeleteRequest struct {
}

RequestCatalogManagementServiceDeleteRequest - The RequestCatalogManagementServiceDeleteRequest message.

type RequestCatalogManagementServiceDeleteResponse ¶

type RequestCatalogManagementServiceDeleteResponse struct {
}

RequestCatalogManagementServiceDeleteResponse - The RequestCatalogManagementServiceDeleteResponse message.

type RequestCatalogManagementServiceGetResponse ¶

type RequestCatalogManagementServiceGetResponse struct {
	// The RequestCatalogView message.
	RequestCatalogView *RequestCatalogView `json:"requestCatalogView,omitempty"`
	// The expanded field.
	Expanded []RequestCatalogManagementServiceGetResponseExpanded `json:"expanded,omitempty"`
}

RequestCatalogManagementServiceGetResponse - The RequestCatalogManagementServiceGetResponse message.

type RequestCatalogManagementServiceGetResponseExpanded ¶

type RequestCatalogManagementServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (RequestCatalogManagementServiceGetResponseExpanded) MarshalJSON ¶

func (*RequestCatalogManagementServiceGetResponseExpanded) UnmarshalJSON ¶

type RequestCatalogManagementServiceListEntitlementsForAccessResponse ¶

type RequestCatalogManagementServiceListEntitlementsForAccessResponse struct {
	// The expanded field.
	Expanded []RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded `json:"expanded,omitempty"`
	// The list field.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

RequestCatalogManagementServiceListEntitlementsForAccessResponse - The RequestCatalogManagementServiceListEntitlementsForAccessResponse message.

type RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded ¶

type RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded) MarshalJSON ¶

func (*RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded) UnmarshalJSON ¶

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponse ¶

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponse struct {
	// The expanded field.
	Expanded []RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded `json:"expanded,omitempty"`
	// The list field.
	List []AppEntitlementView `json:"list,omitempty"`
	// The nextPageToken field.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

RequestCatalogManagementServiceListEntitlementsPerCatalogResponse - The RequestCatalogManagementServiceListEntitlementsPerCatalogResponse message.

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded ¶

type RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded) MarshalJSON ¶

func (*RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded) UnmarshalJSON ¶

type RequestCatalogManagementServiceRemoveAccessEntitlementsRequest ¶

type RequestCatalogManagementServiceRemoveAccessEntitlementsRequest struct {
	// The accessEntitlements field.
	AccessEntitlements []AppEntitlementRef `json:"accessEntitlements,omitempty"`
}

RequestCatalogManagementServiceRemoveAccessEntitlementsRequest - The RequestCatalogManagementServiceRemoveAccessEntitlementsRequest message.

type RequestCatalogManagementServiceRemoveAccessEntitlementsResponse ¶

type RequestCatalogManagementServiceRemoveAccessEntitlementsResponse struct {
}

RequestCatalogManagementServiceRemoveAccessEntitlementsResponse - The RequestCatalogManagementServiceRemoveAccessEntitlementsResponse message.

type RequestCatalogManagementServiceRemoveAppEntitlementsRequest ¶

type RequestCatalogManagementServiceRemoveAppEntitlementsRequest struct {
	// The appEntitlements field.
	AppEntitlements []AppEntitlementRef `json:"appEntitlements,omitempty"`
}

RequestCatalogManagementServiceRemoveAppEntitlementsRequest - The RequestCatalogManagementServiceRemoveAppEntitlementsRequest message.

type RequestCatalogManagementServiceRemoveAppEntitlementsResponse ¶

type RequestCatalogManagementServiceRemoveAppEntitlementsResponse struct {
}

RequestCatalogManagementServiceRemoveAppEntitlementsResponse - The RequestCatalogManagementServiceRemoveAppEntitlementsResponse message.

type RequestCatalogManagementServiceUpdateRequest ¶

type RequestCatalogManagementServiceUpdateRequest struct {
	// The RequestCatalog message.
	RequestCatalog *RequestCatalog `json:"catalog,omitempty"`
	// The RequestCatalogExpandMask message.
	RequestCatalogExpandMask *RequestCatalogExpandMask `json:"expandMask,omitempty"`
	UpdateMask               *string                   `json:"updateMask,omitempty"`
}

RequestCatalogManagementServiceUpdateRequest - The RequestCatalogManagementServiceUpdateRequest message.

type RequestCatalogSearchServiceSearchEntitlementsRequest ¶

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

RequestCatalogSearchServiceSearchEntitlementsRequest - The RequestCatalogSearchServiceSearchEntitlementsRequest message.

type RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus ¶

type RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus string

RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus - The grantedStatus field.

const (
	RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatusUnspecified RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus = "UNSPECIFIED"
	RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatusAll         RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus = "ALL"
	RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatusGranted     RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus = "GRANTED"
	RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatusNotGranted  RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus = "NOT_GRANTED"
)

func (RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus) ToPointer ¶

func (*RequestCatalogSearchServiceSearchEntitlementsRequestGrantedStatus) UnmarshalJSON ¶

type RequestCatalogSearchServiceSearchEntitlementsResponse ¶

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

RequestCatalogSearchServiceSearchEntitlementsResponse - The RequestCatalogSearchServiceSearchEntitlementsResponse message.

type RequestCatalogSearchServiceSearchEntitlementsResponseExpanded ¶

type RequestCatalogSearchServiceSearchEntitlementsResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (RequestCatalogSearchServiceSearchEntitlementsResponseExpanded) MarshalJSON ¶

func (*RequestCatalogSearchServiceSearchEntitlementsResponseExpanded) UnmarshalJSON ¶

type RequestCatalogView ¶

type RequestCatalogView struct {
	// The RequestCatalog message.
	RequestCatalog *RequestCatalog `json:"requestCatalog,omitempty"`
	// The accessEntitlementsPath field.
	AccessEntitlementsPath *string `json:"accessEntitlementsPath,omitempty"`
	// The appPaths field.
	AppPaths *string `json:"appPaths,omitempty"`
	// The createdByUserPath field.
	CreatedByUserPath *string `json:"createdByUserPath,omitempty"`
}

RequestCatalogView - The RequestCatalogView message.

type ResourceType ¶ added in v0.4.14

type ResourceType string

ResourceType - The resourceType field.

const (
	ResourceTypeRole    ResourceType = "ROLE"
	ResourceTypeGroup   ResourceType = "GROUP"
	ResourceTypeLicense ResourceType = "LICENSE"
	ResourceTypeProject ResourceType = "PROJECT"
	ResourceTypeCatalog ResourceType = "CATALOG"
	ResourceTypeCustom  ResourceType = "CUSTOM"
)

func (ResourceType) ToPointer ¶ added in v0.4.14

func (e ResourceType) ToPointer() *ResourceType

func (*ResourceType) UnmarshalJSON ¶ added in v0.4.14

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

type RestartAction ¶

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

RestartAction - The RestartAction message.

type Role ¶

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

Role - The Role message.

type 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 {
	// The appIds field.
	AppIds []string `json:"appIds,omitempty"`
	// The excludeResourceTypeIds field.
	ExcludeResourceTypeIds []string `json:"excludeResourceTypeIds,omitempty"`
	// The excludeResourceTypeTraitIds field.
	ExcludeResourceTypeTraitIds []string `json:"excludeResourceTypeTraitIds,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
	// The resourceTypeIds field.
	ResourceTypeIds []string `json:"resourceTypeIds,omitempty"`
	// The resourceTypeTraitIds field.
	ResourceTypeTraitIds []string `json:"resourceTypeTraitIds,omitempty"`
}

SearchAppResourceTypesRequest - The SearchAppResourceTypesRequest message.

type SearchAppResourceTypesResponse ¶

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

SearchAppResourceTypesResponse - The SearchAppResourceTypesResponse message.

type SearchAppsRequest ¶

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

SearchAppsRequest - The SearchAppsRequest message.

type SearchAppsResponse ¶

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

SearchAppsResponse - The SearchAppsResponse message.

type 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.

type SearchAttributeValuesResponse ¶

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

SearchAttributeValuesResponse - The SearchAttributeValuesResponse message.

type SearchPoliciesRequest ¶

type SearchPoliciesRequest struct {
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The pageSize field.
	PageSize *float64 `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The policyTypes field.
	PolicyTypes []SearchPoliciesRequestPolicyTypes `json:"policyTypes,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
}

SearchPoliciesRequest - The SearchPoliciesRequest message.

type SearchPoliciesRequestPolicyTypes ¶

type SearchPoliciesRequestPolicyTypes string
const (
	SearchPoliciesRequestPolicyTypesPolicyTypeUnspecified   SearchPoliciesRequestPolicyTypes = "POLICY_TYPE_UNSPECIFIED"
	SearchPoliciesRequestPolicyTypesPolicyTypeGrant         SearchPoliciesRequestPolicyTypes = "POLICY_TYPE_GRANT"
	SearchPoliciesRequestPolicyTypesPolicyTypeRevoke        SearchPoliciesRequestPolicyTypes = "POLICY_TYPE_REVOKE"
	SearchPoliciesRequestPolicyTypesPolicyTypeCertify       SearchPoliciesRequestPolicyTypes = "POLICY_TYPE_CERTIFY"
	SearchPoliciesRequestPolicyTypesPolicyTypeAccessRequest SearchPoliciesRequestPolicyTypes = "POLICY_TYPE_ACCESS_REQUEST"
	SearchPoliciesRequestPolicyTypesPolicyTypeProvision     SearchPoliciesRequestPolicyTypes = "POLICY_TYPE_PROVISION"
)

func (SearchPoliciesRequestPolicyTypes) ToPointer ¶

func (*SearchPoliciesRequestPolicyTypes) UnmarshalJSON ¶

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

type SearchUsersRequest ¶

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

SearchUsersRequest - The SearchUsersRequest message.

type SearchUsersRequestUserStatuses ¶

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

func (SearchUsersRequestUserStatuses) ToPointer ¶

func (*SearchUsersRequestUserStatuses) UnmarshalJSON ¶

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

type SearchUsersResponse ¶

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

SearchUsersResponse - The SearchUsersResponse message.

type SearchUsersResponseExpanded ¶

type SearchUsersResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (SearchUsersResponseExpanded) MarshalJSON ¶

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

func (*SearchUsersResponseExpanded) UnmarshalJSON ¶

func (c *SearchUsersResponseExpanded) UnmarshalJSON(bs []byte) error

type SelfApproval ¶

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

SelfApproval - The SelfApproval message.

type 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.

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.

type SetAppOwnersResponse ¶

type SetAppOwnersResponse struct {
}

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

type Task ¶

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

Task - The Task message.

type TaskActions ¶

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

func (TaskActions) ToPointer ¶

func (e TaskActions) ToPointer() *TaskActions

func (*TaskActions) UnmarshalJSON ¶

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

type TaskActionsServiceApproveRequest ¶

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

TaskActionsServiceApproveRequest - The TaskActionsServiceApproveRequest message.

type TaskActionsServiceApproveResponse ¶

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

TaskActionsServiceApproveResponse - The TaskActionsServiceApproveResponse message.

type TaskActionsServiceApproveResponseExpanded ¶

type TaskActionsServiceApproveResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskActionsServiceApproveResponseExpanded) MarshalJSON ¶

func (*TaskActionsServiceApproveResponseExpanded) UnmarshalJSON ¶

func (c *TaskActionsServiceApproveResponseExpanded) UnmarshalJSON(bs []byte) error

type TaskActionsServiceCommentRequest ¶

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

TaskActionsServiceCommentRequest - The TaskActionsServiceCommentRequest message.

type TaskActionsServiceCommentResponse ¶

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

TaskActionsServiceCommentResponse - The TaskActionsServiceCommentResponse message.

type TaskActionsServiceCommentResponseExpanded ¶

type TaskActionsServiceCommentResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskActionsServiceCommentResponseExpanded) MarshalJSON ¶

func (*TaskActionsServiceCommentResponseExpanded) UnmarshalJSON ¶

func (c *TaskActionsServiceCommentResponseExpanded) UnmarshalJSON(bs []byte) error

type TaskActionsServiceDenyRequest ¶

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

TaskActionsServiceDenyRequest - The TaskActionsServiceDenyRequest message.

type TaskActionsServiceDenyResponse ¶

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

TaskActionsServiceDenyResponse - The TaskActionsServiceDenyResponse message.

type TaskActionsServiceDenyResponseExpanded ¶

type TaskActionsServiceDenyResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskActionsServiceDenyResponseExpanded) MarshalJSON ¶

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

func (*TaskActionsServiceDenyResponseExpanded) UnmarshalJSON ¶

func (c *TaskActionsServiceDenyResponseExpanded) UnmarshalJSON(bs []byte) error

type TaskActionsServiceEscalateToEmergencyAccessRequest ¶

type TaskActionsServiceEscalateToEmergencyAccessRequest struct {
	// The comment field.
	Comment *string `json:"comment,omitempty"`
	// 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 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 comment attached to the request.
	Comment *string `json:"comment,omitempty"`
	// 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 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 TaskAnnotations ¶

type TaskAnnotations struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskAnnotations) MarshalJSON ¶

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

func (*TaskAnnotations) UnmarshalJSON ¶

func (c *TaskAnnotations) UnmarshalJSON(bs []byte) error

type TaskExpandMask ¶

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

TaskExpandMask - Make sure to update the TicketExpandMask

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 TaskProcessing ¶

type TaskProcessing string

TaskProcessing - The processing field.

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

func (TaskProcessing) ToPointer ¶

func (e TaskProcessing) ToPointer() *TaskProcessing

func (*TaskProcessing) UnmarshalJSON ¶

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

type TaskRef ¶

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

TaskRef - The TaskRef message.

type TaskRevokeSource ¶

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

TaskRevokeSource - The TaskRevokeSource message.

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

  • review
  • request
  • expired
  • nonUsage

type TaskRevokeSourceExpired ¶

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

TaskRevokeSourceExpired - The TaskRevokeSourceExpired message.

type TaskRevokeSourceNonUsage ¶

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

TaskRevokeSourceNonUsage - The TaskRevokeSourceNonUsage message.

type TaskRevokeSourceRequest ¶

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

TaskRevokeSourceRequest - The TaskRevokeSourceRequest message.

type TaskRevokeSourceReview ¶

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

TaskRevokeSourceReview - The TaskRevokeSourceReview message.

type TaskSearchRequest ¶

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

TaskSearchRequest - The TaskSearchRequest message.

type TaskSearchRequestCurrentStep ¶

type TaskSearchRequestCurrentStep string

TaskSearchRequestCurrentStep - The currentStep field.

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

func (TaskSearchRequestCurrentStep) ToPointer ¶

func (*TaskSearchRequestCurrentStep) UnmarshalJSON ¶

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

type TaskSearchRequestEmergencyStatus ¶

type TaskSearchRequestEmergencyStatus string

TaskSearchRequestEmergencyStatus - The emergencyStatus field.

const (
	TaskSearchRequestEmergencyStatusUnspecified  TaskSearchRequestEmergencyStatus = "UNSPECIFIED"
	TaskSearchRequestEmergencyStatusAll          TaskSearchRequestEmergencyStatus = "ALL"
	TaskSearchRequestEmergencyStatusNonEmergency TaskSearchRequestEmergencyStatus = "NON_EMERGENCY"
	TaskSearchRequestEmergencyStatusEmergency    TaskSearchRequestEmergencyStatus = "EMERGENCY"
)

func (TaskSearchRequestEmergencyStatus) ToPointer ¶

func (*TaskSearchRequestEmergencyStatus) UnmarshalJSON ¶

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

type TaskSearchRequestSortBy ¶

type TaskSearchRequestSortBy string

TaskSearchRequestSortBy - The sortBy field.

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

func (TaskSearchRequestSortBy) ToPointer ¶

func (*TaskSearchRequestSortBy) UnmarshalJSON ¶

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

type TaskSearchRequestTaskStates ¶

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

func (TaskSearchRequestTaskStates) ToPointer ¶

func (*TaskSearchRequestTaskStates) UnmarshalJSON ¶

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

type TaskSearchResponse ¶

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

TaskSearchResponse - The TaskSearchResponse message.

type TaskSearchResponseExpanded ¶

type TaskSearchResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskSearchResponseExpanded) MarshalJSON ¶

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

func (*TaskSearchResponseExpanded) UnmarshalJSON ¶

func (c *TaskSearchResponseExpanded) UnmarshalJSON(bs []byte) error

type TaskServiceCreateGrantRequest ¶

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

TaskServiceCreateGrantRequest - The TaskServiceCreateGrantRequest message.

type TaskServiceCreateGrantResponse ¶

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

TaskServiceCreateGrantResponse - The TaskServiceCreateGrantResponse message.

type TaskServiceCreateGrantResponseExpanded ¶

type TaskServiceCreateGrantResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskServiceCreateGrantResponseExpanded) MarshalJSON ¶

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

func (*TaskServiceCreateGrantResponseExpanded) UnmarshalJSON ¶

func (c *TaskServiceCreateGrantResponseExpanded) UnmarshalJSON(bs []byte) error

type TaskServiceCreateRevokeRequest ¶

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

TaskServiceCreateRevokeRequest - The TaskServiceCreateRevokeRequest message.

type TaskServiceCreateRevokeResponse ¶

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

TaskServiceCreateRevokeResponse - The TaskServiceCreateRevokeResponse message.

type TaskServiceCreateRevokeResponseExpanded ¶

type TaskServiceCreateRevokeResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskServiceCreateRevokeResponseExpanded) MarshalJSON ¶

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

func (*TaskServiceCreateRevokeResponseExpanded) UnmarshalJSON ¶

func (c *TaskServiceCreateRevokeResponseExpanded) UnmarshalJSON(bs []byte) error

type TaskServiceGetResponse ¶

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

TaskServiceGetResponse - The TaskServiceGetResponse message.

type TaskServiceGetResponseExpanded ¶

type TaskServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (TaskServiceGetResponseExpanded) MarshalJSON ¶

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

func (*TaskServiceGetResponseExpanded) UnmarshalJSON ¶

func (c *TaskServiceGetResponseExpanded) UnmarshalJSON(bs []byte) error

type TaskState ¶

type TaskState string

TaskState - State

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 TaskType ¶

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

TaskType - The TaskType message.

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

  • grant
  • revoke
  • certify

type TaskTypeCertify ¶

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

TaskTypeCertify - The TaskTypeCertify message.

type TaskTypeCertifyInput ¶

type TaskTypeCertifyInput struct {
}

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

type TaskTypeCertifyOutcome ¶

type TaskTypeCertifyOutcome string

TaskTypeCertifyOutcome - The outcome field.

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

func (TaskTypeCertifyOutcome) ToPointer ¶

func (*TaskTypeCertifyOutcome) UnmarshalJSON ¶

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

type TaskTypeGrant ¶

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

TaskTypeGrant - The TaskTypeGrant message.

type 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 field.

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

func (TaskTypeGrantOutcome) ToPointer ¶

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.
	//
	// 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 appEntitlementId field.
	AppEntitlementID *string `json:"appEntitlementId,omitempty"`
	// The appId field.
	AppID *string `json:"appId,omitempty"`
	// The appUserId field.
	AppUserID *string `json:"appUserId,omitempty"`
	// The identityUserId field.
	IdentityUserID *string `json:"identityUserId,omitempty"`
	// The outcome field.
	Outcome     *TaskTypeRevokeOutcome `json:"outcome,omitempty"`
	OutcomeTime *time.Time             `json:"outcomeTime,omitempty"`
}

TaskTypeRevoke - The TaskTypeRevoke message.

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 field.

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

func (TaskTypeRevokeOutcome) ToPointer ¶

func (*TaskTypeRevokeOutcome) UnmarshalJSON ¶

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

type TaskView ¶

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

TaskView - The TaskView message.

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"`
	// Flag to indicate that access request defaults, if any are applied to these entitlements, should be overridden.
	OverrideAccessRequestsDefaults *bool   `json:"overrideAccessRequestsDefaults,omitempty"`
	UpdateMask                     *string `json:"updateMask,omitempty"`
}

The UpdateAppEntitlementRequest message contains the app entitlement and the fields to be updated.

func (*UpdateAppEntitlementRequest) GetAppEntitlement ¶ added in v0.4.14

func (o *UpdateAppEntitlementRequest) GetAppEntitlement() *AppEntitlementInput

func (*UpdateAppEntitlementRequest) GetAppEntitlementExpandMask ¶ added in v0.4.14

func (o *UpdateAppEntitlementRequest) GetAppEntitlementExpandMask() *AppEntitlementExpandMask

func (*UpdateAppEntitlementRequest) GetOverrideAccessRequestsDefaults ¶ added in v0.4.14

func (o *UpdateAppEntitlementRequest) GetOverrideAccessRequestsDefaults() *bool

func (*UpdateAppEntitlementRequest) GetUpdateMask ¶ added in v0.4.14

func (o *UpdateAppEntitlementRequest) GetUpdateMask() *string

type UpdateAppEntitlementResponse ¶

type UpdateAppEntitlementResponse struct {
	// The AppEntitlementView message.
	AppEntitlementView *AppEntitlementView `json:"appEntitlementView,omitempty"`
	// The expanded field.
	Expanded []UpdateAppEntitlementResponseExpanded `json:"expanded,omitempty"`
}

UpdateAppEntitlementResponse - The UpdateAppEntitlementResponse message.

type UpdateAppEntitlementResponseExpanded ¶

type UpdateAppEntitlementResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (UpdateAppEntitlementResponseExpanded) MarshalJSON ¶

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

func (*UpdateAppEntitlementResponseExpanded) UnmarshalJSON ¶

func (c *UpdateAppEntitlementResponseExpanded) UnmarshalJSON(bs []byte) error

type UpdateAppRequest ¶

type UpdateAppRequest struct {
	// The App message.
	App        *App    `json:"app,omitempty"`
	UpdateMask *string `json:"updateMask,omitempty"`
}

UpdateAppRequest - The UpdateAppRequest message.

type UpdateAppResponse ¶

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

UpdateAppResponse - The UpdateAppResponse message.

type UpdateAppUsageControlsRequest ¶

type UpdateAppUsageControlsRequest struct {
	// The AppUsageControls message.
	AppUsageControls *AppUsageControls `json:"appUsageControls,omitempty"`
	UpdateMask       *string           `json:"updateMask,omitempty"`
}

UpdateAppUsageControlsRequest - The UpdateAppUsageControlsRequest message.

type UpdateAppUsageControlsResponse ¶

type UpdateAppUsageControlsResponse struct {
	// The AppUsageControls message.
	AppUsageControls *AppUsageControls `json:"appUsageControls,omitempty"`
}

UpdateAppUsageControlsResponse - The UpdateAppUsageControlsResponse message.

type UpdateManuallyManagedResourceTypeRequest ¶ added in v0.4.14

type UpdateManuallyManagedResourceTypeRequest struct {
	// The AppResourceType is referenced by an app entitlement defining its resource types. Commonly things like Group or Role.
	AppResourceType *AppResourceTypeInput `json:"appResourceType,omitempty"`
	UpdateMask      *string               `json:"updateMask,omitempty"`
}

The UpdateManuallyManagedResourceTypeRequest message.

func (*UpdateManuallyManagedResourceTypeRequest) GetAppResourceType ¶ added in v0.4.14

func (*UpdateManuallyManagedResourceTypeRequest) GetUpdateMask ¶ added in v0.4.14

type UpdateManuallyManagedResourceTypeResponse ¶ added in v0.4.14

type UpdateManuallyManagedResourceTypeResponse struct {
	// The AppResourceType is referenced by an app entitlement defining its resource types. Commonly things like Group or Role.
	AppResourceType *AppResourceType `json:"appResourceType,omitempty"`
	// The expanded field.
	Expanded []UpdateManuallyManagedResourceTypeResponseExpanded `json:"expanded,omitempty"`
}

The UpdateManuallyManagedResourceTypeResponse message.

func (*UpdateManuallyManagedResourceTypeResponse) GetAppResourceType ¶ added in v0.4.14

func (*UpdateManuallyManagedResourceTypeResponse) GetExpanded ¶ added in v0.4.14

type UpdateManuallyManagedResourceTypeResponseExpanded ¶ added in v0.4.14

type UpdateManuallyManagedResourceTypeResponseExpanded struct {
	// The type of the serialized message.
	AtType               *string `json:"@type,omitempty"`
	AdditionalProperties any     `additionalProperties:"true" json:"-"`
}

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

func (*UpdateManuallyManagedResourceTypeResponseExpanded) GetAdditionalProperties ¶ added in v0.4.14

func (o *UpdateManuallyManagedResourceTypeResponseExpanded) GetAdditionalProperties() any

func (*UpdateManuallyManagedResourceTypeResponseExpanded) GetAtType ¶ added in v0.4.14

func (UpdateManuallyManagedResourceTypeResponseExpanded) MarshalJSON ¶ added in v0.4.14

func (*UpdateManuallyManagedResourceTypeResponseExpanded) UnmarshalJSON ¶ added in v0.4.14

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 {
	// The Policy message.
	Policy *Policy `json:"policy,omitempty"`
}

UpdatePolicyResponse - The UpdatePolicyResponse message.

type UpdateRoleRequest ¶

type UpdateRoleRequest struct {
	// The Role message.
	Role       *Role   `json:"role,omitempty"`
	UpdateMask *string `json:"updateMask,omitempty"`
}

UpdateRoleRequest - The UpdateRoleRequest message.

type UpdateRolesResponse ¶

type UpdateRolesResponse struct {
	// The Role message.
	Role *Role `json:"role,omitempty"`
}

UpdateRolesResponse - The UpdateRolesResponse message.

type User ¶

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

User - The User message.

type UserApproval ¶

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

UserApproval - The UserApproval message.

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

UserAttributeMappingSource - The UserAttributeMappingSource message.

type UserDirectoryStatus ¶

type UserDirectoryStatus string

UserDirectoryStatus - The directoryStatus field.

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

func (UserDirectoryStatus) ToPointer ¶

func (*UserDirectoryStatus) UnmarshalJSON ¶

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

type UserExpandMask ¶

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

UserExpandMask - The UserExpandMask message.

type UserRef ¶

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

UserRef - The UserRef message.

type UserServiceGetResponse ¶

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

UserServiceGetResponse - The UserServiceGetResponse message.

type UserServiceGetResponseExpanded ¶

type UserServiceGetResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (UserServiceGetResponseExpanded) MarshalJSON ¶

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

func (*UserServiceGetResponseExpanded) UnmarshalJSON ¶

func (c *UserServiceGetResponseExpanded) UnmarshalJSON(bs []byte) error

type UserServiceListResponse ¶

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

UserServiceListResponse - The UserServiceListResponse message.

type UserServiceListResponseExpanded ¶

type UserServiceListResponseExpanded struct {
	// The type of the serialized message.
	AtType *string `json:"@type,omitempty"`

	AdditionalProperties interface{} `json:"-"`
}

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

func (UserServiceListResponseExpanded) MarshalJSON ¶

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

func (*UserServiceListResponseExpanded) UnmarshalJSON ¶

func (c *UserServiceListResponseExpanded) UnmarshalJSON(bs []byte) error

type UserStatus ¶

type UserStatus string

UserStatus - The status field.

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 UserView ¶

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

UserView - The UserView message.

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 Webhook ¶

type Webhook struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The id field.
	ID        *string    `json:"id,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The url field.
	URL *string `json:"url,omitempty"`
}

The Webhook message.

func (*Webhook) GetCreatedAt ¶

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

func (*Webhook) GetDeletedAt ¶

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

func (*Webhook) GetDescription ¶

func (o *Webhook) GetDescription() *string

func (*Webhook) GetDisplayName ¶

func (o *Webhook) GetDisplayName() *string

func (*Webhook) GetID ¶

func (o *Webhook) GetID() *string

func (*Webhook) GetURL ¶

func (o *Webhook) GetURL() *string

func (*Webhook) GetUpdatedAt ¶

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

type WebhookInput ¶

type WebhookInput struct {
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The id field.
	ID *string `json:"id,omitempty"`
	// The url field.
	URL *string `json:"url,omitempty"`
}

WebhookInput - The Webhook message.

func (*WebhookInput) GetDescription ¶

func (o *WebhookInput) GetDescription() *string

func (*WebhookInput) GetDisplayName ¶

func (o *WebhookInput) GetDisplayName() *string

func (*WebhookInput) GetID ¶

func (o *WebhookInput) GetID() *string

func (*WebhookInput) GetURL ¶

func (o *WebhookInput) GetURL() *string

type WebhookProvision ¶

type WebhookProvision struct {
	// The ID of the webhook to call for provisioning.
	WebhookID *string `json:"webhookId,omitempty"`
}

WebhookProvision - This provision step indicates that a webhook should be called to provision this entitlement.

func (*WebhookProvision) GetWebhookID ¶

func (o *WebhookProvision) GetWebhookID() *string

type WebhooksSearchRequest ¶

type WebhooksSearchRequest struct {
	// Search for webhooks with a case insensitive match on the display name.
	DisplayName *string `json:"displayName,omitempty"`
	// The pageSize field.
	PageSize *int `json:"pageSize,omitempty"`
	// The pageToken field.
	PageToken *string `json:"pageToken,omitempty"`
	// The query field.
	Query *string `json:"query,omitempty"`
}

The WebhooksSearchRequest message.

func (*WebhooksSearchRequest) GetDisplayName ¶

func (o *WebhooksSearchRequest) GetDisplayName() *string

func (*WebhooksSearchRequest) GetPageSize ¶

func (o *WebhooksSearchRequest) GetPageSize() *int

func (*WebhooksSearchRequest) GetPageToken ¶

func (o *WebhooksSearchRequest) GetPageToken() *string

func (*WebhooksSearchRequest) GetQuery ¶

func (o *WebhooksSearchRequest) GetQuery() *string

type WebhooksSearchResponse ¶

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

The WebhooksSearchResponse message.

func (*WebhooksSearchResponse) GetList ¶

func (o *WebhooksSearchResponse) GetList() []Webhook

func (*WebhooksSearchResponse) GetNextPageToken ¶

func (o *WebhooksSearchResponse) GetNextPageToken() *string

type WebhooksServiceCreateRequest ¶

type WebhooksServiceCreateRequest struct {
	// The description field.
	Description *string `json:"description,omitempty"`
	// The displayName field.
	DisplayName *string `json:"displayName,omitempty"`
	// The url field.
	URL *string `json:"url,omitempty"`
}

The WebhooksServiceCreateRequest message.

func (*WebhooksServiceCreateRequest) GetDescription ¶

func (o *WebhooksServiceCreateRequest) GetDescription() *string

func (*WebhooksServiceCreateRequest) GetDisplayName ¶

func (o *WebhooksServiceCreateRequest) GetDisplayName() *string

func (*WebhooksServiceCreateRequest) GetURL ¶

func (o *WebhooksServiceCreateRequest) GetURL() *string

type WebhooksServiceCreateResponse ¶

type WebhooksServiceCreateResponse struct {
	// The Webhook message.
	Webhook *Webhook `json:"webhook,omitempty"`
}

The WebhooksServiceCreateResponse message.

func (*WebhooksServiceCreateResponse) GetWebhook ¶

func (o *WebhooksServiceCreateResponse) GetWebhook() *Webhook

type WebhooksServiceDeleteRequest ¶

type WebhooksServiceDeleteRequest struct {
}

The WebhooksServiceDeleteRequest message.

type WebhooksServiceDeleteResponse ¶

type WebhooksServiceDeleteResponse struct {
}

WebhooksServiceDeleteResponse - Empty response body. Status code indicates success.

type WebhooksServiceGetResponse ¶

type WebhooksServiceGetResponse struct {
	// The Webhook message.
	Webhook *Webhook `json:"webhook,omitempty"`
}

The WebhooksServiceGetResponse message.

func (*WebhooksServiceGetResponse) GetWebhook ¶

func (o *WebhooksServiceGetResponse) GetWebhook() *Webhook

type WebhooksServiceListResponse ¶

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

The WebhooksServiceListResponse message.

func (*WebhooksServiceListResponse) GetList ¶

func (o *WebhooksServiceListResponse) GetList() []Webhook

func (*WebhooksServiceListResponse) GetNextPageToken ¶

func (o *WebhooksServiceListResponse) GetNextPageToken() *string

type WebhooksServiceUpdateRequest ¶

type WebhooksServiceUpdateRequest struct {
	// The Webhook message.
	Webhook *WebhookInput `json:"webhook,omitempty"`
	// FIXME(mstanbCO): Manually added!
	UpdateMask string `json:"update_mask,omitempty"`
}

The WebhooksServiceUpdateRequest message contains the webhook object to update and a field mask to indicate which fields to update. It uses URL value for input.

func (*WebhooksServiceUpdateRequest) GetWebhook ¶

func (o *WebhooksServiceUpdateRequest) GetWebhook() *WebhookInput

type WebhooksServiceUpdateResponse ¶

type WebhooksServiceUpdateResponse struct {
	// The Webhook message.
	Webhook *Webhook `json:"webhook,omitempty"`
}

The WebhooksServiceUpdateResponse message.

func (*WebhooksServiceUpdateResponse) GetWebhook ¶

func (o *WebhooksServiceUpdateResponse) GetWebhook() *Webhook

Source Files ¶

Jump to

Keyboard shortcuts

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