v1

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Unspecified content type.
	FeedContentTypeContentTypeUnspecified = FeedContentType("CONTENT_TYPE_UNSPECIFIED")
	// Resource metadata.
	FeedContentTypeResource = FeedContentType("RESOURCE")
	// The actual IAM policy set on a resource.
	FeedContentTypeIamPolicy = FeedContentType("IAM_POLICY")
	// The organization policy set on an asset.
	FeedContentTypeOrgPolicy = FeedContentType("ORG_POLICY")
	// The Access Context Manager policy set on an asset.
	FeedContentTypeAccessPolicy = FeedContentType("ACCESS_POLICY")
	// The runtime OS Inventory information.
	FeedContentTypeOsInventory = FeedContentType("OS_INVENTORY")
	// The related resources.
	FeedContentTypeRelationship = FeedContentType("RELATIONSHIP")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessSelector added in v0.9.0

type AccessSelector struct {
	// Optional. The permissions to appear in result.
	Permissions []string `pulumi:"permissions"`
	// Optional. The roles to appear in result.
	Roles []string `pulumi:"roles"`
}

Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.

type AccessSelectorArgs added in v0.9.0

type AccessSelectorArgs struct {
	// Optional. The permissions to appear in result.
	Permissions pulumi.StringArrayInput `pulumi:"permissions"`
	// Optional. The roles to appear in result.
	Roles pulumi.StringArrayInput `pulumi:"roles"`
}

Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.

func (AccessSelectorArgs) ElementType added in v0.9.0

func (AccessSelectorArgs) ElementType() reflect.Type

func (AccessSelectorArgs) ToAccessSelectorOutput added in v0.9.0

func (i AccessSelectorArgs) ToAccessSelectorOutput() AccessSelectorOutput

func (AccessSelectorArgs) ToAccessSelectorOutputWithContext added in v0.9.0

func (i AccessSelectorArgs) ToAccessSelectorOutputWithContext(ctx context.Context) AccessSelectorOutput

func (AccessSelectorArgs) ToAccessSelectorPtrOutput added in v0.9.0

func (i AccessSelectorArgs) ToAccessSelectorPtrOutput() AccessSelectorPtrOutput

func (AccessSelectorArgs) ToAccessSelectorPtrOutputWithContext added in v0.9.0

func (i AccessSelectorArgs) ToAccessSelectorPtrOutputWithContext(ctx context.Context) AccessSelectorPtrOutput

type AccessSelectorInput added in v0.9.0

type AccessSelectorInput interface {
	pulumi.Input

	ToAccessSelectorOutput() AccessSelectorOutput
	ToAccessSelectorOutputWithContext(context.Context) AccessSelectorOutput
}

AccessSelectorInput is an input type that accepts AccessSelectorArgs and AccessSelectorOutput values. You can construct a concrete instance of `AccessSelectorInput` via:

AccessSelectorArgs{...}

type AccessSelectorOutput added in v0.9.0

type AccessSelectorOutput struct{ *pulumi.OutputState }

Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.

func (AccessSelectorOutput) ElementType added in v0.9.0

func (AccessSelectorOutput) ElementType() reflect.Type

func (AccessSelectorOutput) Permissions added in v0.9.0

Optional. The permissions to appear in result.

func (AccessSelectorOutput) Roles added in v0.9.0

Optional. The roles to appear in result.

func (AccessSelectorOutput) ToAccessSelectorOutput added in v0.9.0

func (o AccessSelectorOutput) ToAccessSelectorOutput() AccessSelectorOutput

func (AccessSelectorOutput) ToAccessSelectorOutputWithContext added in v0.9.0

func (o AccessSelectorOutput) ToAccessSelectorOutputWithContext(ctx context.Context) AccessSelectorOutput

func (AccessSelectorOutput) ToAccessSelectorPtrOutput added in v0.9.0

func (o AccessSelectorOutput) ToAccessSelectorPtrOutput() AccessSelectorPtrOutput

func (AccessSelectorOutput) ToAccessSelectorPtrOutputWithContext added in v0.9.0

func (o AccessSelectorOutput) ToAccessSelectorPtrOutputWithContext(ctx context.Context) AccessSelectorPtrOutput

type AccessSelectorPtrInput added in v0.9.0

type AccessSelectorPtrInput interface {
	pulumi.Input

	ToAccessSelectorPtrOutput() AccessSelectorPtrOutput
	ToAccessSelectorPtrOutputWithContext(context.Context) AccessSelectorPtrOutput
}

AccessSelectorPtrInput is an input type that accepts AccessSelectorArgs, AccessSelectorPtr and AccessSelectorPtrOutput values. You can construct a concrete instance of `AccessSelectorPtrInput` via:

        AccessSelectorArgs{...}

or:

        nil

func AccessSelectorPtr added in v0.9.0

func AccessSelectorPtr(v *AccessSelectorArgs) AccessSelectorPtrInput

type AccessSelectorPtrOutput added in v0.9.0

type AccessSelectorPtrOutput struct{ *pulumi.OutputState }

func (AccessSelectorPtrOutput) Elem added in v0.9.0

func (AccessSelectorPtrOutput) ElementType added in v0.9.0

func (AccessSelectorPtrOutput) ElementType() reflect.Type

func (AccessSelectorPtrOutput) Permissions added in v0.9.0

Optional. The permissions to appear in result.

func (AccessSelectorPtrOutput) Roles added in v0.9.0

Optional. The roles to appear in result.

func (AccessSelectorPtrOutput) ToAccessSelectorPtrOutput added in v0.9.0

func (o AccessSelectorPtrOutput) ToAccessSelectorPtrOutput() AccessSelectorPtrOutput

func (AccessSelectorPtrOutput) ToAccessSelectorPtrOutputWithContext added in v0.9.0

func (o AccessSelectorPtrOutput) ToAccessSelectorPtrOutputWithContext(ctx context.Context) AccessSelectorPtrOutput

type AccessSelectorResponse added in v0.9.0

type AccessSelectorResponse struct {
	// Optional. The permissions to appear in result.
	Permissions []string `pulumi:"permissions"`
	// Optional. The roles to appear in result.
	Roles []string `pulumi:"roles"`
}

Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.

type AccessSelectorResponseOutput added in v0.9.0

type AccessSelectorResponseOutput struct{ *pulumi.OutputState }

Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.

func (AccessSelectorResponseOutput) ElementType added in v0.9.0

func (AccessSelectorResponseOutput) Permissions added in v0.9.0

Optional. The permissions to appear in result.

func (AccessSelectorResponseOutput) Roles added in v0.9.0

Optional. The roles to appear in result.

func (AccessSelectorResponseOutput) ToAccessSelectorResponseOutput added in v0.9.0

func (o AccessSelectorResponseOutput) ToAccessSelectorResponseOutput() AccessSelectorResponseOutput

func (AccessSelectorResponseOutput) ToAccessSelectorResponseOutputWithContext added in v0.9.0

func (o AccessSelectorResponseOutput) ToAccessSelectorResponseOutputWithContext(ctx context.Context) AccessSelectorResponseOutput

type ConditionContext added in v0.9.0

type ConditionContext struct {
	// The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.
	AccessTime *string `pulumi:"accessTime"`
}

The IAM conditions context.

type ConditionContextArgs added in v0.9.0

type ConditionContextArgs struct {
	// The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.
	AccessTime pulumi.StringPtrInput `pulumi:"accessTime"`
}

The IAM conditions context.

func (ConditionContextArgs) ElementType added in v0.9.0

func (ConditionContextArgs) ElementType() reflect.Type

func (ConditionContextArgs) ToConditionContextOutput added in v0.9.0

func (i ConditionContextArgs) ToConditionContextOutput() ConditionContextOutput

func (ConditionContextArgs) ToConditionContextOutputWithContext added in v0.9.0

func (i ConditionContextArgs) ToConditionContextOutputWithContext(ctx context.Context) ConditionContextOutput

func (ConditionContextArgs) ToConditionContextPtrOutput added in v0.9.0

func (i ConditionContextArgs) ToConditionContextPtrOutput() ConditionContextPtrOutput

func (ConditionContextArgs) ToConditionContextPtrOutputWithContext added in v0.9.0

func (i ConditionContextArgs) ToConditionContextPtrOutputWithContext(ctx context.Context) ConditionContextPtrOutput

type ConditionContextInput added in v0.9.0

type ConditionContextInput interface {
	pulumi.Input

	ToConditionContextOutput() ConditionContextOutput
	ToConditionContextOutputWithContext(context.Context) ConditionContextOutput
}

ConditionContextInput is an input type that accepts ConditionContextArgs and ConditionContextOutput values. You can construct a concrete instance of `ConditionContextInput` via:

ConditionContextArgs{...}

type ConditionContextOutput added in v0.9.0

type ConditionContextOutput struct{ *pulumi.OutputState }

The IAM conditions context.

func (ConditionContextOutput) AccessTime added in v0.9.0

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

func (ConditionContextOutput) ElementType added in v0.9.0

func (ConditionContextOutput) ElementType() reflect.Type

func (ConditionContextOutput) ToConditionContextOutput added in v0.9.0

func (o ConditionContextOutput) ToConditionContextOutput() ConditionContextOutput

func (ConditionContextOutput) ToConditionContextOutputWithContext added in v0.9.0

func (o ConditionContextOutput) ToConditionContextOutputWithContext(ctx context.Context) ConditionContextOutput

func (ConditionContextOutput) ToConditionContextPtrOutput added in v0.9.0

func (o ConditionContextOutput) ToConditionContextPtrOutput() ConditionContextPtrOutput

func (ConditionContextOutput) ToConditionContextPtrOutputWithContext added in v0.9.0

func (o ConditionContextOutput) ToConditionContextPtrOutputWithContext(ctx context.Context) ConditionContextPtrOutput

type ConditionContextPtrInput added in v0.9.0

type ConditionContextPtrInput interface {
	pulumi.Input

	ToConditionContextPtrOutput() ConditionContextPtrOutput
	ToConditionContextPtrOutputWithContext(context.Context) ConditionContextPtrOutput
}

ConditionContextPtrInput is an input type that accepts ConditionContextArgs, ConditionContextPtr and ConditionContextPtrOutput values. You can construct a concrete instance of `ConditionContextPtrInput` via:

        ConditionContextArgs{...}

or:

        nil

func ConditionContextPtr added in v0.9.0

func ConditionContextPtr(v *ConditionContextArgs) ConditionContextPtrInput

type ConditionContextPtrOutput added in v0.9.0

