published on Thursday, May 7, 2026 by Pulumi
published on Thursday, May 7, 2026 by Pulumi
Three different resources help you manage your IAM policy for Vertex AI ReasoningEngine. Each of these resources serves a different use case:
gcp.vertex.AiReasoningEngineIamPolicy: Authoritative. Sets the IAM policy for the reasoningengine and replaces any existing policy already attached.gcp.vertex.AiReasoningEngineIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the reasoningengine are preserved.gcp.vertex.AiReasoningEngineIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the reasoningengine are preserved.
A data source can be used to retrieve policy data in advent you do not need creation
gcp.vertex.AiReasoningEngineIamPolicy: Retrieves the IAM policy for the reasoningengine
Note:
gcp.vertex.AiReasoningEngineIamPolicycannot be used in conjunction withgcp.vertex.AiReasoningEngineIamBindingandgcp.vertex.AiReasoningEngineIamMemberor they will fight over what your policy should be.
Note:
gcp.vertex.AiReasoningEngineIamBindingresources can be used in conjunction withgcp.vertex.AiReasoningEngineIamMemberresources only if they do not grant privilege to the same role.
gcp.vertex.AiReasoningEngineIamPolicy
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const admin = gcp.organizations.getIAMPolicy({
bindings: [{
role: "roles/viewer",
members: ["user:jane@example.com"],
}],
});
const policy = new gcp.vertex.AiReasoningEngineIamPolicy("policy", {
project: reasoningEngine.project,
region: reasoningEngine.region,
reasoningEngine: reasoningEngine.name,
policyData: admin.then(admin => admin.policyData),
});
import pulumi
import pulumi_gcp as gcp
admin = gcp.organizations.get_iam_policy(bindings=[{
"role": "roles/viewer",
"members": ["user:jane@example.com"],
}])
policy = gcp.vertex.AiReasoningEngineIamPolicy("policy",
project=reasoning_engine["project"],
region=reasoning_engine["region"],
reasoning_engine=reasoning_engine["name"],
policy_data=admin.policy_data)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/vertex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
Bindings: []organizations.GetIAMPolicyBinding{
{
Role: "roles/viewer",
Members: []string{
"user:jane@example.com",
},
},
},
}, nil)
if err != nil {
return err
}
_, err = vertex.NewAiReasoningEngineIamPolicy(ctx, "policy", &vertex.AiReasoningEngineIamPolicyArgs{
Project: pulumi.Any(reasoningEngine.Project),
Region: pulumi.Any(reasoningEngine.Region),
ReasoningEngine: pulumi.Any(reasoningEngine.Name),
PolicyData: pulumi.String(pulumi.String(admin.PolicyData)),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var admin = Gcp.Organizations.GetIAMPolicy.Invoke(new()
{
Bindings = new[]
{
new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs
{
Role = "roles/viewer",
Members = new[]
{
"user:jane@example.com",
},
},
},
});
var policy = new Gcp.Vertex.AiReasoningEngineIamPolicy("policy", new()
{
Project = reasoningEngine.Project,
Region = reasoningEngine.Region,
ReasoningEngine = reasoningEngine.Name,
PolicyData = admin.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyArgs;
import com.pulumi.gcp.vertex.AiReasoningEngineIamPolicy;
import com.pulumi.gcp.vertex.AiReasoningEngineIamPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var admin = OrganizationsFunctions.getIAMPolicy(GetIAMPolicyArgs.builder()
.bindings(GetIAMPolicyBindingArgs.builder()
.role("roles/viewer")
.members("user:jane@example.com")
.build())
.build());
var policy = new AiReasoningEngineIamPolicy("policy", AiReasoningEngineIamPolicyArgs.builder()
.project(reasoningEngine.project())
.region(reasoningEngine.region())
.reasoningEngine(reasoningEngine.name())
.policyData(admin.policyData())
.build());
}
}
resources:
policy:
type: gcp:vertex:AiReasoningEngineIamPolicy
properties:
project: ${reasoningEngine.project}
region: ${reasoningEngine.region}
reasoningEngine: ${reasoningEngine.name}
policyData: ${admin.policyData}
variables:
admin:
fn::invoke:
function: gcp:organizations:getIAMPolicy
arguments:
bindings:
- role: roles/viewer
members:
- user:jane@example.com
Example coming soon!
gcp.vertex.AiReasoningEngineIamBinding
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const binding = new gcp.vertex.AiReasoningEngineIamBinding("binding", {
project: reasoningEngine.project,
region: reasoningEngine.region,
reasoningEngine: reasoningEngine.name,
role: "roles/viewer",
members: ["user:jane@example.com"],
});
import pulumi
import pulumi_gcp as gcp
binding = gcp.vertex.AiReasoningEngineIamBinding("binding",
project=reasoning_engine["project"],
region=reasoning_engine["region"],
reasoning_engine=reasoning_engine["name"],
role="roles/viewer",
members=["user:jane@example.com"])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/vertex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vertex.NewAiReasoningEngineIamBinding(ctx, "binding", &vertex.AiReasoningEngineIamBindingArgs{
Project: pulumi.Any(reasoningEngine.Project),
Region: pulumi.Any(reasoningEngine.Region),
ReasoningEngine: pulumi.Any(reasoningEngine.Name),
Role: pulumi.String("roles/viewer"),
Members: pulumi.StringArray{
pulumi.String("user:jane@example.com"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var binding = new Gcp.Vertex.AiReasoningEngineIamBinding("binding", new()
{
Project = reasoningEngine.Project,
Region = reasoningEngine.Region,
ReasoningEngine = reasoningEngine.Name,
Role = "roles/viewer",
Members = new[]
{
"user:jane@example.com",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vertex.AiReasoningEngineIamBinding;
import com.pulumi.gcp.vertex.AiReasoningEngineIamBindingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var binding = new AiReasoningEngineIamBinding("binding", AiReasoningEngineIamBindingArgs.builder()
.project(reasoningEngine.project())
.region(reasoningEngine.region())
.reasoningEngine(reasoningEngine.name())
.role("roles/viewer")
.members("user:jane@example.com")
.build());
}
}
resources:
binding:
type: gcp:vertex:AiReasoningEngineIamBinding
properties:
project: ${reasoningEngine.project}
region: ${reasoningEngine.region}
reasoningEngine: ${reasoningEngine.name}
role: roles/viewer
members:
- user:jane@example.com
Example coming soon!
gcp.vertex.AiReasoningEngineIamMember
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const member = new gcp.vertex.AiReasoningEngineIamMember("member", {
project: reasoningEngine.project,
region: reasoningEngine.region,
reasoningEngine: reasoningEngine.name,
role: "roles/viewer",
member: "user:jane@example.com",
});
import pulumi
import pulumi_gcp as gcp
member = gcp.vertex.AiReasoningEngineIamMember("member",
project=reasoning_engine["project"],
region=reasoning_engine["region"],
reasoning_engine=reasoning_engine["name"],
role="roles/viewer",
member="user:jane@example.com")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/vertex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vertex.NewAiReasoningEngineIamMember(ctx, "member", &vertex.AiReasoningEngineIamMemberArgs{
Project: pulumi.Any(reasoningEngine.Project),
Region: pulumi.Any(reasoningEngine.Region),
ReasoningEngine: pulumi.Any(reasoningEngine.Name),
Role: pulumi.String("roles/viewer"),
Member: pulumi.String("user:jane@example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var member = new Gcp.Vertex.AiReasoningEngineIamMember("member", new()
{
Project = reasoningEngine.Project,
Region = reasoningEngine.Region,
ReasoningEngine = reasoningEngine.Name,
Role = "roles/viewer",
Member = "user:jane@example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vertex.AiReasoningEngineIamMember;
import com.pulumi.gcp.vertex.AiReasoningEngineIamMemberArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var member = new AiReasoningEngineIamMember("member", AiReasoningEngineIamMemberArgs.builder()
.project(reasoningEngine.project())
.region(reasoningEngine.region())
.reasoningEngine(reasoningEngine.name())
.role("roles/viewer")
.member("user:jane@example.com")
.build());
}
}
resources:
member:
type: gcp:vertex:AiReasoningEngineIamMember
properties:
project: ${reasoningEngine.project}
region: ${reasoningEngine.region}
reasoningEngine: ${reasoningEngine.name}
role: roles/viewer
member: user:jane@example.com
Example coming soon!
This resource supports User Project Overrides.
IAM policy for Vertex AI ReasoningEngine
Three different resources help you manage your IAM policy for Vertex AI ReasoningEngine. Each of these resources serves a different use case:
gcp.vertex.AiReasoningEngineIamPolicy: Authoritative. Sets the IAM policy for the reasoningengine and replaces any existing policy already attached.gcp.vertex.AiReasoningEngineIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the reasoningengine are preserved.gcp.vertex.AiReasoningEngineIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the reasoningengine are preserved.
A data source can be used to retrieve policy data in advent you do not need creation
gcp.vertex.AiReasoningEngineIamPolicy: Retrieves the IAM policy for the reasoningengine
Note:
gcp.vertex.AiReasoningEngineIamPolicycannot be used in conjunction withgcp.vertex.AiReasoningEngineIamBindingandgcp.vertex.AiReasoningEngineIamMemberor they will fight over what your policy should be.
Note:
gcp.vertex.AiReasoningEngineIamBindingresources can be used in conjunction withgcp.vertex.AiReasoningEngineIamMemberresources only if they do not grant privilege to the same role.
gcp.vertex.AiReasoningEngineIamPolicy
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const admin = gcp.organizations.getIAMPolicy({
bindings: [{
role: "roles/viewer",
members: ["user:jane@example.com"],
}],
});
const policy = new gcp.vertex.AiReasoningEngineIamPolicy("policy", {
project: reasoningEngine.project,
region: reasoningEngine.region,
reasoningEngine: reasoningEngine.name,
policyData: admin.then(admin => admin.policyData),
});
import pulumi
import pulumi_gcp as gcp
admin = gcp.organizations.get_iam_policy(bindings=[{
"role": "roles/viewer",
"members": ["user:jane@example.com"],
}])
policy = gcp.vertex.AiReasoningEngineIamPolicy("policy",
project=reasoning_engine["project"],
region=reasoning_engine["region"],
reasoning_engine=reasoning_engine["name"],
policy_data=admin.policy_data)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/vertex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
Bindings: []organizations.GetIAMPolicyBinding{
{
Role: "roles/viewer",
Members: []string{
"user:jane@example.com",
},
},
},
}, nil)
if err != nil {
return err
}
_, err = vertex.NewAiReasoningEngineIamPolicy(ctx, "policy", &vertex.AiReasoningEngineIamPolicyArgs{
Project: pulumi.Any(reasoningEngine.Project),
Region: pulumi.Any(reasoningEngine.Region),
ReasoningEngine: pulumi.Any(reasoningEngine.Name),
PolicyData: pulumi.String(pulumi.String(admin.PolicyData)),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var admin = Gcp.Organizations.GetIAMPolicy.Invoke(new()
{
Bindings = new[]
{
new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs
{
Role = "roles/viewer",
Members = new[]
{
"user:jane@example.com",
},
},
},
});
var policy = new Gcp.Vertex.AiReasoningEngineIamPolicy("policy", new()
{
Project = reasoningEngine.Project,
Region = reasoningEngine.Region,
ReasoningEngine = reasoningEngine.Name,
PolicyData = admin.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyArgs;
import com.pulumi.gcp.vertex.AiReasoningEngineIamPolicy;
import com.pulumi.gcp.vertex.AiReasoningEngineIamPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var admin = OrganizationsFunctions.getIAMPolicy(GetIAMPolicyArgs.builder()
.bindings(GetIAMPolicyBindingArgs.builder()
.role("roles/viewer")
.members("user:jane@example.com")
.build())
.build());
var policy = new AiReasoningEngineIamPolicy("policy", AiReasoningEngineIamPolicyArgs.builder()
.project(reasoningEngine.project())
.region(reasoningEngine.region())
.reasoningEngine(reasoningEngine.name())
.policyData(admin.policyData())
.build());
}
}
resources:
policy:
type: gcp:vertex:AiReasoningEngineIamPolicy
properties:
project: ${reasoningEngine.project}
region: ${reasoningEngine.region}
reasoningEngine: ${reasoningEngine.name}
policyData: ${admin.policyData}
variables:
admin:
fn::invoke:
function: gcp:organizations:getIAMPolicy
arguments:
bindings:
- role: roles/viewer
members:
- user:jane@example.com
Example coming soon!
gcp.vertex.AiReasoningEngineIamBinding
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const binding = new gcp.vertex.AiReasoningEngineIamBinding("binding", {
project: reasoningEngine.project,
region: reasoningEngine.region,
reasoningEngine: reasoningEngine.name,
role: "roles/viewer",
members: ["user:jane@example.com"],
});
import pulumi
import pulumi_gcp as gcp
binding = gcp.vertex.AiReasoningEngineIamBinding("binding",
project=reasoning_engine["project"],
region=reasoning_engine["region"],
reasoning_engine=reasoning_engine["name"],
role="roles/viewer",
members=["user:jane@example.com"])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/vertex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vertex.NewAiReasoningEngineIamBinding(ctx, "binding", &vertex.AiReasoningEngineIamBindingArgs{
Project: pulumi.Any(reasoningEngine.Project),
Region: pulumi.Any(reasoningEngine.Region),
ReasoningEngine: pulumi.Any(reasoningEngine.Name),
Role: pulumi.String("roles/viewer"),
Members: pulumi.StringArray{
pulumi.String("user:jane@example.com"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var binding = new Gcp.Vertex.AiReasoningEngineIamBinding("binding", new()
{
Project = reasoningEngine.Project,
Region = reasoningEngine.Region,
ReasoningEngine = reasoningEngine.Name,
Role = "roles/viewer",
Members = new[]
{
"user:jane@example.com",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vertex.AiReasoningEngineIamBinding;
import com.pulumi.gcp.vertex.AiReasoningEngineIamBindingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var binding = new AiReasoningEngineIamBinding("binding", AiReasoningEngineIamBindingArgs.builder()
.project(reasoningEngine.project())
.region(reasoningEngine.region())
.reasoningEngine(reasoningEngine.name())
.role("roles/viewer")
.members("user:jane@example.com")
.build());
}
}
resources:
binding:
type: gcp:vertex:AiReasoningEngineIamBinding
properties:
project: ${reasoningEngine.project}
region: ${reasoningEngine.region}
reasoningEngine: ${reasoningEngine.name}
role: roles/viewer
members:
- user:jane@example.com
Example coming soon!
gcp.vertex.AiReasoningEngineIamMember
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const member = new gcp.vertex.AiReasoningEngineIamMember("member", {
project: reasoningEngine.project,
region: reasoningEngine.region,
reasoningEngine: reasoningEngine.name,
role: "roles/viewer",
member: "user:jane@example.com",
});
import pulumi
import pulumi_gcp as gcp
member = gcp.vertex.AiReasoningEngineIamMember("member",
project=reasoning_engine["project"],
region=reasoning_engine["region"],
reasoning_engine=reasoning_engine["name"],
role="roles/viewer",
member="user:jane@example.com")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/vertex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vertex.NewAiReasoningEngineIamMember(ctx, "member", &vertex.AiReasoningEngineIamMemberArgs{
Project: pulumi.Any(reasoningEngine.Project),
Region: pulumi.Any(reasoningEngine.Region),
ReasoningEngine: pulumi.Any(reasoningEngine.Name),
Role: pulumi.String("roles/viewer"),
Member: pulumi.String("user:jane@example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var member = new Gcp.Vertex.AiReasoningEngineIamMember("member", new()
{
Project = reasoningEngine.Project,
Region = reasoningEngine.Region,
ReasoningEngine = reasoningEngine.Name,
Role = "roles/viewer",
Member = "user:jane@example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vertex.AiReasoningEngineIamMember;
import com.pulumi.gcp.vertex.AiReasoningEngineIamMemberArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var member = new AiReasoningEngineIamMember("member", AiReasoningEngineIamMemberArgs.builder()
.project(reasoningEngine.project())
.region(reasoningEngine.region())
.reasoningEngine(reasoningEngine.name())
.role("roles/viewer")
.member("user:jane@example.com")
.build());
}
}
resources:
member:
type: gcp:vertex:AiReasoningEngineIamMember
properties:
project: ${reasoningEngine.project}
region: ${reasoningEngine.region}
reasoningEngine: ${reasoningEngine.name}
role: roles/viewer
member: user:jane@example.com
Example coming soon!
Create AiReasoningEngineIamPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiReasoningEngineIamPolicy(name: string, args: AiReasoningEngineIamPolicyArgs, opts?: CustomResourceOptions);@overload
def AiReasoningEngineIamPolicy(resource_name: str,
args: AiReasoningEngineIamPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiReasoningEngineIamPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy_data: Optional[str] = None,
reasoning_engine: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None)func NewAiReasoningEngineIamPolicy(ctx *Context, name string, args AiReasoningEngineIamPolicyArgs, opts ...ResourceOption) (*AiReasoningEngineIamPolicy, error)public AiReasoningEngineIamPolicy(string name, AiReasoningEngineIamPolicyArgs args, CustomResourceOptions? opts = null)
public AiReasoningEngineIamPolicy(String name, AiReasoningEngineIamPolicyArgs args)
public AiReasoningEngineIamPolicy(String name, AiReasoningEngineIamPolicyArgs args, CustomResourceOptions options)
type: gcp:vertex:AiReasoningEngineIamPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcp_vertex_aireasoningengineiampolicy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AiReasoningEngineIamPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AiReasoningEngineIamPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AiReasoningEngineIamPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiReasoningEngineIamPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiReasoningEngineIamPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var aiReasoningEngineIamPolicyResource = new Gcp.Vertex.AiReasoningEngineIamPolicy("aiReasoningEngineIamPolicyResource", new()
{
PolicyData = "string",
ReasoningEngine = "string",
Project = "string",
Region = "string",
});
example, err := vertex.NewAiReasoningEngineIamPolicy(ctx, "aiReasoningEngineIamPolicyResource", &vertex.AiReasoningEngineIamPolicyArgs{
PolicyData: pulumi.String("string"),
ReasoningEngine: pulumi.String("string"),
Project: pulumi.String("string"),
Region: pulumi.String("string"),
})
resource "gcp_vertex_aireasoningengineiampolicy" "aiReasoningEngineIamPolicyResource" {
policy_data = "string"
reasoning_engine = "string"
project = "string"
region = "string"
}
var aiReasoningEngineIamPolicyResource = new AiReasoningEngineIamPolicy("aiReasoningEngineIamPolicyResource", AiReasoningEngineIamPolicyArgs.builder()
.policyData("string")
.reasoningEngine("string")
.project("string")
.region("string")
.build());
ai_reasoning_engine_iam_policy_resource = gcp.vertex.AiReasoningEngineIamPolicy("aiReasoningEngineIamPolicyResource",
policy_data="string",
reasoning_engine="string",
project="string",
region="string")
const aiReasoningEngineIamPolicyResource = new gcp.vertex.AiReasoningEngineIamPolicy("aiReasoningEngineIamPolicyResource", {
policyData: "string",
reasoningEngine: "string",
project: "string",
region: "string",
});
type: gcp:vertex:AiReasoningEngineIamPolicy
properties:
policyData: string
project: string
reasoningEngine: string
region: string
AiReasoningEngineIamPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AiReasoningEngineIamPolicy resource accepts the following input properties:
- Policy
Data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - Reasoning
Engine string - Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- Region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- Policy
Data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - Reasoning
Engine string - Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- Region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- policy_
data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - reasoning_
engine string - Used to find the parent resource to bind the IAM policy to
- project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- policy
Data String - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - reasoning
Engine String - Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- region String
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- policy
Data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - reasoning
Engine string - Used to find the parent resource to bind the IAM policy to
- project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- policy_
data str - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - reasoning_
engine str - Used to find the parent resource to bind the IAM policy to
- project str
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- region str
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- policy
Data String - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - reasoning
Engine String - Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- region String
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the AiReasoningEngineIamPolicy resource produces the following output properties:
Look up Existing AiReasoningEngineIamPolicy Resource
Get an existing AiReasoningEngineIamPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AiReasoningEngineIamPolicyState, opts?: CustomResourceOptions): AiReasoningEngineIamPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
etag: Optional[str] = None,
policy_data: Optional[str] = None,
project: Optional[str] = None,
reasoning_engine: Optional[str] = None,
region: Optional[str] = None) -> AiReasoningEngineIamPolicyfunc GetAiReasoningEngineIamPolicy(ctx *Context, name string, id IDInput, state *AiReasoningEngineIamPolicyState, opts ...ResourceOption) (*AiReasoningEngineIamPolicy, error)public static AiReasoningEngineIamPolicy Get(string name, Input<string> id, AiReasoningEngineIamPolicyState? state, CustomResourceOptions? opts = null)public static AiReasoningEngineIamPolicy get(String name, Output<String> id, AiReasoningEngineIamPolicyState state, CustomResourceOptions options)resources: _: type: gcp:vertex:AiReasoningEngineIamPolicy get: id: ${id}import {
to = gcp_vertex_aireasoningengineiampolicy.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Etag string
- (Computed) The etag of the IAM policy.
- Policy
Data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- Reasoning
Engine string - Used to find the parent resource to bind the IAM policy to
- Region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- Etag string
- (Computed) The etag of the IAM policy.
- Policy
Data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- Reasoning
Engine string - Used to find the parent resource to bind the IAM policy to
- Region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- etag string
- (Computed) The etag of the IAM policy.
- policy_
data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- reasoning_
engine string - Used to find the parent resource to bind the IAM policy to
- region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- etag String
- (Computed) The etag of the IAM policy.
- policy
Data String - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- reasoning
Engine String - Used to find the parent resource to bind the IAM policy to
- region String
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- etag string
- (Computed) The etag of the IAM policy.
- policy
Data string - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- reasoning
Engine string - Used to find the parent resource to bind the IAM policy to
- region string
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- etag str
- (Computed) The etag of the IAM policy.
- policy_
data str - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - project str
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- reasoning_
engine str - Used to find the parent resource to bind the IAM policy to
- region str
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
- etag String
- (Computed) The etag of the IAM policy.
- policy
Data String - The policy data generated by
a
gcp.organizations.getIAMPolicydata source. - project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- reasoning
Engine String - Used to find the parent resource to bind the IAM policy to
- region String
- The region of the reasoning engine. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no region is specified, it is taken from the provider configuration.
Import
For all import syntaxes, the “resource in question” can take any of the following forms:
- projects/{{project}}/locations/{{region}}/reasoningEngines/{{name}}
- {{project}}/{{region}}/{{name}}
- {{region}}/{{name}}
- {{name}}
Any variables not passed in the import command will be taken from the provider configuration.
Vertex AI reasoningengine IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
$ terraform import google_vertex_ai_reasoning_engine_iam_member.editor "projects/{{project}}/locations/{{region}}/reasoningEngines/{{reasoning_engine}} roles/viewer user:jane@example.com"
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
$ terraform import google_vertex_ai_reasoning_engine_iam_binding.editor "projects/{{project}}/locations/{{region}}/reasoningEngines/{{reasoning_engine}} roles/viewer"
IAM policy imports use the identifier of the resource in question, e.g.
$ pulumi import gcp:vertex/aiReasoningEngineIamPolicy:AiReasoningEngineIamPolicy editor projects/{{project}}/locations/{{region}}/reasoningEngines/{{reasoning_engine}}
Custom Roles If you’re importing a IAM resource with a custom role, make sure to use the full name of the custom role, e.g.
[projects/my-project|organizations/my-org]/roles/my-custom-role.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Thursday, May 7, 2026 by Pulumi
