1. Packages
  2. Konnect Provider
  3. API Docs
  4. GatewayPluginAiGcpModelArmor
konnect 3.4.1 published on Wednesday, Oct 29, 2025 by kong

konnect.GatewayPluginAiGcpModelArmor

Get Started
konnect logo
konnect 3.4.1 published on Wednesday, Oct 29, 2025 by kong

    GatewayPluginAiGcpModelArmor Resource

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.GatewayPluginAiGcpModelArmor;
    import com.pulumi.konnect.GatewayPluginAiGcpModelArmorArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorConfigArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorConsumerArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorConsumerGroupArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorOrderingArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorOrderingAfterArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorOrderingBeforeArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorPartialArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorRouteArgs;
    import com.pulumi.konnect.inputs.GatewayPluginAiGcpModelArmorServiceArgs;
    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 myGatewaypluginaigcpmodelarmor = new GatewayPluginAiGcpModelArmor("myGatewaypluginaigcpmodelarmor", GatewayPluginAiGcpModelArmorArgs.builder()
                .config(GatewayPluginAiGcpModelArmorConfigArgs.builder()
                    .enable_multi_language_detection(true)
                    .gcp_service_account_json("...my_gcp_service_account_json...")
                    .gcp_use_service_account(true)
                    .guarding_mode("INPUT")
                    .location_id("...my_location_id...")
                    .project_id("...my_project_id...")
                    .request_failure_message("...my_request_failure_message...")
                    .response_buffer_size(8.82)
                    .response_failure_message("...my_response_failure_message...")
                    .reveal_failure_categories(false)
                    .source_language("...my_source_language...")
                    .stop_on_error(false)
                    .template_id("...my_template_id...")
                    .text_source("concatenate_all_content")
                    .timeout(7.5)
                    .build())
                .consumer(GatewayPluginAiGcpModelArmorConsumerArgs.builder()
                    .id("...my_id...")
                    .build())
                .consumerGroup(GatewayPluginAiGcpModelArmorConsumerGroupArgs.builder()
                    .id("...my_id...")
                    .build())
                .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .createdAt(3)
                .enabled(false)
                .gatewayPluginAiGcpModelArmorId("...my_id...")
                .instanceName("...my_instance_name...")
                .ordering(GatewayPluginAiGcpModelArmorOrderingArgs.builder()
                    .after(GatewayPluginAiGcpModelArmorOrderingAfterArgs.builder()
                        .access("...")
                        .build())
                    .before(GatewayPluginAiGcpModelArmorOrderingBeforeArgs.builder()
                        .access("...")
                        .build())
                    .build())
                .partials(GatewayPluginAiGcpModelArmorPartialArgs.builder()
                    .id("...my_id...")
                    .name("...my_name...")
                    .path("...my_path...")
                    .build())
                .protocols("grpcs")
                .route(GatewayPluginAiGcpModelArmorRouteArgs.builder()
                    .id("...my_id...")
                    .build())
                .service(GatewayPluginAiGcpModelArmorServiceArgs.builder()
                    .id("...my_id...")
                    .build())
                .tags("...")
                .updatedAt(4)
                .build());
    
        }
    }
    
    resources:
      myGatewaypluginaigcpmodelarmor:
        type: konnect:GatewayPluginAiGcpModelArmor
        properties:
          config:
            enable_multi_language_detection: true
            gcp_service_account_json: '...my_gcp_service_account_json...'
            gcp_use_service_account: true
            guarding_mode: INPUT
            location_id: '...my_location_id...'
            project_id: '...my_project_id...'
            request_failure_message: '...my_request_failure_message...'
            response_buffer_size: 8.82
            response_failure_message: '...my_response_failure_message...'
            reveal_failure_categories: false
            source_language: '...my_source_language...'
            stop_on_error: false
            template_id: '...my_template_id...'
            text_source: concatenate_all_content
            timeout: 7.5
          consumer:
            id: '...my_id...'
          consumerGroup:
            id: '...my_id...'
          controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          createdAt: 3
          enabled: false
          gatewayPluginAiGcpModelArmorId: '...my_id...'
          instanceName: '...my_instance_name...'
          ordering:
            after:
              access:
                - '...'
            before:
              access:
                - '...'
          partials:
            - id: '...my_id...'
              name: '...my_name...'
              path: '...my_path...'
          protocols:
            - grpcs
          route:
            id: '...my_id...'
          service:
            id: '...my_id...'
          tags:
            - '...'
          updatedAt: 4
    

    Create GatewayPluginAiGcpModelArmor Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GatewayPluginAiGcpModelArmor(name: string, args: GatewayPluginAiGcpModelArmorArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayPluginAiGcpModelArmor(resource_name: str,
                                     args: GatewayPluginAiGcpModelArmorArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayPluginAiGcpModelArmor(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     control_plane_id: Optional[str] = None,
                                     config: Optional[GatewayPluginAiGcpModelArmorConfigArgs] = None,
                                     gateway_plugin_ai_gcp_model_armor_id: Optional[str] = None,
                                     consumer_group: Optional[GatewayPluginAiGcpModelArmorConsumerGroupArgs] = None,
                                     created_at: Optional[float] = None,
                                     enabled: Optional[bool] = None,
                                     consumer: Optional[GatewayPluginAiGcpModelArmorConsumerArgs] = None,
                                     instance_name: Optional[str] = None,
                                     ordering: Optional[GatewayPluginAiGcpModelArmorOrderingArgs] = None,
                                     partials: Optional[Sequence[GatewayPluginAiGcpModelArmorPartialArgs]] = None,
                                     protocols: Optional[Sequence[str]] = None,
                                     route: Optional[GatewayPluginAiGcpModelArmorRouteArgs] = None,
                                     service: Optional[GatewayPluginAiGcpModelArmorServiceArgs] = None,
                                     tags: Optional[Sequence[str]] = None,
                                     updated_at: Optional[float] = None)
    func NewGatewayPluginAiGcpModelArmor(ctx *Context, name string, args GatewayPluginAiGcpModelArmorArgs, opts ...ResourceOption) (*GatewayPluginAiGcpModelArmor, error)
    public GatewayPluginAiGcpModelArmor(string name, GatewayPluginAiGcpModelArmorArgs args, CustomResourceOptions? opts = null)
    public GatewayPluginAiGcpModelArmor(String name, GatewayPluginAiGcpModelArmorArgs args)
    public GatewayPluginAiGcpModelArmor(String name, GatewayPluginAiGcpModelArmorArgs args, CustomResourceOptions options)
    
    type: konnect:GatewayPluginAiGcpModelArmor
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GatewayPluginAiGcpModelArmorArgs
    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 GatewayPluginAiGcpModelArmorArgs
    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 GatewayPluginAiGcpModelArmorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayPluginAiGcpModelArmorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayPluginAiGcpModelArmorArgs
    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 gatewayPluginAiGcpModelArmorResource = new Konnect.GatewayPluginAiGcpModelArmor("gatewayPluginAiGcpModelArmorResource", new()
    {
        ControlPlaneId = "string",
        Config = new Konnect.Inputs.GatewayPluginAiGcpModelArmorConfigArgs
        {
            LocationId = "string",
            TemplateId = "string",
            ProjectId = "string",
            RequestFailureMessage = "string",
            GuardingMode = "string",
            GcpUseServiceAccount = false,
            EnableMultiLanguageDetection = false,
            ResponseBufferSize = 0,
            ResponseFailureMessage = "string",
            RevealFailureCategories = false,
            SourceLanguage = "string",
            StopOnError = false,
            GcpServiceAccountJson = "string",
            TextSource = "string",
            Timeout = 0,
        },
        GatewayPluginAiGcpModelArmorId = "string",
        ConsumerGroup = new Konnect.Inputs.GatewayPluginAiGcpModelArmorConsumerGroupArgs
        {
            Id = "string",
        },
        CreatedAt = 0,
        Enabled = false,
        Consumer = new Konnect.Inputs.GatewayPluginAiGcpModelArmorConsumerArgs
        {
            Id = "string",
        },
        InstanceName = "string",
        Ordering = new Konnect.Inputs.GatewayPluginAiGcpModelArmorOrderingArgs
        {
            After = new Konnect.Inputs.GatewayPluginAiGcpModelArmorOrderingAfterArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
            Before = new Konnect.Inputs.GatewayPluginAiGcpModelArmorOrderingBeforeArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
        },
        Partials = new[]
        {
            new Konnect.Inputs.GatewayPluginAiGcpModelArmorPartialArgs
            {
                Id = "string",
                Name = "string",
                Path = "string",
            },
        },
        Protocols = new[]
        {
            "string",
        },
        Route = new Konnect.Inputs.GatewayPluginAiGcpModelArmorRouteArgs
        {
            Id = "string",
        },
        Service = new Konnect.Inputs.GatewayPluginAiGcpModelArmorServiceArgs
        {
            Id = "string",
        },
        Tags = new[]
        {
            "string",
        },
        UpdatedAt = 0,
    });
    
    example, err := konnect.NewGatewayPluginAiGcpModelArmor(ctx, "gatewayPluginAiGcpModelArmorResource", &konnect.GatewayPluginAiGcpModelArmorArgs{
    	ControlPlaneId: pulumi.String("string"),
    	Config: &konnect.GatewayPluginAiGcpModelArmorConfigArgs{
    		LocationId:                   pulumi.String("string"),
    		TemplateId:                   pulumi.String("string"),
    		ProjectId:                    pulumi.String("string"),
    		RequestFailureMessage:        pulumi.String("string"),
    		GuardingMode:                 pulumi.String("string"),
    		GcpUseServiceAccount:         pulumi.Bool(false),
    		EnableMultiLanguageDetection: pulumi.Bool(false),
    		ResponseBufferSize:           pulumi.Float64(0),
    		ResponseFailureMessage:       pulumi.String("string"),
    		RevealFailureCategories:      pulumi.Bool(false),
    		SourceLanguage:               pulumi.String("string"),
    		StopOnError:                  pulumi.Bool(false),
    		GcpServiceAccountJson:        pulumi.String("string"),
    		TextSource:                   pulumi.String("string"),
    		Timeout:                      pulumi.Float64(0),
    	},
    	GatewayPluginAiGcpModelArmorId: pulumi.String("string"),
    	ConsumerGroup: &konnect.GatewayPluginAiGcpModelArmorConsumerGroupArgs{
    		Id: pulumi.String("string"),
    	},
    	CreatedAt: pulumi.Float64(0),
    	Enabled:   pulumi.Bool(false),
    	Consumer: &konnect.GatewayPluginAiGcpModelArmorConsumerArgs{
    		Id: pulumi.String("string"),
    	},
    	InstanceName: pulumi.String("string"),
    	Ordering: &konnect.GatewayPluginAiGcpModelArmorOrderingArgs{
    		After: &konnect.GatewayPluginAiGcpModelArmorOrderingAfterArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Before: &konnect.GatewayPluginAiGcpModelArmorOrderingBeforeArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Partials: konnect.GatewayPluginAiGcpModelArmorPartialArray{
    		&konnect.GatewayPluginAiGcpModelArmorPartialArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Path: pulumi.String("string"),
    		},
    	},
    	Protocols: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Route: &konnect.GatewayPluginAiGcpModelArmorRouteArgs{
    		Id: pulumi.String("string"),
    	},
    	Service: &konnect.GatewayPluginAiGcpModelArmorServiceArgs{
    		Id: pulumi.String("string"),
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UpdatedAt: pulumi.Float64(0),
    })
    
    var gatewayPluginAiGcpModelArmorResource = new GatewayPluginAiGcpModelArmor("gatewayPluginAiGcpModelArmorResource", GatewayPluginAiGcpModelArmorArgs.builder()
        .controlPlaneId("string")
        .config(GatewayPluginAiGcpModelArmorConfigArgs.builder()
            .locationId("string")
            .templateId("string")
            .projectId("string")
            .requestFailureMessage("string")
            .guardingMode("string")
            .gcpUseServiceAccount(false)
            .enableMultiLanguageDetection(false)
            .responseBufferSize(0.0)
            .responseFailureMessage("string")
            .revealFailureCategories(false)
            .sourceLanguage("string")
            .stopOnError(false)
            .gcpServiceAccountJson("string")
            .textSource("string")
            .timeout(0.0)
            .build())
        .gatewayPluginAiGcpModelArmorId("string")
        .consumerGroup(GatewayPluginAiGcpModelArmorConsumerGroupArgs.builder()
            .id("string")
            .build())
        .createdAt(0.0)
        .enabled(false)
        .consumer(GatewayPluginAiGcpModelArmorConsumerArgs.builder()
            .id("string")
            .build())
        .instanceName("string")
        .ordering(GatewayPluginAiGcpModelArmorOrderingArgs.builder()
            .after(GatewayPluginAiGcpModelArmorOrderingAfterArgs.builder()
                .accesses("string")
                .build())
            .before(GatewayPluginAiGcpModelArmorOrderingBeforeArgs.builder()
                .accesses("string")
                .build())
            .build())
        .partials(GatewayPluginAiGcpModelArmorPartialArgs.builder()
            .id("string")
            .name("string")
            .path("string")
            .build())
        .protocols("string")
        .route(GatewayPluginAiGcpModelArmorRouteArgs.builder()
            .id("string")
            .build())
        .service(GatewayPluginAiGcpModelArmorServiceArgs.builder()
            .id("string")
            .build())
        .tags("string")
        .updatedAt(0.0)
        .build());
    
    gateway_plugin_ai_gcp_model_armor_resource = konnect.GatewayPluginAiGcpModelArmor("gatewayPluginAiGcpModelArmorResource",
        control_plane_id="string",
        config={
            "location_id": "string",
            "template_id": "string",
            "project_id": "string",
            "request_failure_message": "string",
            "guarding_mode": "string",
            "gcp_use_service_account": False,
            "enable_multi_language_detection": False,
            "response_buffer_size": 0,
            "response_failure_message": "string",
            "reveal_failure_categories": False,
            "source_language": "string",
            "stop_on_error": False,
            "gcp_service_account_json": "string",
            "text_source": "string",
            "timeout": 0,
        },
        gateway_plugin_ai_gcp_model_armor_id="string",
        consumer_group={
            "id": "string",
        },
        created_at=0,
        enabled=False,
        consumer={
            "id": "string",
        },
        instance_name="string",
        ordering={
            "after": {
                "accesses": ["string"],
            },
            "before": {
                "accesses": ["string"],
            },
        },
        partials=[{
            "id": "string",
            "name": "string",
            "path": "string",
        }],
        protocols=["string"],
        route={
            "id": "string",
        },
        service={
            "id": "string",
        },
        tags=["string"],
        updated_at=0)
    
    const gatewayPluginAiGcpModelArmorResource = new konnect.GatewayPluginAiGcpModelArmor("gatewayPluginAiGcpModelArmorResource", {
        controlPlaneId: "string",
        config: {
            locationId: "string",
            templateId: "string",
            projectId: "string",
            requestFailureMessage: "string",
            guardingMode: "string",
            gcpUseServiceAccount: false,
            enableMultiLanguageDetection: false,
            responseBufferSize: 0,
            responseFailureMessage: "string",
            revealFailureCategories: false,
            sourceLanguage: "string",
            stopOnError: false,
            gcpServiceAccountJson: "string",
            textSource: "string",
            timeout: 0,
        },
        gatewayPluginAiGcpModelArmorId: "string",
        consumerGroup: {
            id: "string",
        },
        createdAt: 0,
        enabled: false,
        consumer: {
            id: "string",
        },
        instanceName: "string",
        ordering: {
            after: {
                accesses: ["string"],
            },
            before: {
                accesses: ["string"],
            },
        },
        partials: [{
            id: "string",
            name: "string",
            path: "string",
        }],
        protocols: ["string"],
        route: {
            id: "string",
        },
        service: {
            id: "string",
        },
        tags: ["string"],
        updatedAt: 0,
    });
    
    type: konnect:GatewayPluginAiGcpModelArmor
    properties:
        config:
            enableMultiLanguageDetection: false
            gcpServiceAccountJson: string
            gcpUseServiceAccount: false
            guardingMode: string
            locationId: string
            projectId: string
            requestFailureMessage: string
            responseBufferSize: 0
            responseFailureMessage: string
            revealFailureCategories: false
            sourceLanguage: string
            stopOnError: false
            templateId: string
            textSource: string
            timeout: 0
        consumer:
            id: string
        consumerGroup:
            id: string
        controlPlaneId: string
        createdAt: 0
        enabled: false
        gatewayPluginAiGcpModelArmorId: string
        instanceName: string
        ordering:
            after:
                accesses:
                    - string
            before:
                accesses:
                    - string
        partials:
            - id: string
              name: string
              path: string
        protocols:
            - string
        route:
            id: string
        service:
            id: string
        tags:
            - string
        updatedAt: 0
    

    GatewayPluginAiGcpModelArmor 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 GatewayPluginAiGcpModelArmor resource accepts the following input properties:

    Config GatewayPluginAiGcpModelArmorConfig
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Consumer GatewayPluginAiGcpModelArmorConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    ConsumerGroup GatewayPluginAiGcpModelArmorConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    CreatedAt double
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginAiGcpModelArmorId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginAiGcpModelArmorOrdering
    Partials List<GatewayPluginAiGcpModelArmorPartial>
    A list of partials to be used by the plugin.
    Protocols List<string>
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    Route GatewayPluginAiGcpModelArmorRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginAiGcpModelArmorService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags List<string>
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt double
    Unix epoch when the resource was last updated.
    Config GatewayPluginAiGcpModelArmorConfigArgs
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Consumer GatewayPluginAiGcpModelArmorConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    ConsumerGroup GatewayPluginAiGcpModelArmorConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    CreatedAt float64
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginAiGcpModelArmorId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginAiGcpModelArmorOrderingArgs
    Partials []GatewayPluginAiGcpModelArmorPartialArgs
    A list of partials to be used by the plugin.
    Protocols []string
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    Route GatewayPluginAiGcpModelArmorRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginAiGcpModelArmorServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags []string
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt float64
    Unix epoch when the resource was last updated.
    config GatewayPluginAiGcpModelArmorConfig
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer GatewayPluginAiGcpModelArmorConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumerGroup GatewayPluginAiGcpModelArmorConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    createdAt Double
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginAiGcpModelArmorId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginAiGcpModelArmorOrdering
    partials List<GatewayPluginAiGcpModelArmorPartial>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route GatewayPluginAiGcpModelArmorRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginAiGcpModelArmorService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Double
    Unix epoch when the resource was last updated.
    config GatewayPluginAiGcpModelArmorConfig
    controlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer GatewayPluginAiGcpModelArmorConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumerGroup GatewayPluginAiGcpModelArmorConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    createdAt number
    Unix epoch when the resource was created.
    enabled boolean
    Whether the plugin is applied. Default: true
    gatewayPluginAiGcpModelArmorId string
    A string representing a UUID (universally unique identifier).
    instanceName string
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginAiGcpModelArmorOrdering
    partials GatewayPluginAiGcpModelArmorPartial[]
    A list of partials to be used by the plugin.
    protocols string[]
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route GatewayPluginAiGcpModelArmorRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginAiGcpModelArmorService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags string[]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt number
    Unix epoch when the resource was last updated.
    config GatewayPluginAiGcpModelArmorConfigArgs
    control_plane_id str
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer GatewayPluginAiGcpModelArmorConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumer_group GatewayPluginAiGcpModelArmorConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    created_at float
    Unix epoch when the resource was created.
    enabled bool
    Whether the plugin is applied. Default: true
    gateway_plugin_ai_gcp_model_armor_id str
    A string representing a UUID (universally unique identifier).
    instance_name str
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginAiGcpModelArmorOrderingArgs
    partials Sequence[GatewayPluginAiGcpModelArmorPartialArgs]
    A list of partials to be used by the plugin.
    protocols Sequence[str]
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route GatewayPluginAiGcpModelArmorRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginAiGcpModelArmorServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags Sequence[str]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updated_at float
    Unix epoch when the resource was last updated.
    config Property Map
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer Property Map
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumerGroup Property Map
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    createdAt Number
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginAiGcpModelArmorId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering Property Map
    partials List<Property Map>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route Property Map
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service Property Map
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Number
    Unix epoch when the resource was last updated.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GatewayPluginAiGcpModelArmor resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GatewayPluginAiGcpModelArmor Resource

    Get an existing GatewayPluginAiGcpModelArmor 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?: GatewayPluginAiGcpModelArmorState, opts?: CustomResourceOptions): GatewayPluginAiGcpModelArmor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[GatewayPluginAiGcpModelArmorConfigArgs] = None,
            consumer: Optional[GatewayPluginAiGcpModelArmorConsumerArgs] = None,
            consumer_group: Optional[GatewayPluginAiGcpModelArmorConsumerGroupArgs] = None,
            control_plane_id: Optional[str] = None,
            created_at: Optional[float] = None,
            enabled: Optional[bool] = None,
            gateway_plugin_ai_gcp_model_armor_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            ordering: Optional[GatewayPluginAiGcpModelArmorOrderingArgs] = None,
            partials: Optional[Sequence[GatewayPluginAiGcpModelArmorPartialArgs]] = None,
            protocols: Optional[Sequence[str]] = None,
            route: Optional[GatewayPluginAiGcpModelArmorRouteArgs] = None,
            service: Optional[GatewayPluginAiGcpModelArmorServiceArgs] = None,
            tags: Optional[Sequence[str]] = None,
            updated_at: Optional[float] = None) -> GatewayPluginAiGcpModelArmor
    func GetGatewayPluginAiGcpModelArmor(ctx *Context, name string, id IDInput, state *GatewayPluginAiGcpModelArmorState, opts ...ResourceOption) (*GatewayPluginAiGcpModelArmor, error)
    public static GatewayPluginAiGcpModelArmor Get(string name, Input<string> id, GatewayPluginAiGcpModelArmorState? state, CustomResourceOptions? opts = null)
    public static GatewayPluginAiGcpModelArmor get(String name, Output<String> id, GatewayPluginAiGcpModelArmorState state, CustomResourceOptions options)
    resources:  _:    type: konnect:GatewayPluginAiGcpModelArmor    get:      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.
    The following state arguments are supported:
    Config GatewayPluginAiGcpModelArmorConfig
    Consumer GatewayPluginAiGcpModelArmorConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    ConsumerGroup GatewayPluginAiGcpModelArmorConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    CreatedAt double
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginAiGcpModelArmorId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginAiGcpModelArmorOrdering
    Partials List<GatewayPluginAiGcpModelArmorPartial>
    A list of partials to be used by the plugin.
    Protocols List<string>
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    Route GatewayPluginAiGcpModelArmorRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginAiGcpModelArmorService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags List<string>
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt double
    Unix epoch when the resource was last updated.
    Config GatewayPluginAiGcpModelArmorConfigArgs
    Consumer GatewayPluginAiGcpModelArmorConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    ConsumerGroup GatewayPluginAiGcpModelArmorConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    CreatedAt float64
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginAiGcpModelArmorId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginAiGcpModelArmorOrderingArgs
    Partials []GatewayPluginAiGcpModelArmorPartialArgs
    A list of partials to be used by the plugin.
    Protocols []string
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    Route GatewayPluginAiGcpModelArmorRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    Service GatewayPluginAiGcpModelArmorServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    Tags []string
    An optional set of strings associated with the Plugin for grouping and filtering.
    UpdatedAt float64
    Unix epoch when the resource was last updated.
    config GatewayPluginAiGcpModelArmorConfig
    consumer GatewayPluginAiGcpModelArmorConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumerGroup GatewayPluginAiGcpModelArmorConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt Double
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginAiGcpModelArmorId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginAiGcpModelArmorOrdering
    partials List<GatewayPluginAiGcpModelArmorPartial>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route GatewayPluginAiGcpModelArmorRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginAiGcpModelArmorService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Double
    Unix epoch when the resource was last updated.
    config GatewayPluginAiGcpModelArmorConfig
    consumer GatewayPluginAiGcpModelArmorConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumerGroup GatewayPluginAiGcpModelArmorConsumerGroup
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    controlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt number
    Unix epoch when the resource was created.
    enabled boolean
    Whether the plugin is applied. Default: true
    gatewayPluginAiGcpModelArmorId string
    A string representing a UUID (universally unique identifier).
    instanceName string
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginAiGcpModelArmorOrdering
    partials GatewayPluginAiGcpModelArmorPartial[]
    A list of partials to be used by the plugin.
    protocols string[]
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route GatewayPluginAiGcpModelArmorRoute
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginAiGcpModelArmorService
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags string[]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt number
    Unix epoch when the resource was last updated.
    config GatewayPluginAiGcpModelArmorConfigArgs
    consumer GatewayPluginAiGcpModelArmorConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumer_group GatewayPluginAiGcpModelArmorConsumerGroupArgs
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    control_plane_id str
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    created_at float
    Unix epoch when the resource was created.
    enabled bool
    Whether the plugin is applied. Default: true
    gateway_plugin_ai_gcp_model_armor_id str
    A string representing a UUID (universally unique identifier).
    instance_name str
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginAiGcpModelArmorOrderingArgs
    partials Sequence[GatewayPluginAiGcpModelArmorPartialArgs]
    A list of partials to be used by the plugin.
    protocols Sequence[str]
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route GatewayPluginAiGcpModelArmorRouteArgs
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service GatewayPluginAiGcpModelArmorServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags Sequence[str]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updated_at float
    Unix epoch when the resource was last updated.
    config Property Map
    consumer Property Map
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    consumerGroup Property Map
    If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt Number
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginAiGcpModelArmorId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering Property Map
    partials List<Property Map>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing HTTP protocols. Default: ["grpc","grpcs","http","https"]
    route Property Map
    If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
    service Property Map
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags List<String>
    An optional set of strings associated with the Plugin for grouping and filtering.
    updatedAt Number
    Unix epoch when the resource was last updated.

    Supporting Types

    GatewayPluginAiGcpModelArmorConfig, GatewayPluginAiGcpModelArmorConfigArgs

    LocationId string
    GCP Location ID for the GCP Model Armor subscription.
    ProjectId string
    GCP Project ID for the GCP Model Armor subscription.
    TemplateId string
    GCP Model Armor Template ID to enforce.
    EnableMultiLanguageDetection bool
    Enables multi-language detection mode. Must be used with 'source_language'. Default: false
    GcpServiceAccountJson string
    Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable GCP_SERVICE_ACCOUNT or from the instance/container metadata service.
    GcpUseServiceAccount bool
    Use service account auth for GCP-based providers and models. Default: false
    GuardingMode string
    The guardrail mode to use for the request. Default: "INPUT"; must be one of ["BOTH", "INPUT", "OUTPUT"]
    RequestFailureMessage string
    The message to return when a failure occurs on the request phase. Default: "Request was filtered by GCP Model Armor"
    ResponseBufferSize double
    The amount of bytes receiving from upstream to be buffered before sending to the model armor service. This only applies to the response content guard. Default: 100
    ResponseFailureMessage string
    The message to return when a failure occurs on the response phase. Default: "Response was filtered by GCP Model Armor"
    RevealFailureCategories bool
    Whether to reveal failure categories in the response to the caller. Default: false
    SourceLanguage string
    Source language (ISO code) to use when 'enablemultilanguage_detection' is enabled.
    StopOnError bool
    Stop processing if an error occurs. Default: true
    TextSource string
    Select where to pick the 'text' for the GCP Model Armor Services request. Default: "lastmessage"; must be one of ["concatenateallcontent", "concatenateusercontent", "lastmessage"]
    Timeout double
    Connection timeout with the GCP Model Armor service. Default: 10000
    LocationId string
    GCP Location ID for the GCP Model Armor subscription.
    ProjectId string
    GCP Project ID for the GCP Model Armor subscription.
    TemplateId string
    GCP Model Armor Template ID to enforce.
    EnableMultiLanguageDetection bool
    Enables multi-language detection mode. Must be used with 'source_language'. Default: false
    GcpServiceAccountJson string
    Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable GCP_SERVICE_ACCOUNT or from the instance/container metadata service.
    GcpUseServiceAccount bool
    Use service account auth for GCP-based providers and models. Default: false
    GuardingMode string
    The guardrail mode to use for the request. Default: "INPUT"; must be one of ["BOTH", "INPUT", "OUTPUT"]
    RequestFailureMessage string
    The message to return when a failure occurs on the request phase. Default: "Request was filtered by GCP Model Armor"
    ResponseBufferSize float64
    The amount of bytes receiving from upstream to be buffered before sending to the model armor service. This only applies to the response content guard. Default: 100
    ResponseFailureMessage string
    The message to return when a failure occurs on the response phase. Default: "Response was filtered by GCP Model Armor"
    RevealFailureCategories bool
    Whether to reveal failure categories in the response to the caller. Default: false
    SourceLanguage string
    Source language (ISO code) to use when 'enablemultilanguage_detection' is enabled.
    StopOnError bool
    Stop processing if an error occurs. Default: true
    TextSource string
    Select where to pick the 'text' for the GCP Model Armor Services request. Default: "lastmessage"; must be one of ["concatenateallcontent", "concatenateusercontent", "lastmessage"]
    Timeout float64
    Connection timeout with the GCP Model Armor service. Default: 10000
    locationId String
    GCP Location ID for the GCP Model Armor subscription.
    projectId String
    GCP Project ID for the GCP Model Armor subscription.
    templateId String
    GCP Model Armor Template ID to enforce.
    enableMultiLanguageDetection Boolean
    Enables multi-language detection mode. Must be used with 'source_language'. Default: false
    gcpServiceAccountJson String
    Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable GCP_SERVICE_ACCOUNT or from the instance/container metadata service.
    gcpUseServiceAccount Boolean
    Use service account auth for GCP-based providers and models. Default: false
    guardingMode String
    The guardrail mode to use for the request. Default: "INPUT"; must be one of ["BOTH", "INPUT", "OUTPUT"]
    requestFailureMessage String
    The message to return when a failure occurs on the request phase. Default: "Request was filtered by GCP Model Armor"
    responseBufferSize Double
    The amount of bytes receiving from upstream to be buffered before sending to the model armor service. This only applies to the response content guard. Default: 100
    responseFailureMessage String
    The message to return when a failure occurs on the response phase. Default: "Response was filtered by GCP Model Armor"
    revealFailureCategories Boolean
    Whether to reveal failure categories in the response to the caller. Default: false
    sourceLanguage String
    Source language (ISO code) to use when 'enablemultilanguage_detection' is enabled.
    stopOnError Boolean
    Stop processing if an error occurs. Default: true
    textSource String
    Select where to pick the 'text' for the GCP Model Armor Services request. Default: "lastmessage"; must be one of ["concatenateallcontent", "concatenateusercontent", "lastmessage"]
    timeout Double
    Connection timeout with the GCP Model Armor service. Default: 10000
    locationId string
    GCP Location ID for the GCP Model Armor subscription.
    projectId string
    GCP Project ID for the GCP Model Armor subscription.
    templateId string
    GCP Model Armor Template ID to enforce.
    enableMultiLanguageDetection boolean
    Enables multi-language detection mode. Must be used with 'source_language'. Default: false
    gcpServiceAccountJson string
    Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable GCP_SERVICE_ACCOUNT or from the instance/container metadata service.
    gcpUseServiceAccount boolean
    Use service account auth for GCP-based providers and models. Default: false
    guardingMode string
    The guardrail mode to use for the request. Default: "INPUT"; must be one of ["BOTH", "INPUT", "OUTPUT"]
    requestFailureMessage string
    The message to return when a failure occurs on the request phase. Default: "Request was filtered by GCP Model Armor"
    responseBufferSize number
    The amount of bytes receiving from upstream to be buffered before sending to the model armor service. This only applies to the response content guard. Default: 100
    responseFailureMessage string
    The message to return when a failure occurs on the response phase. Default: "Response was filtered by GCP Model Armor"
    revealFailureCategories boolean
    Whether to reveal failure categories in the response to the caller. Default: false
    sourceLanguage string
    Source language (ISO code) to use when 'enablemultilanguage_detection' is enabled.
    stopOnError boolean
    Stop processing if an error occurs. Default: true
    textSource string
    Select where to pick the 'text' for the GCP Model Armor Services request. Default: "lastmessage"; must be one of ["concatenateallcontent", "concatenateusercontent", "lastmessage"]
    timeout number
    Connection timeout with the GCP Model Armor service. Default: 10000
    location_id str
    GCP Location ID for the GCP Model Armor subscription.
    project_id str
    GCP Project ID for the GCP Model Armor subscription.
    template_id str
    GCP Model Armor Template ID to enforce.
    enable_multi_language_detection bool
    Enables multi-language detection mode. Must be used with 'source_language'. Default: false
    gcp_service_account_json str
    Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable GCP_SERVICE_ACCOUNT or from the instance/container metadata service.
    gcp_use_service_account bool
    Use service account auth for GCP-based providers and models. Default: false
    guarding_mode str
    The guardrail mode to use for the request. Default: "INPUT"; must be one of ["BOTH", "INPUT", "OUTPUT"]
    request_failure_message str
    The message to return when a failure occurs on the request phase. Default: "Request was filtered by GCP Model Armor"
    response_buffer_size float
    The amount of bytes receiving from upstream to be buffered before sending to the model armor service. This only applies to the response content guard. Default: 100
    response_failure_message str
    The message to return when a failure occurs on the response phase. Default: "Response was filtered by GCP Model Armor"
    reveal_failure_categories bool
    Whether to reveal failure categories in the response to the caller. Default: false
    source_language str
    Source language (ISO code) to use when 'enablemultilanguage_detection' is enabled.
    stop_on_error bool
    Stop processing if an error occurs. Default: true
    text_source str
    Select where to pick the 'text' for the GCP Model Armor Services request. Default: "lastmessage"; must be one of ["concatenateallcontent", "concatenateusercontent", "lastmessage"]
    timeout float
    Connection timeout with the GCP Model Armor service. Default: 10000
    locationId String
    GCP Location ID for the GCP Model Armor subscription.
    projectId String
    GCP Project ID for the GCP Model Armor subscription.
    templateId String
    GCP Model Armor Template ID to enforce.
    enableMultiLanguageDetection Boolean
    Enables multi-language detection mode. Must be used with 'source_language'. Default: false
    gcpServiceAccountJson String
    Set this field to the full JSON of the GCP service account to authenticate, if required. If null (and gcpuseservice_account is true), Kong will attempt to read from environment variable GCP_SERVICE_ACCOUNT or from the instance/container metadata service.
    gcpUseServiceAccount Boolean
    Use service account auth for GCP-based providers and models. Default: false
    guardingMode String
    The guardrail mode to use for the request. Default: "INPUT"; must be one of ["BOTH", "INPUT", "OUTPUT"]
    requestFailureMessage String
    The message to return when a failure occurs on the request phase. Default: "Request was filtered by GCP Model Armor"
    responseBufferSize Number
    The amount of bytes receiving from upstream to be buffered before sending to the model armor service. This only applies to the response content guard. Default: 100
    responseFailureMessage String
    The message to return when a failure occurs on the response phase. Default: "Response was filtered by GCP Model Armor"
    revealFailureCategories Boolean
    Whether to reveal failure categories in the response to the caller. Default: false
    sourceLanguage String
    Source language (ISO code) to use when 'enablemultilanguage_detection' is enabled.
    stopOnError Boolean
    Stop processing if an error occurs. Default: true
    textSource String
    Select where to pick the 'text' for the GCP Model Armor Services request. Default: "lastmessage"; must be one of ["concatenateallcontent", "concatenateusercontent", "lastmessage"]
    timeout Number
    Connection timeout with the GCP Model Armor service. Default: 10000

    GatewayPluginAiGcpModelArmorConsumer, GatewayPluginAiGcpModelArmorConsumerArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    GatewayPluginAiGcpModelArmorConsumerGroup, GatewayPluginAiGcpModelArmorConsumerGroupArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    GatewayPluginAiGcpModelArmorOrdering, GatewayPluginAiGcpModelArmorOrderingArgs

    GatewayPluginAiGcpModelArmorOrderingAfter, GatewayPluginAiGcpModelArmorOrderingAfterArgs

    Accesses List<string>
    Accesses []string
    accesses List<String>
    accesses string[]
    accesses Sequence[str]
    accesses List<String>

    GatewayPluginAiGcpModelArmorOrderingBefore, GatewayPluginAiGcpModelArmorOrderingBeforeArgs

    Accesses List<string>
    Accesses []string
    accesses List<String>
    accesses string[]
    accesses Sequence[str]
    accesses List<String>

    GatewayPluginAiGcpModelArmorPartial, GatewayPluginAiGcpModelArmorPartialArgs

    Id string
    A string representing a UUID (universally unique identifier).
    Name string
    A unique string representing a UTF-8 encoded name.
    Path string
    Id string
    A string representing a UUID (universally unique identifier).
    Name string
    A unique string representing a UTF-8 encoded name.
    Path string
    id String
    A string representing a UUID (universally unique identifier).
    name String
    A unique string representing a UTF-8 encoded name.
    path String
    id string
    A string representing a UUID (universally unique identifier).
    name string
    A unique string representing a UTF-8 encoded name.
    path string
    id str
    A string representing a UUID (universally unique identifier).
    name str
    A unique string representing a UTF-8 encoded name.
    path str
    id String
    A string representing a UUID (universally unique identifier).
    name String
    A unique string representing a UTF-8 encoded name.
    path String

    GatewayPluginAiGcpModelArmorRoute, GatewayPluginAiGcpModelArmorRouteArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    GatewayPluginAiGcpModelArmorService, GatewayPluginAiGcpModelArmorServiceArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_gateway_plugin_ai_gcp_model_armor.my_konnect_gateway_plugin_ai_gcp_model_armor

    id = jsonencode({

    control_plane_id = "9524ec7d-36d9-465d-a8c5-83a3c9390458"
    
    id = "3473c251-5b6c-4f45-b1ff-7ede735a366d"
    

    })

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/gatewayPluginAiGcpModelArmor:GatewayPluginAiGcpModelArmor my_konnect_gateway_plugin_ai_gcp_model_armor '{"control_plane_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": "3473c251-5b6c-4f45-b1ff-7ede735a366d"}'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect logo
    konnect 3.4.1 published on Wednesday, Oct 29, 2025 by kong
      Meet Neo: Your AI Platform Teammate