type ConditionContextPtrOutput struct{ *pulumi.OutputState }

func (ConditionContextPtrOutput) AccessTime added in v0.9.0

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

func (ConditionContextPtrOutput) Elem added in v0.9.0

func (ConditionContextPtrOutput) ElementType added in v0.9.0

func (ConditionContextPtrOutput) ElementType() reflect.Type

func (ConditionContextPtrOutput) ToConditionContextPtrOutput added in v0.9.0

func (o ConditionContextPtrOutput) ToConditionContextPtrOutput() ConditionContextPtrOutput

func (ConditionContextPtrOutput) ToConditionContextPtrOutputWithContext added in v0.9.0

func (o ConditionContextPtrOutput) ToConditionContextPtrOutputWithContext(ctx context.Context) ConditionContextPtrOutput

type ConditionContextResponse added in v0.9.0

type ConditionContextResponse struct {
	// The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.
	AccessTime string `pulumi:"accessTime"`
}

The IAM conditions context.

type ConditionContextResponseOutput added in v0.9.0

type ConditionContextResponseOutput struct{ *pulumi.OutputState }

The IAM conditions context.

func (ConditionContextResponseOutput) AccessTime added in v0.9.0

The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.

func (ConditionContextResponseOutput) ElementType added in v0.9.0

func (ConditionContextResponseOutput) ToConditionContextResponseOutput added in v0.9.0

func (o ConditionContextResponseOutput) ToConditionContextResponseOutput() ConditionContextResponseOutput

func (ConditionContextResponseOutput) ToConditionContextResponseOutputWithContext added in v0.9.0

func (o ConditionContextResponseOutput) ToConditionContextResponseOutputWithContext(ctx context.Context) ConditionContextResponseOutput

type Expr

type Expr struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description *string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression *string `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location *string `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title *string `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

type ExprArgs

type ExprArgs struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression pulumi.StringPtrInput `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title pulumi.StringPtrInput `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprArgs) ElementType

func (ExprArgs) ElementType() reflect.Type

func (ExprArgs) ToExprOutput

func (i ExprArgs) ToExprOutput() ExprOutput

func (ExprArgs) ToExprOutputWithContext

func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprArgs) ToExprPtrOutput

func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput

func (ExprArgs) ToExprPtrOutputWithContext

func (i ExprArgs) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprInput

type ExprInput interface {
	pulumi.Input

	ToExprOutput() ExprOutput
	ToExprOutputWithContext(context.Context) ExprOutput
}

ExprInput is an input type that accepts ExprArgs and ExprOutput values. You can construct a concrete instance of `ExprInput` via:

ExprArgs{...}

type ExprOutput

type ExprOutput struct{ *pulumi.OutputState }

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprOutput) Description

func (o ExprOutput) Description() pulumi.StringPtrOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprOutput) ElementType

func (ExprOutput) ElementType() reflect.Type

func (ExprOutput) Expression

func (o ExprOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprOutput) Location

func (o ExprOutput) Location() pulumi.StringPtrOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprOutput) Title

func (o ExprOutput) Title() pulumi.StringPtrOutput

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprOutput) ToExprOutput

func (o ExprOutput) ToExprOutput() ExprOutput

func (ExprOutput) ToExprOutputWithContext

func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput

func (ExprOutput) ToExprPtrOutput

func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprOutput) ToExprPtrOutputWithContext

func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprPtrInput

type ExprPtrInput interface {
	pulumi.Input

	ToExprPtrOutput() ExprPtrOutput
	ToExprPtrOutputWithContext(context.Context) ExprPtrOutput
}

ExprPtrInput is an input type that accepts ExprArgs, ExprPtr and ExprPtrOutput values. You can construct a concrete instance of `ExprPtrInput` via:

        ExprArgs{...}

or:

        nil

func ExprPtr

func ExprPtr(v *ExprArgs) ExprPtrInput

type ExprPtrOutput

type ExprPtrOutput struct{ *pulumi.OutputState }

func (ExprPtrOutput) Description

func (o ExprPtrOutput) Description() pulumi.StringPtrOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprPtrOutput) Elem

func (o ExprPtrOutput) Elem() ExprOutput

func (ExprPtrOutput) ElementType

func (ExprPtrOutput) ElementType() reflect.Type

func (ExprPtrOutput) Expression

func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprPtrOutput) Location

func (o ExprPtrOutput) Location() pulumi.StringPtrOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprPtrOutput) Title

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprPtrOutput) ToExprPtrOutput

func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput

func (ExprPtrOutput) ToExprPtrOutputWithContext

func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput

type ExprResponse

type ExprResponse struct {
	// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	Description string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression string `pulumi:"expression"`
	// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
	Location string `pulumi:"location"`
	// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
	Title string `pulumi:"title"`
}

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

type ExprResponseOutput

type ExprResponseOutput struct{ *pulumi.OutputState }

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (ExprResponseOutput) Description

func (o ExprResponseOutput) Description() pulumi.StringOutput

Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

func (ExprResponseOutput) ElementType

func (ExprResponseOutput) ElementType() reflect.Type

func (ExprResponseOutput) Expression

func (o ExprResponseOutput) Expression() pulumi.StringOutput

Textual representation of an expression in Common Expression Language syntax.

func (ExprResponseOutput) Location

func (o ExprResponseOutput) Location() pulumi.StringOutput

Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.

func (ExprResponseOutput) Title

Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

func (ExprResponseOutput) ToExprResponseOutput

func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput

func (ExprResponseOutput) ToExprResponseOutputWithContext

func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput

type Feed

type Feed struct {
	pulumi.CustomResourceState

	// A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).
	AssetNames pulumi.StringArrayOutput `pulumi:"assetNames"`
	// A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).
	AssetTypes pulumi.StringArrayOutput `pulumi:"assetTypes"`
	// A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.
	Condition ExprResponseOutput `pulumi:"condition"`
	// Asset content type. If not specified, no content but the asset name and type will be returned.
	ContentType pulumi.StringOutput `pulumi:"contentType"`
	// Feed output configuration defining where the asset updates are published to.
	FeedOutputConfig FeedOutputConfigResponseOutput `pulumi:"feedOutputConfig"`
	// The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
	RelationshipTypes pulumi.StringArrayOutput `pulumi:"relationshipTypes"`
	V1Id              pulumi.StringOutput      `pulumi:"v1Id"`
	V1Id1             pulumi.StringOutput      `pulumi:"v1Id1"`
}

Creates a feed in a parent project/folder/organization to listen to its asset updates. Auto-naming is currently not supported for this resource.

func GetFeed

func GetFeed(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FeedState, opts ...pulumi.ResourceOption) (*Feed, error)

GetFeed gets an existing Feed resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFeed

func NewFeed(ctx *pulumi.Context,
	name string, args *FeedArgs, opts ...pulumi.ResourceOption) (*Feed, error)

NewFeed registers a new resource with the given unique name, arguments, and options.

func (*Feed) ElementType

func (*Feed) ElementType() reflect.Type

func (*Feed) ToFeedOutput

func (i *Feed) ToFeedOutput() FeedOutput

func (*Feed) ToFeedOutputWithContext

func (i *Feed) ToFeedOutputWithContext(ctx context.Context) FeedOutput

type FeedArgs

type FeedArgs struct {
	// A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).
	AssetNames pulumi.StringArrayInput
	// A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).
	AssetTypes pulumi.StringArrayInput
	// A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.
	Condition ExprPtrInput
	// Asset content type. If not specified, no content but the asset name and type will be returned.
	ContentType FeedContentTypePtrInput
	// This is the client-assigned asset feed identifier and it needs to be unique under a specific parent project/folder/organization.
	FeedId pulumi.StringInput
	// Feed output configuration defining where the asset updates are published to.
	FeedOutputConfig FeedOutputConfigInput
	// The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
	Name pulumi.StringInput
	// A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
	RelationshipTypes pulumi.StringArrayInput
	V1Id              pulumi.StringInput
	V1Id1             pulumi.StringInput
}

The set of arguments for constructing a Feed resource.

func (FeedArgs) ElementType

func (FeedArgs) ElementType() reflect.Type

type FeedContentType added in v0.4.0

type FeedContentType string

Asset content type. If not specified, no content but the asset name and type will be returned.

func (FeedContentType) ElementType added in v0.4.0

func (FeedContentType) ElementType() reflect.Type

func (FeedContentType) ToFeedContentTypeOutput added in v0.6.0

func (e FeedContentType) ToFeedContentTypeOutput() FeedContentTypeOutput

func (FeedContentType) ToFeedContentTypeOutputWithContext added in v0.6.0

func (e FeedContentType) ToFeedContentTypeOutputWithContext(ctx context.Context) FeedContentTypeOutput

func (FeedContentType) ToFeedContentTypePtrOutput added in v0.6.0

func (e FeedContentType) ToFeedContentTypePtrOutput() FeedContentTypePtrOutput

func (FeedContentType) ToFeedContentTypePtrOutputWithContext added in v0.6.0

func (e FeedContentType) ToFeedContentTypePtrOutputWithContext(ctx context.Context) FeedContentTypePtrOutput

func (FeedContentType) ToStringOutput added in v0.4.0

func (e FeedContentType) ToStringOutput() pulumi.StringOutput

func (FeedContentType) ToStringOutputWithContext added in v0.4.0

func (e FeedContentType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FeedContentType) ToStringPtrOutput added in v0.4.0

func (e FeedContentType) ToStringPtrOutput() pulumi.StringPtrOutput

func (FeedContentType) ToStringPtrOutputWithContext added in v0.4.0

func (e FeedContentType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FeedContentTypeInput added in v0.6.0

type FeedContentTypeInput interface {
	pulumi.Input

	ToFeedContentTypeOutput() FeedContentTypeOutput
	ToFeedContentTypeOutputWithContext(context.Context) FeedContentTypeOutput
}

FeedContentTypeInput is an input type that accepts FeedContentTypeArgs and FeedContentTypeOutput values. You can construct a concrete instance of `FeedContentTypeInput` via:

FeedContentTypeArgs{...}

type FeedContentTypeOutput added in v0.6.0

type FeedContentTypeOutput struct{ *pulumi.OutputState }

func (FeedContentTypeOutput) ElementType added in v0.6.0

func (FeedContentTypeOutput) ElementType() reflect.Type

func (FeedContentTypeOutput) ToFeedContentTypeOutput added in v0.6.0

func (o FeedContentTypeOutput) ToFeedContentTypeOutput() FeedContentTypeOutput

func (FeedContentTypeOutput) ToFeedContentTypeOutputWithContext added in v0.6.0

func (o FeedContentTypeOutput) ToFeedContentTypeOutputWithContext(ctx context.Context) FeedContentTypeOutput

func (FeedContentTypeOutput) ToFeedContentTypePtrOutput added in v0.6.0

func (o FeedContentTypeOutput) ToFeedContentTypePtrOutput() FeedContentTypePtrOutput

func (FeedContentTypeOutput) ToFeedContentTypePtrOutputWithContext added in v0.6.0

func (o FeedContentTypeOutput) ToFeedContentTypePtrOutputWithContext(ctx context.Context) FeedContentTypePtrOutput

func (FeedContentTypeOutput) ToStringOutput added in v0.6.0

func (o FeedContentTypeOutput) ToStringOutput() pulumi.StringOutput

func (FeedContentTypeOutput) ToStringOutputWithContext added in v0.6.0

func (o FeedContentTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (FeedContentTypeOutput) ToStringPtrOutput added in v0.6.0

func (o FeedContentTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FeedContentTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o FeedContentTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FeedContentTypePtrInput added in v0.6.0

type FeedContentTypePtrInput interface {
	pulumi.Input

	ToFeedContentTypePtrOutput() FeedContentTypePtrOutput
	ToFeedContentTypePtrOutputWithContext(context.Context) FeedContentTypePtrOutput
}

func FeedContentTypePtr added in v0.6.0

func FeedContentTypePtr(v string) FeedContentTypePtrInput

type FeedContentTypePtrOutput added in v0.6.0

type FeedContentTypePtrOutput struct{ *pulumi.OutputState }

func (FeedContentTypePtrOutput) Elem added in v0.6.0

func (FeedContentTypePtrOutput) ElementType added in v0.6.0

func (FeedContentTypePtrOutput) ElementType() reflect.Type

func (FeedContentTypePtrOutput) ToFeedContentTypePtrOutput added in v0.6.0

func (o FeedContentTypePtrOutput) ToFeedContentTypePtrOutput() FeedContentTypePtrOutput

func (FeedContentTypePtrOutput) ToFeedContentTypePtrOutputWithContext added in v0.6.0

func (o FeedContentTypePtrOutput) ToFeedContentTypePtrOutputWithContext(ctx context.Context) FeedContentTypePtrOutput

func (FeedContentTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (o FeedContentTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (FeedContentTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o FeedContentTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type FeedInput

type FeedInput interface {
	pulumi.Input

	ToFeedOutput() FeedOutput
	ToFeedOutputWithContext(ctx context.Context) FeedOutput
}

type FeedOutput

type FeedOutput struct{ *pulumi.OutputState }

func (FeedOutput) AssetNames added in v0.19.0

func (o FeedOutput) AssetNames() pulumi.StringArrayOutput

A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).

func (FeedOutput) AssetTypes added in v0.19.0

func (o FeedOutput) AssetTypes() pulumi.StringArrayOutput

A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).

func (FeedOutput) Condition added in v0.19.0

func (o FeedOutput) Condition() ExprResponseOutput

A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.

func (FeedOutput) ContentType added in v0.19.0

func (o FeedOutput) ContentType() pulumi.StringOutput

Asset content type. If not specified, no content but the asset name and type will be returned.

func (FeedOutput) ElementType

func (FeedOutput) ElementType() reflect.Type

func (FeedOutput) FeedOutputConfig added in v0.19.0

func (o FeedOutput) FeedOutputConfig() FeedOutputConfigResponseOutput

Feed output configuration defining where the asset updates are published to.

func (FeedOutput) Name added in v0.19.0

func (o FeedOutput) Name() pulumi.StringOutput

The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.

func (FeedOutput) RelationshipTypes added in v0.19.0

func (o FeedOutput) RelationshipTypes() pulumi.StringArrayOutput

A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.

func (FeedOutput) ToFeedOutput

func (o FeedOutput) ToFeedOutput() FeedOutput

func (FeedOutput) ToFeedOutputWithContext

func (o FeedOutput) ToFeedOutputWithContext(ctx context.Context) FeedOutput

func (FeedOutput) V1Id added in v0.21.0

func (o FeedOutput) V1Id() pulumi.StringOutput

func (FeedOutput) V1Id1 added in v0.21.0

func (o FeedOutput) V1Id1() pulumi.StringOutput

type FeedOutputConfig

type FeedOutputConfig struct {
	// Destination on Pub/Sub.
	PubsubDestination *PubsubDestination `pulumi:"pubsubDestination"`
}

Output configuration for asset feed destination.

type FeedOutputConfigArgs

type FeedOutputConfigArgs struct {
	// Destination on Pub/Sub.
	PubsubDestination PubsubDestinationPtrInput `pulumi:"pubsubDestination"`
}

Output configuration for asset feed destination.

func (FeedOutputConfigArgs) ElementType

func (FeedOutputConfigArgs) ElementType() reflect.Type

func (FeedOutputConfigArgs) ToFeedOutputConfigOutput

func (i FeedOutputConfigArgs) ToFeedOutputConfigOutput() FeedOutputConfigOutput

func (FeedOutputConfigArgs) ToFeedOutputConfigOutputWithContext

func (i FeedOutputConfigArgs) ToFeedOutputConfigOutputWithContext(ctx context.Context) FeedOutputConfigOutput

type FeedOutputConfigInput

type FeedOutputConfigInput interface {
	pulumi.Input

	ToFeedOutputConfigOutput() FeedOutputConfigOutput
	ToFeedOutputConfigOutputWithContext(context.Context) FeedOutputConfigOutput
}

FeedOutputConfigInput is an input type that accepts FeedOutputConfigArgs and FeedOutputConfigOutput values. You can construct a concrete instance of `FeedOutputConfigInput` via:

FeedOutputConfigArgs{...}

type FeedOutputConfigOutput

type FeedOutputConfigOutput struct{ *pulumi.OutputState }

Output configuration for asset feed destination.

func (FeedOutputConfigOutput) ElementType

func (FeedOutputConfigOutput) ElementType() reflect.Type

func (FeedOutputConfigOutput) PubsubDestination

func (o FeedOutputConfigOutput) PubsubDestination() PubsubDestinationPtrOutput

Destination on Pub/Sub.

func (FeedOutputConfigOutput) ToFeedOutputConfigOutput

func (o FeedOutputConfigOutput) ToFeedOutputConfigOutput() FeedOutputConfigOutput

func (FeedOutputConfigOutput) ToFeedOutputConfigOutputWithContext

func (o FeedOutputConfigOutput) ToFeedOutputConfigOutputWithContext(ctx context.Context) FeedOutputConfigOutput

type FeedOutputConfigResponse

type FeedOutputConfigResponse struct {
	// Destination on Pub/Sub.
	PubsubDestination PubsubDestinationResponse `pulumi:"pubsubDestination"`
}

Output configuration for asset feed destination.

type FeedOutputConfigResponseOutput

type FeedOutputConfigResponseOutput struct{ *pulumi.OutputState }

Output configuration for asset feed destination.

func (FeedOutputConfigResponseOutput) ElementType

func (FeedOutputConfigResponseOutput) PubsubDestination

Destination on Pub/Sub.

func (FeedOutputConfigResponseOutput) ToFeedOutputConfigResponseOutput

func (o FeedOutputConfigResponseOutput) ToFeedOutputConfigResponseOutput() FeedOutputConfigResponseOutput

func (FeedOutputConfigResponseOutput) ToFeedOutputConfigResponseOutputWithContext

func (o FeedOutputConfigResponseOutput) ToFeedOutputConfigResponseOutputWithContext(ctx context.Context) FeedOutputConfigResponseOutput

type FeedState

type FeedState struct {
}

func (FeedState) ElementType

func (FeedState) ElementType() reflect.Type

type IamPolicyAnalysisQuery added in v0.9.0

type IamPolicyAnalysisQuery struct {
	// Optional. Specifies roles or permissions for analysis. This is optional.
	AccessSelector *AccessSelector `pulumi:"accessSelector"`
	// Optional. The hypothetical context for IAM conditions evaluation.
	ConditionContext *ConditionContext `pulumi:"conditionContext"`
	// Optional. Specifies an identity for analysis.
	IdentitySelector *IdentitySelector `pulumi:"identitySelector"`
	// Optional. The query options.
	Options *Options `pulumi:"options"`
	// Optional. Specifies a resource for analysis.
	ResourceSelector *ResourceSelector `pulumi:"resourceSelector"`
	// The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
	Scope string `pulumi:"scope"`
}

IAM policy analysis query message.

type IamPolicyAnalysisQueryArgs added in v0.9.0

type IamPolicyAnalysisQueryArgs struct {
	// Optional. Specifies roles or permissions for analysis. This is optional.
	AccessSelector AccessSelectorPtrInput `pulumi:"accessSelector"`
	// Optional. The hypothetical context for IAM conditions evaluation.
	ConditionContext ConditionContextPtrInput `pulumi:"conditionContext"`
	// Optional. Specifies an identity for analysis.
	IdentitySelector IdentitySelectorPtrInput `pulumi:"identitySelector"`
	// Optional. The query options.
	Options OptionsPtrInput `pulumi:"options"`
	// Optional. Specifies a resource for analysis.
	ResourceSelector ResourceSelectorPtrInput `pulumi:"resourceSelector"`
	// The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
	Scope pulumi.StringInput `pulumi:"scope"`
}

IAM policy analysis query message.

func (IamPolicyAnalysisQueryArgs) ElementType added in v0.9.0

func (IamPolicyAnalysisQueryArgs) ElementType() reflect.Type

func (IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryOutput added in v0.9.0

func (i IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryOutput() IamPolicyAnalysisQueryOutput

func (IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryOutputWithContext added in v0.9.0

func (i IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryOutputWithContext(ctx context.Context) IamPolicyAnalysisQueryOutput

func (IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryPtrOutput added in v0.9.0

func (i IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryPtrOutput() IamPolicyAnalysisQueryPtrOutput

func (IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryPtrOutputWithContext added in v0.9.0

func (i IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryPtrOutputWithContext(ctx context.Context) IamPolicyAnalysisQueryPtrOutput

type IamPolicyAnalysisQueryInput added in v0.9.0

type IamPolicyAnalysisQueryInput interface {
	pulumi.Input

	ToIamPolicyAnalysisQueryOutput() IamPolicyAnalysisQueryOutput
	ToIamPolicyAnalysisQueryOutputWithContext(context.Context) IamPolicyAnalysisQueryOutput
}

IamPolicyAnalysisQueryInput is an input type that accepts IamPolicyAnalysisQueryArgs and IamPolicyAnalysisQueryOutput values. You can construct a concrete instance of `IamPolicyAnalysisQueryInput` via:

IamPolicyAnalysisQueryArgs{...}

type IamPolicyAnalysisQueryOutput added in v0.9.0

type IamPolicyAnalysisQueryOutput struct{ *pulumi.OutputState }

IAM policy analysis query message.

func (IamPolicyAnalysisQueryOutput) AccessSelector added in v0.9.0

Optional. Specifies roles or permissions for analysis. This is optional.

func (IamPolicyAnalysisQueryOutput) ConditionContext added in v0.9.0

Optional. The hypothetical context for IAM conditions evaluation.

func (IamPolicyAnalysisQueryOutput) ElementType added in v0.9.0

func (IamPolicyAnalysisQueryOutput) IdentitySelector added in v0.9.0

Optional. Specifies an identity for analysis.

func (IamPolicyAnalysisQueryOutput) Options added in v0.9.0

Optional. The query options.

func (IamPolicyAnalysisQueryOutput) ResourceSelector added in v0.9.0

Optional. Specifies a resource for analysis.

func (IamPolicyAnalysisQueryOutput) Scope added in v0.9.0

The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).

func (IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryOutput added in v0.9.0

func (o IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryOutput() IamPolicyAnalysisQueryOutput

func (IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryOutputWithContext added in v0.9.0

func (o IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryOutputWithContext(ctx context.Context) IamPolicyAnalysisQueryOutput

func (IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryPtrOutput added in v0.9.0

func (o IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryPtrOutput() IamPolicyAnalysisQueryPtrOutput

func (IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryPtrOutputWithContext added in v0.9.0

func (o IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryPtrOutputWithContext(ctx context.Context) IamPolicyAnalysisQueryPtrOutput

type IamPolicyAnalysisQueryPtrInput added in v0.9.0

type IamPolicyAnalysisQueryPtrInput interface {
	pulumi.Input

	ToIamPolicyAnalysisQueryPtrOutput() IamPolicyAnalysisQueryPtrOutput
	ToIamPolicyAnalysisQueryPtrOutputWithContext(context.Context) IamPolicyAnalysisQueryPtrOutput
}

IamPolicyAnalysisQueryPtrInput is an input type that accepts IamPolicyAnalysisQueryArgs, IamPolicyAnalysisQueryPtr and IamPolicyAnalysisQueryPtrOutput values. You can construct a concrete instance of `IamPolicyAnalysisQueryPtrInput` via:

        IamPolicyAnalysisQueryArgs{...}

or:

        nil

func IamPolicyAnalysisQueryPtr added in v0.9.0

func IamPolicyAnalysisQueryPtr(v *IamPolicyAnalysisQueryArgs) IamPolicyAnalysisQueryPtrInput

type IamPolicyAnalysisQueryPtrOutput added in v0.9.0

type IamPolicyAnalysisQueryPtrOutput struct{ *pulumi.OutputState }

func (IamPolicyAnalysisQueryPtrOutput) AccessSelector added in v0.9.0

Optional. Specifies roles or permissions for analysis. This is optional.

func (IamPolicyAnalysisQueryPtrOutput) ConditionContext added in v0.9.0

Optional. The hypothetical context for IAM conditions evaluation.

func (IamPolicyAnalysisQueryPtrOutput) Elem added in v0.9.0

func (IamPolicyAnalysisQueryPtrOutput) ElementType added in v0.9.0

func (IamPolicyAnalysisQueryPtrOutput) IdentitySelector added in v0.9.0

Optional. Specifies an identity for analysis.

func (IamPolicyAnalysisQueryPtrOutput) Options added in v0.9.0

Optional. The query options.

func (IamPolicyAnalysisQueryPtrOutput) ResourceSelector added in v0.9.0

Optional. Specifies a resource for analysis.

func (IamPolicyAnalysisQueryPtrOutput) Scope added in v0.9.0

The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).

func (IamPolicyAnalysisQueryPtrOutput) ToIamPolicyAnalysisQueryPtrOutput added in v0.9.0

func (o IamPolicyAnalysisQueryPtrOutput) ToIamPolicyAnalysisQueryPtrOutput() IamPolicyAnalysisQueryPtrOutput

func (IamPolicyAnalysisQueryPtrOutput) ToIamPolicyAnalysisQueryPtrOutputWithContext added in v0.9.0

func (o IamPolicyAnalysisQueryPtrOutput) ToIamPolicyAnalysisQueryPtrOutputWithContext(ctx context.Context) IamPolicyAnalysisQueryPtrOutput

type IamPolicyAnalysisQueryResponse added in v0.9.0

type IamPolicyAnalysisQueryResponse struct {
	// Optional. Specifies roles or permissions for analysis. This is optional.
	AccessSelector AccessSelectorResponse `pulumi:"accessSelector"`
	// Optional. The hypothetical context for IAM conditions evaluation.
	ConditionContext ConditionContextResponse `pulumi:"conditionContext"`
	// Optional. Specifies an identity for analysis.
	IdentitySelector IdentitySelectorResponse `pulumi:"identitySelector"`
	// Optional. The query options.
	Options OptionsResponse `pulumi:"options"`
	// Optional. Specifies a resource for analysis.
	ResourceSelector ResourceSelectorResponse `pulumi:"resourceSelector"`
	// The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
	Scope string `pulumi:"scope"`
}

IAM policy analysis query message.

type IamPolicyAnalysisQueryResponseOutput added in v0.9.0

type IamPolicyAnalysisQueryResponseOutput struct{ *pulumi.OutputState }

IAM policy analysis query message.

func (IamPolicyAnalysisQueryResponseOutput) AccessSelector added in v0.9.0

Optional. Specifies roles or permissions for analysis. This is optional.

func (IamPolicyAnalysisQueryResponseOutput) ConditionContext added in v0.9.0

Optional. The hypothetical context for IAM conditions evaluation.

func (IamPolicyAnalysisQueryResponseOutput) ElementType added in v0.9.0

func (IamPolicyAnalysisQueryResponseOutput) IdentitySelector added in v0.9.0

Optional. Specifies an identity for analysis.

func (IamPolicyAnalysisQueryResponseOutput) Options added in v0.9.0

Optional. The query options.

func (IamPolicyAnalysisQueryResponseOutput) ResourceSelector added in v0.9.0

Optional. Specifies a resource for analysis.

func (IamPolicyAnalysisQueryResponseOutput) Scope added in v0.9.0

The relative name of the root asset. Only resources and IAM policies within the scope will be analyzed. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).

func (IamPolicyAnalysisQueryResponseOutput) ToIamPolicyAnalysisQueryResponseOutput added in v0.9.0

func (o IamPolicyAnalysisQueryResponseOutput) ToIamPolicyAnalysisQueryResponseOutput() IamPolicyAnalysisQueryResponseOutput

func (IamPolicyAnalysisQueryResponseOutput) ToIamPolicyAnalysisQueryResponseOutputWithContext added in v0.9.0

func (o IamPolicyAnalysisQueryResponseOutput) ToIamPolicyAnalysisQueryResponseOutputWithContext(ctx context.Context) IamPolicyAnalysisQueryResponseOutput

type IdentitySelector added in v0.9.0

type IdentitySelector struct {
	// The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
	Identity string `pulumi:"identity"`
}

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

type IdentitySelectorArgs added in v0.9.0

type IdentitySelectorArgs struct {
	// The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
	Identity pulumi.StringInput `pulumi:"identity"`
}

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

func (IdentitySelectorArgs) ElementType added in v0.9.0

func (IdentitySelectorArgs) ElementType() reflect.Type

func (IdentitySelectorArgs) ToIdentitySelectorOutput added in v0.9.0

func (i IdentitySelectorArgs) ToIdentitySelectorOutput() IdentitySelectorOutput

func (IdentitySelectorArgs) ToIdentitySelectorOutputWithContext added in v0.9.0

func (i IdentitySelectorArgs) ToIdentitySelectorOutputWithContext(ctx context.Context) IdentitySelectorOutput

func (IdentitySelectorArgs) ToIdentitySelectorPtrOutput added in v0.9.0

func (i IdentitySelectorArgs) ToIdentitySelectorPtrOutput() IdentitySelectorPtrOutput

func (IdentitySelectorArgs) ToIdentitySelectorPtrOutputWithContext added in v0.9.0

func (i IdentitySelectorArgs) ToIdentitySelectorPtrOutputWithContext(ctx context.Context) IdentitySelectorPtrOutput

type IdentitySelectorInput added in v0.9.0

type IdentitySelectorInput interface {
	pulumi.Input

	ToIdentitySelectorOutput() IdentitySelectorOutput
	ToIdentitySelectorOutputWithContext(context.Context) IdentitySelectorOutput
}

IdentitySelectorInput is an input type that accepts IdentitySelectorArgs and IdentitySelectorOutput values. You can construct a concrete instance of `IdentitySelectorInput` via:

IdentitySelectorArgs{...}

type IdentitySelectorOutput added in v0.9.0

type IdentitySelectorOutput struct{ *pulumi.OutputState }

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

func (IdentitySelectorOutput) ElementType added in v0.9.0

func (IdentitySelectorOutput) ElementType() reflect.Type

func (IdentitySelectorOutput) Identity added in v0.9.0

The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.

func (IdentitySelectorOutput) ToIdentitySelectorOutput added in v0.9.0

func (o IdentitySelectorOutput) ToIdentitySelectorOutput() IdentitySelectorOutput

func (IdentitySelectorOutput) ToIdentitySelectorOutputWithContext added in v0.9.0

func (o IdentitySelectorOutput) ToIdentitySelectorOutputWithContext(ctx context.Context) IdentitySelectorOutput

func (IdentitySelectorOutput) ToIdentitySelectorPtrOutput added in v0.9.0

func (o IdentitySelectorOutput) ToIdentitySelectorPtrOutput() IdentitySelectorPtrOutput

func (IdentitySelectorOutput) ToIdentitySelectorPtrOutputWithContext added in v0.9.0

func (o IdentitySelectorOutput) ToIdentitySelectorPtrOutputWithContext(ctx context.Context) IdentitySelectorPtrOutput

type IdentitySelectorPtrInput added in v0.9.0

type IdentitySelectorPtrInput interface {
	pulumi.Input

	ToIdentitySelectorPtrOutput() IdentitySelectorPtrOutput
	ToIdentitySelectorPtrOutputWithContext(context.Context) IdentitySelectorPtrOutput
}

IdentitySelectorPtrInput is an input type that accepts IdentitySelectorArgs, IdentitySelectorPtr and IdentitySelectorPtrOutput values. You can construct a concrete instance of `IdentitySelectorPtrInput` via:

        IdentitySelectorArgs{...}

or:

        nil

func IdentitySelectorPtr added in v0.9.0

func IdentitySelectorPtr(v *IdentitySelectorArgs) IdentitySelectorPtrInput

type IdentitySelectorPtrOutput added in v0.9.0

type IdentitySelectorPtrOutput struct{ *pulumi.OutputState }

func (IdentitySelectorPtrOutput) Elem added in v0.9.0

func (IdentitySelectorPtrOutput) ElementType added in v0.9.0

func (IdentitySelectorPtrOutput) ElementType() reflect.Type

func (IdentitySelectorPtrOutput) Identity added in v0.9.0

The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.

func (IdentitySelectorPtrOutput) ToIdentitySelectorPtrOutput added in v0.9.0

func (o IdentitySelectorPtrOutput) ToIdentitySelectorPtrOutput() IdentitySelectorPtrOutput

func (IdentitySelectorPtrOutput) ToIdentitySelectorPtrOutputWithContext added in v0.9.0

func (o IdentitySelectorPtrOutput) ToIdentitySelectorPtrOutputWithContext(ctx context.Context) IdentitySelectorPtrOutput

type IdentitySelectorResponse added in v0.9.0

type IdentitySelectorResponse struct {
	// The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
	Identity string `pulumi:"identity"`
}

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

type IdentitySelectorResponseOutput added in v0.9.0

type IdentitySelectorResponseOutput struct{ *pulumi.OutputState }

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

func (IdentitySelectorResponseOutput) ElementType added in v0.9.0

func (IdentitySelectorResponseOutput) Identity added in v0.9.0

The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.

func (IdentitySelectorResponseOutput) ToIdentitySelectorResponseOutput added in v0.9.0

func (o IdentitySelectorResponseOutput) ToIdentitySelectorResponseOutput() IdentitySelectorResponseOutput

func (IdentitySelectorResponseOutput) ToIdentitySelectorResponseOutputWithContext added in v0.9.0

func (o IdentitySelectorResponseOutput) ToIdentitySelectorResponseOutputWithContext(ctx context.Context) IdentitySelectorResponseOutput

type LookupFeedArgs added in v0.4.0

type LookupFeedArgs struct {
	FeedId string `pulumi:"feedId"`
	V1Id   string `pulumi:"v1Id"`
	V1Id1  string `pulumi:"v1Id1"`
}

type LookupFeedOutputArgs added in v0.8.0

type LookupFeedOutputArgs struct {
	FeedId pulumi.StringInput `pulumi:"feedId"`
	V1Id   pulumi.StringInput `pulumi:"v1Id"`
	V1Id1  pulumi.StringInput `pulumi:"v1Id1"`
}

func (LookupFeedOutputArgs) ElementType added in v0.8.0

func (LookupFeedOutputArgs) ElementType() reflect.Type

type LookupFeedResult added in v0.4.0

type LookupFeedResult struct {
	// A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).
	AssetNames []string `pulumi:"assetNames"`
	// A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).
	AssetTypes []string `pulumi:"assetTypes"`
	// A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.
	Condition ExprResponse `pulumi:"condition"`
	// Asset content type. If not specified, no content but the asset name and type will be returned.
	ContentType string `pulumi:"contentType"`
	// Feed output configuration defining where the asset updates are published to.
	FeedOutputConfig FeedOutputConfigResponse `pulumi:"feedOutputConfig"`
	// The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.
	Name string `pulumi:"name"`
	// A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.
	RelationshipTypes []string `pulumi:"relationshipTypes"`
}

func LookupFeed added in v0.4.0

func LookupFeed(ctx *pulumi.Context, args *LookupFeedArgs, opts ...pulumi.InvokeOption) (*LookupFeedResult, error)

Gets details about an asset feed.

type LookupFeedResultOutput added in v0.8.0

type LookupFeedResultOutput struct{ *pulumi.OutputState }

func LookupFeedOutput added in v0.8.0

func LookupFeedOutput(ctx *pulumi.Context, args LookupFeedOutputArgs, opts ...pulumi.InvokeOption) LookupFeedResultOutput

func (LookupFeedResultOutput) AssetNames added in v0.8.0

A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format).

func (LookupFeedResultOutput) AssetTypes added in v0.8.0

A list of types of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `"compute.googleapis.com/Disk"` For a list of all supported asset types, see [Supported asset types](/asset-inventory/docs/supported-asset-types).

func (LookupFeedResultOutput) Condition added in v0.8.0

A condition which determines whether an asset update should be published. If specified, an asset will be returned only when the expression evaluates to true. When set, `expression` field in the `Expr` must be a valid [CEL expression] (https://github.com/google/cel-spec) on a TemporalAsset with name `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted == true") will only publish Asset deletions. Other fields of `Expr` are optional. See our [user guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition) for detailed instructions.

func (LookupFeedResultOutput) ContentType added in v0.8.0

func (o LookupFeedResultOutput) ContentType() pulumi.StringOutput

Asset content type. If not specified, no content but the asset name and type will be returned.

func (LookupFeedResultOutput) ElementType added in v0.8.0

func (LookupFeedResultOutput) ElementType() reflect.Type

func (LookupFeedResultOutput) FeedOutputConfig added in v0.8.0

Feed output configuration defining where the asset updates are published to.

func (LookupFeedResultOutput) Name added in v0.8.0

The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.

func (LookupFeedResultOutput) RelationshipTypes added in v0.8.0

func (o LookupFeedResultOutput) RelationshipTypes() pulumi.StringArrayOutput

A list of relationship types to output, for example: `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationship updates on the [asset_names] or the [asset_types]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or [asset_types], or any of the [asset_names] or the [asset_types] doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships of the types of [asset_names] and [asset_types] or returns an error if any of the [asset_names] or the [asset_types] has no replationship support. See [Introduction to Cloud Asset Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all supported asset types and relationship types.

func (LookupFeedResultOutput) ToLookupFeedResultOutput added in v0.8.0

func (o LookupFeedResultOutput) ToLookupFeedResultOutput() LookupFeedResultOutput

func (LookupFeedResultOutput) ToLookupFeedResultOutputWithContext added in v0.8.0

func (o LookupFeedResultOutput) ToLookupFeedResultOutputWithContext(ctx context.Context) LookupFeedResultOutput

type LookupSavedQueryArgs added in v0.9.0

type LookupSavedQueryArgs struct {
	SavedQueryId string `pulumi:"savedQueryId"`
	V1Id         string `pulumi:"v1Id"`
	V1Id1        string `pulumi:"v1Id1"`
}

type LookupSavedQueryOutputArgs added in v0.9.0

type LookupSavedQueryOutputArgs struct {
	SavedQueryId pulumi.StringInput `pulumi:"savedQueryId"`
	V1Id         pulumi.StringInput `pulumi:"v1Id"`
	V1Id1        pulumi.StringInput `pulumi:"v1Id1"`
}

func (LookupSavedQueryOutputArgs) ElementType added in v0.9.0

func (LookupSavedQueryOutputArgs) ElementType() reflect.Type

type LookupSavedQueryResult added in v0.9.0

type LookupSavedQueryResult struct {
	// The query content.
	Content QueryContentResponse `pulumi:"content"`
	// The create time of this saved query.
	CreateTime string `pulumi:"createTime"`
	// The account's email address who has created this saved query.
	Creator string `pulumi:"creator"`
	// The description of this saved query. This value should be fewer than 255 characters.
	Description string `pulumi:"description"`
	// Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.
	Labels map[string]string `pulumi:"labels"`
	// The last update time of this saved query.
	LastUpdateTime string `pulumi:"lastUpdateTime"`
	// The account's email address who has updated this saved query most recently.
	LastUpdater string `pulumi:"lastUpdater"`
	// The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id
	Name string `pulumi:"name"`
}

func LookupSavedQuery added in v0.9.0

func LookupSavedQuery(ctx *pulumi.Context, args *LookupSavedQueryArgs, opts ...pulumi.InvokeOption) (*LookupSavedQueryResult, error)

Gets details about a saved query.

type LookupSavedQueryResultOutput added in v0.9.0

type LookupSavedQueryResultOutput struct{ *pulumi.OutputState }

func LookupSavedQueryOutput added in v0.9.0

func (LookupSavedQueryResultOutput) Content added in v0.9.0

The query content.

func (LookupSavedQueryResultOutput) CreateTime added in v0.9.0

The create time of this saved query.

func (LookupSavedQueryResultOutput) Creator added in v0.9.0

The account's email address who has created this saved query.

func (LookupSavedQueryResultOutput) Description added in v0.9.0

The description of this saved query. This value should be fewer than 255 characters.

func (LookupSavedQueryResultOutput) ElementType added in v0.9.0

func (LookupSavedQueryResultOutput) Labels added in v0.9.0

Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.

func (LookupSavedQueryResultOutput) LastUpdateTime added in v0.9.0

The last update time of this saved query.

func (LookupSavedQueryResultOutput) LastUpdater added in v0.9.0

The account's email address who has updated this saved query most recently.

func (LookupSavedQueryResultOutput) Name added in v0.9.0

The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id

func (LookupSavedQueryResultOutput) ToLookupSavedQueryResultOutput added in v0.9.0

func (o LookupSavedQueryResultOutput) ToLookupSavedQueryResultOutput() LookupSavedQueryResultOutput

func (LookupSavedQueryResultOutput) ToLookupSavedQueryResultOutputWithContext added in v0.9.0

func (o LookupSavedQueryResultOutput) ToLookupSavedQueryResultOutputWithContext(ctx context.Context) LookupSavedQueryResultOutput

type Options added in v0.9.0

type Options struct {
	// Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.
	AnalyzeServiceAccountImpersonation *bool `pulumi:"analyzeServiceAccountImpersonation"`
	// Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.
	ExpandGroups *bool `pulumi:"expandGroups"`
	// Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.
	ExpandResources *bool `pulumi:"expandResources"`
	// Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.
	ExpandRoles *bool `pulumi:"expandRoles"`
	// Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.
	OutputGroupEdges *bool `pulumi:"outputGroupEdges"`
	// Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.
	OutputResourceEdges *bool `pulumi:"outputResourceEdges"`
}

Contains query options.

type OptionsArgs added in v0.9.0

type OptionsArgs struct {
	// Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.
	AnalyzeServiceAccountImpersonation pulumi.BoolPtrInput `pulumi:"analyzeServiceAccountImpersonation"`
	// Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.
	ExpandGroups pulumi.BoolPtrInput `pulumi:"expandGroups"`
	// Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.
	ExpandResources pulumi.BoolPtrInput `pulumi:"expandResources"`
	// Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.
	ExpandRoles pulumi.BoolPtrInput `pulumi:"expandRoles"`
	// Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.
	OutputGroupEdges pulumi.BoolPtrInput `pulumi:"outputGroupEdges"`
	// Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.
	OutputResourceEdges pulumi.BoolPtrInput `pulumi:"outputResourceEdges"`
}

Contains query options.

func (OptionsArgs) ElementType added in v0.9.0

func (OptionsArgs) ElementType() reflect.Type

func (OptionsArgs) ToOptionsOutput added in v0.9.0

func (i OptionsArgs) ToOptionsOutput() OptionsOutput

func (OptionsArgs) ToOptionsOutputWithContext added in v0.9.0

func (i OptionsArgs) ToOptionsOutputWithContext(ctx context.Context) OptionsOutput

func (OptionsArgs) ToOptionsPtrOutput added in v0.9.0

func (i OptionsArgs) ToOptionsPtrOutput() OptionsPtrOutput

func (OptionsArgs) ToOptionsPtrOutputWithContext added in v0.9.0

func (i OptionsArgs) ToOptionsPtrOutputWithContext(ctx context.Context) OptionsPtrOutput

type OptionsInput added in v0.9.0

type OptionsInput interface {
	pulumi.Input

	ToOptionsOutput() OptionsOutput
	ToOptionsOutputWithContext(context.Context) OptionsOutput
}

OptionsInput is an input type that accepts OptionsArgs and OptionsOutput values. You can construct a concrete instance of `OptionsInput` via:

OptionsArgs{...}

type OptionsOutput added in v0.9.0

type OptionsOutput struct{ *pulumi.OutputState }

Contains query options.

func (OptionsOutput) AnalyzeServiceAccountImpersonation added in v0.9.0

func (o OptionsOutput) AnalyzeServiceAccountImpersonation() pulumi.BoolPtrOutput

Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.

func (OptionsOutput) ElementType added in v0.9.0

func (OptionsOutput) ElementType() reflect.Type

func (OptionsOutput) ExpandGroups added in v0.9.0

func (o OptionsOutput) ExpandGroups() pulumi.BoolPtrOutput

Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.

func (OptionsOutput) ExpandResources added in v0.9.0

func (o OptionsOutput) ExpandResources() pulumi.BoolPtrOutput

Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.

func (OptionsOutput) ExpandRoles added in v0.9.0

func (o OptionsOutput) ExpandRoles() pulumi.BoolPtrOutput

Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.

func (OptionsOutput) OutputGroupEdges added in v0.9.0

func (o OptionsOutput) OutputGroupEdges() pulumi.BoolPtrOutput

Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.

func (OptionsOutput) OutputResourceEdges added in v0.9.0

func (o OptionsOutput) OutputResourceEdges() pulumi.BoolPtrOutput

Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.

func (OptionsOutput) ToOptionsOutput added in v0.9.0

func (o OptionsOutput) ToOptionsOutput() OptionsOutput

func (OptionsOutput) ToOptionsOutputWithContext added in v0.9.0

func (o OptionsOutput) ToOptionsOutputWithContext(ctx context.Context) OptionsOutput

func (OptionsOutput) ToOptionsPtrOutput added in v0.9.0

func (o OptionsOutput) ToOptionsPtrOutput() OptionsPtrOutput

func (OptionsOutput) ToOptionsPtrOutputWithContext added in v0.9.0

func (o OptionsOutput) ToOptionsPtrOutputWithContext(ctx context.Context) OptionsPtrOutput

type OptionsPtrInput added in v0.9.0

type OptionsPtrInput interface {
	pulumi.Input

	ToOptionsPtrOutput() OptionsPtrOutput
	ToOptionsPtrOutputWithContext(context.Context) OptionsPtrOutput
}

OptionsPtrInput is an input type that accepts OptionsArgs, OptionsPtr and OptionsPtrOutput values. You can construct a concrete instance of `OptionsPtrInput` via:

        OptionsArgs{...}

or:

        nil

func OptionsPtr added in v0.9.0

func OptionsPtr(v *OptionsArgs) OptionsPtrInput

type OptionsPtrOutput added in v0.9.0

type OptionsPtrOutput struct{ *pulumi.OutputState }

func (OptionsPtrOutput) AnalyzeServiceAccountImpersonation added in v0.9.0

func (o OptionsPtrOutput) AnalyzeServiceAccountImpersonation() pulumi.BoolPtrOutput

Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.

func (OptionsPtrOutput) Elem added in v0.9.0

func (OptionsPtrOutput) ElementType added in v0.9.0

func (OptionsPtrOutput) ElementType() reflect.Type

func (OptionsPtrOutput) ExpandGroups added in v0.9.0

func (o OptionsPtrOutput) ExpandGroups() pulumi.BoolPtrOutput

Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.

func (OptionsPtrOutput) ExpandResources added in v0.9.0

func (o OptionsPtrOutput) ExpandResources() pulumi.BoolPtrOutput

Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.

func (OptionsPtrOutput) ExpandRoles added in v0.9.0

func (o OptionsPtrOutput) ExpandRoles() pulumi.BoolPtrOutput

Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.

func (OptionsPtrOutput) OutputGroupEdges added in v0.9.0

func (o OptionsPtrOutput) OutputGroupEdges() pulumi.BoolPtrOutput

Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.

func (OptionsPtrOutput) OutputResourceEdges added in v0.9.0

func (o OptionsPtrOutput) OutputResourceEdges() pulumi.BoolPtrOutput

Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.

func (OptionsPtrOutput) ToOptionsPtrOutput added in v0.9.0

func (o OptionsPtrOutput) ToOptionsPtrOutput() OptionsPtrOutput

func (OptionsPtrOutput) ToOptionsPtrOutputWithContext added in v0.9.0

func (o OptionsPtrOutput) ToOptionsPtrOutputWithContext(ctx context.Context) OptionsPtrOutput

type OptionsResponse added in v0.9.0

type OptionsResponse struct {
	// Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.
	AnalyzeServiceAccountImpersonation bool `pulumi:"analyzeServiceAccountImpersonation"`
	// Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.
	ExpandGroups bool `pulumi:"expandGroups"`
	// Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.
	ExpandResources bool `pulumi:"expandResources"`
	// Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.
	ExpandRoles bool `pulumi:"expandRoles"`
	// Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.
	OutputGroupEdges bool `pulumi:"outputGroupEdges"`
	// Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.
	OutputResourceEdges bool `pulumi:"outputResourceEdges"`
}

Contains query options.

type OptionsResponseOutput added in v0.9.0

type OptionsResponseOutput struct{ *pulumi.OutputState }

Contains query options.

func (OptionsResponseOutput) AnalyzeServiceAccountImpersonation added in v0.9.0

func (o OptionsResponseOutput) AnalyzeServiceAccountImpersonation() pulumi.BoolOutput

Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false.

func (OptionsResponseOutput) ElementType added in v0.9.0

func (OptionsResponseOutput) ElementType() reflect.Type

func (OptionsResponseOutput) ExpandGroups added in v0.9.0

func (o OptionsResponseOutput) ExpandGroups() pulumi.BoolOutput

Optional. If true, the identities section of the result will expand any Google groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.identity_selector is specified, the identity in the result will be determined by the selector, and this flag is not allowed to set. If true, the default max expansion per group is 1000 for AssetService.AnalyzeIamPolicy][]. Default is false.

func (OptionsResponseOutput) ExpandResources added in v0.9.0

func (o OptionsResponseOutput) ExpandResources() pulumi.BoolOutput

Optional. If true and IamPolicyAnalysisQuery.resource_selector is not specified, the resource section of the result will expand any resource attached to an IAM policy to include resources lower in the resource hierarchy. For example, if the request analyzes for which resources user A has permission P, and the results include an IAM policy with P on a Google Cloud folder, the results will also include resources in that folder with permission P. If true and IamPolicyAnalysisQuery.resource_selector is specified, the resource section of the result will expand the specified resource to include resources lower in the resource hierarchy. Only project or lower resources are supported. Folder and organization resources cannot be used together with this option. For example, if the request analyzes for which users have permission P on a Google Cloud project with this option enabled, the results will include all users who have permission P on that project or any lower resource. If true, the default max expansion per resource is 1000 for AssetService.AnalyzeIamPolicy][] and 100000 for AssetService.AnalyzeIamPolicyLongrunning][]. Default is false.

func (OptionsResponseOutput) ExpandRoles added in v0.9.0

func (o OptionsResponseOutput) ExpandRoles() pulumi.BoolOutput

Optional. If true, the access section of result will expand any roles appearing in IAM policy bindings to include their permissions. If IamPolicyAnalysisQuery.access_selector is specified, the access section of the result will be determined by the selector, and this flag is not allowed to set. Default is false.

func (OptionsResponseOutput) OutputGroupEdges added in v0.9.0

func (o OptionsResponseOutput) OutputGroupEdges() pulumi.BoolOutput

Optional. If true, the result will output the relevant membership relationships between groups and other groups, and between groups and principals. Default is false.

func (OptionsResponseOutput) OutputResourceEdges added in v0.9.0

func (o OptionsResponseOutput) OutputResourceEdges() pulumi.BoolOutput

Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.

func (OptionsResponseOutput) ToOptionsResponseOutput added in v0.9.0

func (o OptionsResponseOutput) ToOptionsResponseOutput() OptionsResponseOutput

func (OptionsResponseOutput) ToOptionsResponseOutputWithContext added in v0.9.0

func (o OptionsResponseOutput) ToOptionsResponseOutputWithContext(ctx context.Context) OptionsResponseOutput

type PubsubDestination

type PubsubDestination struct {
	// The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
	Topic *string `pulumi:"topic"`
}

A Pub/Sub destination.

type PubsubDestinationArgs

type PubsubDestinationArgs struct {
	// The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
	Topic pulumi.StringPtrInput `pulumi:"topic"`
}

A Pub/Sub destination.

func (PubsubDestinationArgs) ElementType

func (PubsubDestinationArgs) ElementType() reflect.Type

func (PubsubDestinationArgs) ToPubsubDestinationOutput

func (i PubsubDestinationArgs) ToPubsubDestinationOutput() PubsubDestinationOutput

func (PubsubDestinationArgs) ToPubsubDestinationOutputWithContext

func (i PubsubDestinationArgs) ToPubsubDestinationOutputWithContext(ctx context.Context) PubsubDestinationOutput

func (PubsubDestinationArgs) ToPubsubDestinationPtrOutput

func (i PubsubDestinationArgs) ToPubsubDestinationPtrOutput() PubsubDestinationPtrOutput

func (PubsubDestinationArgs) ToPubsubDestinationPtrOutputWithContext

func (i PubsubDestinationArgs) ToPubsubDestinationPtrOutputWithContext(ctx context.Context) PubsubDestinationPtrOutput

type PubsubDestinationInput

type PubsubDestinationInput interface {
	pulumi.Input

	ToPubsubDestinationOutput() PubsubDestinationOutput
	ToPubsubDestinationOutputWithContext(context.Context) PubsubDestinationOutput
}

PubsubDestinationInput is an input type that accepts PubsubDestinationArgs and PubsubDestinationOutput values. You can construct a concrete instance of `PubsubDestinationInput` via:

PubsubDestinationArgs{...}

type PubsubDestinationOutput

type PubsubDestinationOutput struct{ *pulumi.OutputState }

A Pub/Sub destination.

func (PubsubDestinationOutput) ElementType

func (PubsubDestinationOutput) ElementType() reflect.Type

func (PubsubDestinationOutput) ToPubsubDestinationOutput

func (o PubsubDestinationOutput) ToPubsubDestinationOutput() PubsubDestinationOutput

func (PubsubDestinationOutput) ToPubsubDestinationOutputWithContext

func (o PubsubDestinationOutput) ToPubsubDestinationOutputWithContext(ctx context.Context) PubsubDestinationOutput

func (PubsubDestinationOutput) ToPubsubDestinationPtrOutput

func (o PubsubDestinationOutput) ToPubsubDestinationPtrOutput() PubsubDestinationPtrOutput

func (PubsubDestinationOutput) ToPubsubDestinationPtrOutputWithContext

func (o PubsubDestinationOutput) ToPubsubDestinationPtrOutputWithContext(ctx context.Context) PubsubDestinationPtrOutput

func (PubsubDestinationOutput) Topic

The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.

type PubsubDestinationPtrInput

type PubsubDestinationPtrInput interface {
	pulumi.Input

	ToPubsubDestinationPtrOutput() PubsubDestinationPtrOutput
	ToPubsubDestinationPtrOutputWithContext(context.Context) PubsubDestinationPtrOutput
}

PubsubDestinationPtrInput is an input type that accepts PubsubDestinationArgs, PubsubDestinationPtr and PubsubDestinationPtrOutput values. You can construct a concrete instance of `PubsubDestinationPtrInput` via:

        PubsubDestinationArgs{...}

or:

        nil

type PubsubDestinationPtrOutput

type PubsubDestinationPtrOutput struct{ *pulumi.OutputState }

func (PubsubDestinationPtrOutput) Elem

func (PubsubDestinationPtrOutput) ElementType

func (PubsubDestinationPtrOutput) ElementType() reflect.Type

func (PubsubDestinationPtrOutput) ToPubsubDestinationPtrOutput

func (o PubsubDestinationPtrOutput) ToPubsubDestinationPtrOutput() PubsubDestinationPtrOutput

func (PubsubDestinationPtrOutput) ToPubsubDestinationPtrOutputWithContext

func (o PubsubDestinationPtrOutput) ToPubsubDestinationPtrOutputWithContext(ctx context.Context) PubsubDestinationPtrOutput

func (PubsubDestinationPtrOutput) Topic

The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.

type PubsubDestinationResponse

type PubsubDestinationResponse struct {
	// The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
	Topic string `pulumi:"topic"`
}

A Pub/Sub destination.

type PubsubDestinationResponseOutput

type PubsubDestinationResponseOutput struct{ *pulumi.OutputState }

A Pub/Sub destination.

func (PubsubDestinationResponseOutput) ElementType

func (PubsubDestinationResponseOutput) ToPubsubDestinationResponseOutput

func (o PubsubDestinationResponseOutput) ToPubsubDestinationResponseOutput() PubsubDestinationResponseOutput

func (PubsubDestinationResponseOutput) ToPubsubDestinationResponseOutputWithContext

func (o PubsubDestinationResponseOutput) ToPubsubDestinationResponseOutputWithContext(ctx context.Context) PubsubDestinationResponseOutput

func (PubsubDestinationResponseOutput) Topic

The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`.

type QueryContent added in v0.9.0

type QueryContent struct {
	// An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.
	IamPolicyAnalysisQuery *IamPolicyAnalysisQuery `pulumi:"iamPolicyAnalysisQuery"`
}

The query content.

type QueryContentArgs added in v0.9.0

type QueryContentArgs struct {
	// An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.
	IamPolicyAnalysisQuery IamPolicyAnalysisQueryPtrInput `pulumi:"iamPolicyAnalysisQuery"`
}

The query content.

func (QueryContentArgs) ElementType added in v0.9.0

func (QueryContentArgs) ElementType() reflect.Type

func (QueryContentArgs) ToQueryContentOutput added in v0.9.0

func (i QueryContentArgs) ToQueryContentOutput() QueryContentOutput

func (QueryContentArgs) ToQueryContentOutputWithContext added in v0.9.0

func (i QueryContentArgs) ToQueryContentOutputWithContext(ctx context.Context) QueryContentOutput

func (QueryContentArgs) ToQueryContentPtrOutput added in v0.9.0

func (i QueryContentArgs) ToQueryContentPtrOutput() QueryContentPtrOutput

func (QueryContentArgs) ToQueryContentPtrOutputWithContext added in v0.9.0

func (i QueryContentArgs) ToQueryContentPtrOutputWithContext(ctx context.Context) QueryContentPtrOutput

type QueryContentInput added in v0.9.0

type QueryContentInput interface {
	pulumi.Input

	ToQueryContentOutput() QueryContentOutput
	ToQueryContentOutputWithContext(context.Context) QueryContentOutput
}

QueryContentInput is an input type that accepts QueryContentArgs and QueryContentOutput values. You can construct a concrete instance of `QueryContentInput` via:

QueryContentArgs{...}

type QueryContentOutput added in v0.9.0

type QueryContentOutput struct{ *pulumi.OutputState }

The query content.

func (QueryContentOutput) ElementType added in v0.9.0

func (QueryContentOutput) ElementType() reflect.Type

func (QueryContentOutput) IamPolicyAnalysisQuery added in v0.9.0

func (o QueryContentOutput) IamPolicyAnalysisQuery() IamPolicyAnalysisQueryPtrOutput

An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.

func (QueryContentOutput) ToQueryContentOutput added in v0.9.0

func (o QueryContentOutput) ToQueryContentOutput() QueryContentOutput

func (QueryContentOutput) ToQueryContentOutputWithContext added in v0.9.0

func (o QueryContentOutput) ToQueryContentOutputWithContext(ctx context.Context) QueryContentOutput

func (QueryContentOutput) ToQueryContentPtrOutput added in v0.9.0

func (o QueryContentOutput) ToQueryContentPtrOutput() QueryContentPtrOutput

func (QueryContentOutput) ToQueryContentPtrOutputWithContext added in v0.9.0

func (o QueryContentOutput) ToQueryContentPtrOutputWithContext(ctx context.Context) QueryContentPtrOutput

type QueryContentPtrInput added in v0.9.0

type QueryContentPtrInput interface {
	pulumi.Input

	ToQueryContentPtrOutput() QueryContentPtrOutput
	ToQueryContentPtrOutputWithContext(context.Context) QueryContentPtrOutput
}

QueryContentPtrInput is an input type that accepts QueryContentArgs, QueryContentPtr and QueryContentPtrOutput values. You can construct a concrete instance of `QueryContentPtrInput` via:

        QueryContentArgs{...}

or:

        nil

func QueryContentPtr added in v0.9.0

func QueryContentPtr(v *QueryContentArgs) QueryContentPtrInput

type QueryContentPtrOutput added in v0.9.0

type QueryContentPtrOutput struct{ *pulumi.OutputState }

func (QueryContentPtrOutput) Elem added in v0.9.0

func (QueryContentPtrOutput) ElementType added in v0.9.0

func (QueryContentPtrOutput) ElementType() reflect.Type

func (QueryContentPtrOutput) IamPolicyAnalysisQuery added in v0.9.0

func (o QueryContentPtrOutput) IamPolicyAnalysisQuery() IamPolicyAnalysisQueryPtrOutput

An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.

func (QueryContentPtrOutput) ToQueryContentPtrOutput added in v0.9.0

func (o QueryContentPtrOutput) ToQueryContentPtrOutput() QueryContentPtrOutput

func (QueryContentPtrOutput) ToQueryContentPtrOutputWithContext added in v0.9.0

func (o QueryContentPtrOutput) ToQueryContentPtrOutputWithContext(ctx context.Context) QueryContentPtrOutput

type QueryContentResponse added in v0.9.0

type QueryContentResponse struct {
	// An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.
	IamPolicyAnalysisQuery IamPolicyAnalysisQueryResponse `pulumi:"iamPolicyAnalysisQuery"`
}

The query content.

type QueryContentResponseOutput added in v0.9.0

type QueryContentResponseOutput struct{ *pulumi.OutputState }

The query content.

func (QueryContentResponseOutput) ElementType added in v0.9.0

func (QueryContentResponseOutput) ElementType() reflect.Type

func (QueryContentResponseOutput) IamPolicyAnalysisQuery added in v0.9.0

An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC.

func (QueryContentResponseOutput) ToQueryContentResponseOutput added in v0.9.0

func (o QueryContentResponseOutput) ToQueryContentResponseOutput() QueryContentResponseOutput

func (QueryContentResponseOutput) ToQueryContentResponseOutputWithContext added in v0.9.0

func (o QueryContentResponseOutput) ToQueryContentResponseOutputWithContext(ctx context.Context) QueryContentResponseOutput

type ResourceSelector added in v0.9.0

type ResourceSelector struct {
	// The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
	FullResourceName string `pulumi:"fullResourceName"`
}

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.

type ResourceSelectorArgs added in v0.9.0

type ResourceSelectorArgs struct {
	// The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
	FullResourceName pulumi.StringInput `pulumi:"fullResourceName"`
}

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.

func (ResourceSelectorArgs) ElementType added in v0.9.0

func (ResourceSelectorArgs) ElementType() reflect.Type

func (ResourceSelectorArgs) ToResourceSelectorOutput added in v0.9.0

func (i ResourceSelectorArgs) ToResourceSelectorOutput() ResourceSelectorOutput

func (ResourceSelectorArgs) ToResourceSelectorOutputWithContext added in v0.9.0

func (i ResourceSelectorArgs) ToResourceSelectorOutputWithContext(ctx context.Context) ResourceSelectorOutput

func (ResourceSelectorArgs) ToResourceSelectorPtrOutput added in v0.9.0

func (i ResourceSelectorArgs) ToResourceSelectorPtrOutput() ResourceSelectorPtrOutput

func (ResourceSelectorArgs) ToResourceSelectorPtrOutputWithContext added in v0.9.0

func (i ResourceSelectorArgs) ToResourceSelectorPtrOutputWithContext(ctx context.Context) ResourceSelectorPtrOutput

type ResourceSelectorInput added in v0.9.0

type ResourceSelectorInput interface {
	pulumi.Input

	ToResourceSelectorOutput() ResourceSelectorOutput
	ToResourceSelectorOutputWithContext(context.Context) ResourceSelectorOutput
}

ResourceSelectorInput is an input type that accepts ResourceSelectorArgs and ResourceSelectorOutput values. You can construct a concrete instance of `ResourceSelectorInput` via:

ResourceSelectorArgs{...}

type ResourceSelectorOutput added in v0.9.0

type ResourceSelectorOutput struct{ *pulumi.OutputState }

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.

func (ResourceSelectorOutput) ElementType added in v0.9.0

func (ResourceSelectorOutput) ElementType() reflect.Type

func (ResourceSelectorOutput) FullResourceName added in v0.9.0

func (o ResourceSelectorOutput) FullResourceName() pulumi.StringOutput

The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).

func (ResourceSelectorOutput) ToResourceSelectorOutput added in v0.9.0

func (o ResourceSelectorOutput) ToResourceSelectorOutput() ResourceSelectorOutput

func (ResourceSelectorOutput) ToResourceSelectorOutputWithContext added in v0.9.0

func (o ResourceSelectorOutput) ToResourceSelectorOutputWithContext(ctx context.Context) ResourceSelectorOutput

func (ResourceSelectorOutput) ToResourceSelectorPtrOutput added in v0.9.0

func (o ResourceSelectorOutput) ToResourceSelectorPtrOutput() ResourceSelectorPtrOutput

func (ResourceSelectorOutput) ToResourceSelectorPtrOutputWithContext added in v0.9.0

func (o ResourceSelectorOutput) ToResourceSelectorPtrOutputWithContext(ctx context.Context) ResourceSelectorPtrOutput

type ResourceSelectorPtrInput added in v0.9.0

type ResourceSelectorPtrInput interface {
	pulumi.Input

	ToResourceSelectorPtrOutput() ResourceSelectorPtrOutput
	ToResourceSelectorPtrOutputWithContext(context.Context) ResourceSelectorPtrOutput
}

ResourceSelectorPtrInput is an input type that accepts ResourceSelectorArgs, ResourceSelectorPtr and ResourceSelectorPtrOutput values. You can construct a concrete instance of `ResourceSelectorPtrInput` via:

        ResourceSelectorArgs{...}

or:

        nil

func ResourceSelectorPtr added in v0.9.0

func ResourceSelectorPtr(v *ResourceSelectorArgs) ResourceSelectorPtrInput

type ResourceSelectorPtrOutput added in v0.9.0

type ResourceSelectorPtrOutput struct{ *pulumi.OutputState }

func (ResourceSelectorPtrOutput) Elem added in v0.9.0

func (ResourceSelectorPtrOutput) ElementType added in v0.9.0

func (ResourceSelectorPtrOutput) ElementType() reflect.Type

func (ResourceSelectorPtrOutput) FullResourceName added in v0.9.0

func (o ResourceSelectorPtrOutput) FullResourceName() pulumi.StringPtrOutput

The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).

func (ResourceSelectorPtrOutput) ToResourceSelectorPtrOutput added in v0.9.0

func (o ResourceSelectorPtrOutput) ToResourceSelectorPtrOutput() ResourceSelectorPtrOutput

func (ResourceSelectorPtrOutput) ToResourceSelectorPtrOutputWithContext added in v0.9.0

func (o ResourceSelectorPtrOutput) ToResourceSelectorPtrOutputWithContext(ctx context.Context) ResourceSelectorPtrOutput

type ResourceSelectorResponse added in v0.9.0

type ResourceSelectorResponse struct {
	// The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
	FullResourceName string `pulumi:"fullResourceName"`
}

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.

type ResourceSelectorResponseOutput added in v0.9.0

type ResourceSelectorResponseOutput struct{ *pulumi.OutputState }

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.

func (ResourceSelectorResponseOutput) ElementType added in v0.9.0

func (ResourceSelectorResponseOutput) FullResourceName added in v0.9.0

func (o ResourceSelectorResponseOutput) FullResourceName() pulumi.StringOutput

The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).

func (ResourceSelectorResponseOutput) ToResourceSelectorResponseOutput added in v0.9.0

func (o ResourceSelectorResponseOutput) ToResourceSelectorResponseOutput() ResourceSelectorResponseOutput

func (ResourceSelectorResponseOutput) ToResourceSelectorResponseOutputWithContext added in v0.9.0

func (o ResourceSelectorResponseOutput) ToResourceSelectorResponseOutputWithContext(ctx context.Context) ResourceSelectorResponseOutput

type SavedQuery added in v0.9.0

type SavedQuery struct {
	pulumi.CustomResourceState

	// The query content.
	Content QueryContentResponseOutput `pulumi:"content"`
	// The create time of this saved query.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The account's email address who has created this saved query.
	Creator pulumi.StringOutput `pulumi:"creator"`
	// The description of this saved query. This value should be fewer than 255 characters.
	Description pulumi.StringOutput `pulumi:"description"`
	// Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The last update time of this saved query.
	LastUpdateTime pulumi.StringOutput `pulumi:"lastUpdateTime"`
	// The account's email address who has updated this saved query most recently.
	LastUpdater pulumi.StringOutput `pulumi:"lastUpdater"`
	// The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id
	Name pulumi.StringOutput `pulumi:"name"`
	// Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
	SavedQueryId pulumi.StringOutput `pulumi:"savedQueryId"`
	V1Id         pulumi.StringOutput `pulumi:"v1Id"`
	V1Id1        pulumi.StringOutput `pulumi:"v1Id1"`
}

Creates a saved query in a parent project/folder/organization. Auto-naming is currently not supported for this resource.

func GetSavedQuery added in v0.9.0

func GetSavedQuery(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SavedQueryState, opts ...pulumi.ResourceOption) (*SavedQuery, error)

GetSavedQuery gets an existing SavedQuery resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSavedQuery added in v0.9.0

func NewSavedQuery(ctx *pulumi.Context,
	name string, args *SavedQueryArgs, opts ...pulumi.ResourceOption) (*SavedQuery, error)

NewSavedQuery registers a new resource with the given unique name, arguments, and options.

func (*SavedQuery) ElementType added in v0.9.0

func (*SavedQuery) ElementType() reflect.Type

func (*SavedQuery) ToSavedQueryOutput added in v0.9.0

func (i *SavedQuery) ToSavedQueryOutput() SavedQueryOutput

func (*SavedQuery) ToSavedQueryOutputWithContext added in v0.9.0

func (i *SavedQuery) ToSavedQueryOutputWithContext(ctx context.Context) SavedQueryOutput

type SavedQueryArgs added in v0.9.0

type SavedQueryArgs struct {
	// The query content.
	Content QueryContentPtrInput
	// The description of this saved query. This value should be fewer than 255 characters.
	Description pulumi.StringPtrInput
	// Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.
	Labels pulumi.StringMapInput
	// The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id
	Name pulumi.StringPtrInput
	// Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
	SavedQueryId pulumi.StringInput
	V1Id         pulumi.StringInput
	V1Id1        pulumi.StringInput
}

The set of arguments for constructing a SavedQuery resource.

func (SavedQueryArgs) ElementType added in v0.9.0

func (SavedQueryArgs) ElementType() reflect.Type

type SavedQueryInput added in v0.9.0

type SavedQueryInput interface {
	pulumi.Input

	ToSavedQueryOutput() SavedQueryOutput
	ToSavedQueryOutputWithContext(ctx context.Context) SavedQueryOutput
}

type SavedQueryOutput added in v0.9.0

type SavedQueryOutput struct{ *pulumi.OutputState }

func (SavedQueryOutput) Content added in v0.19.0

The query content.

func (SavedQueryOutput) CreateTime added in v0.19.0

func (o SavedQueryOutput) CreateTime() pulumi.StringOutput

The create time of this saved query.

func (SavedQueryOutput) Creator added in v0.19.0

func (o SavedQueryOutput) Creator() pulumi.StringOutput

The account's email address who has created this saved query.

func (SavedQueryOutput) Description added in v0.19.0

func (o SavedQueryOutput) Description() pulumi.StringOutput

The description of this saved query. This value should be fewer than 255 characters.

func (SavedQueryOutput) ElementType added in v0.9.0

func (SavedQueryOutput) ElementType() reflect.Type

func (SavedQueryOutput) Labels added in v0.19.0

Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.

func (SavedQueryOutput) LastUpdateTime added in v0.19.0

func (o SavedQueryOutput) LastUpdateTime() pulumi.StringOutput

The last update time of this saved query.

func (SavedQueryOutput) LastUpdater added in v0.19.0

func (o SavedQueryOutput) LastUpdater() pulumi.StringOutput

The account's email address who has updated this saved query most recently.

func (SavedQueryOutput) Name added in v0.19.0

The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id

func (SavedQueryOutput) SavedQueryId added in v0.21.0

func (o SavedQueryOutput) SavedQueryId() pulumi.StringOutput

Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.

func (SavedQueryOutput) ToSavedQueryOutput added in v0.9.0

func (o SavedQueryOutput) ToSavedQueryOutput() SavedQueryOutput

func (SavedQueryOutput) ToSavedQueryOutputWithContext added in v0.9.0

func (o SavedQueryOutput) ToSavedQueryOutputWithContext(ctx context.Context) SavedQueryOutput

func (SavedQueryOutput) V1Id added in v0.21.0

func (SavedQueryOutput) V1Id1 added in v0.21.0

type SavedQueryState added in v0.9.0

type SavedQueryState struct {
}

func (SavedQueryState) ElementType added in v0.9.0

func (SavedQueryState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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