1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. GoogleCloudLoggingConnector
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope
descope logo Descope
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope

    Manages a Google Cloud Logging connector and its configuration in a Descope project. Stream logs and audit events with the Google Cloud Logging connector.

    Create GoogleCloudLoggingConnector Resource

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

    Constructor syntax

    new GoogleCloudLoggingConnector(name: string, args: GoogleCloudLoggingConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def GoogleCloudLoggingConnector(resource_name: str,
                                    args: GoogleCloudLoggingConnectorArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def GoogleCloudLoggingConnector(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    project_id: Optional[str] = None,
                                    service_account_key: Optional[str] = None,
                                    audit_enabled: Optional[bool] = None,
                                    audit_filters: Optional[Sequence[GoogleCloudLoggingConnectorAuditFilterArgs]] = None,
                                    description: Optional[str] = None,
                                    disabled: Optional[bool] = None,
                                    name: Optional[str] = None,
                                    troubleshoot_log_enabled: Optional[bool] = None)
    func NewGoogleCloudLoggingConnector(ctx *Context, name string, args GoogleCloudLoggingConnectorArgs, opts ...ResourceOption) (*GoogleCloudLoggingConnector, error)
    public GoogleCloudLoggingConnector(string name, GoogleCloudLoggingConnectorArgs args, CustomResourceOptions? opts = null)
    public GoogleCloudLoggingConnector(String name, GoogleCloudLoggingConnectorArgs args)
    public GoogleCloudLoggingConnector(String name, GoogleCloudLoggingConnectorArgs args, CustomResourceOptions options)
    
    type: descope:GoogleCloudLoggingConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_google_cloud_logging_connector" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GoogleCloudLoggingConnectorArgs
    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 GoogleCloudLoggingConnectorArgs
    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 GoogleCloudLoggingConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GoogleCloudLoggingConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GoogleCloudLoggingConnectorArgs
    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 googleCloudLoggingConnectorResource = new Descope.GoogleCloudLoggingConnector("googleCloudLoggingConnectorResource", new()
    {
        ProjectId = "string",
        ServiceAccountKey = "string",
        AuditEnabled = false,
        AuditFilters = new[]
        {
            new Descope.Inputs.GoogleCloudLoggingConnectorAuditFilterArgs
            {
                Key = "string",
                Operator = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        Description = "string",
        Disabled = false,
        Name = "string",
        TroubleshootLogEnabled = false,
    });
    
    example, err := descope.NewGoogleCloudLoggingConnector(ctx, "googleCloudLoggingConnectorResource", &descope.GoogleCloudLoggingConnectorArgs{
    	ProjectId:         pulumi.String("string"),
    	ServiceAccountKey: pulumi.String("string"),
    	AuditEnabled:      pulumi.Bool(false),
    	AuditFilters: descope.GoogleCloudLoggingConnectorAuditFilterArray{
    		&descope.GoogleCloudLoggingConnectorAuditFilterArgs{
    			Key:      pulumi.String("string"),
    			Operator: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Description:            pulumi.String("string"),
    	Disabled:               pulumi.Bool(false),
    	Name:                   pulumi.String("string"),
    	TroubleshootLogEnabled: pulumi.Bool(false),
    })
    
    resource "descope_google_cloud_logging_connector" "googleCloudLoggingConnectorResource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id          = "string"
      service_account_key = "string"
      audit_enabled       = false
      audit_filters {
        key      = "string"
        operator = "string"
        values   = ["string"]
      }
      description              = "string"
      disabled                 = false
      name                     = "string"
      troubleshoot_log_enabled = false
    }
    
    var googleCloudLoggingConnectorResource = new GoogleCloudLoggingConnector("googleCloudLoggingConnectorResource", GoogleCloudLoggingConnectorArgs.builder()
        .projectId("string")
        .serviceAccountKey("string")
        .auditEnabled(false)
        .auditFilters(GoogleCloudLoggingConnectorAuditFilterArgs.builder()
            .key("string")
            .operator("string")
            .values("string")
            .build())
        .description("string")
        .disabled(false)
        .name("string")
        .troubleshootLogEnabled(false)
        .build());
    
    google_cloud_logging_connector_resource = descope.GoogleCloudLoggingConnector("googleCloudLoggingConnectorResource",
        project_id="string",
        service_account_key="string",
        audit_enabled=False,
        audit_filters=[{
            "key": "string",
            "operator": "string",
            "values": ["string"],
        }],
        description="string",
        disabled=False,
        name="string",
        troubleshoot_log_enabled=False)
    
    const googleCloudLoggingConnectorResource = new descope.GoogleCloudLoggingConnector("googleCloudLoggingConnectorResource", {
        projectId: "string",
        serviceAccountKey: "string",
        auditEnabled: false,
        auditFilters: [{
            key: "string",
            operator: "string",
            values: ["string"],
        }],
        description: "string",
        disabled: false,
        name: "string",
        troubleshootLogEnabled: false,
    });
    
    type: descope:GoogleCloudLoggingConnector
    properties:
        auditEnabled: false
        auditFilters:
            - key: string
              operator: string
              values:
                - string
        description: string
        disabled: false
        name: string
        projectId: string
        serviceAccountKey: string
        troubleshootLogEnabled: false
    

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

    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ServiceAccountKey string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters List<Descope.GoogleCloudLoggingConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    Description string
    A description of what your connector is used for.
    Disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    Name string
    A custom name for your connector.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ServiceAccountKey string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters []GoogleCloudLoggingConnectorAuditFilterArgs
    Specify which events will be sent to the external audit service (including tenant selection).
    Description string
    A description of what your connector is used for.
    Disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    Name string
    A custom name for your connector.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    project_id string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    service_account_key string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters list(object)
    Specify which events will be sent to the external audit service (including tenant selection).
    description string
    A description of what your connector is used for.
    disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name string
    A custom name for your connector.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceAccountKey String
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<GoogleCloudLoggingConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    description String
    A description of what your connector is used for.
    disabled Boolean
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name String
    A custom name for your connector.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceAccountKey string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    auditEnabled boolean
    Whether to enable streaming of audit events.
    auditFilters GoogleCloudLoggingConnectorAuditFilter[]
    Specify which events will be sent to the external audit service (including tenant selection).
    description string
    A description of what your connector is used for.
    disabled boolean
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name string
    A custom name for your connector.
    troubleshootLogEnabled boolean
    Whether to send troubleshooting events.
    project_id str
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    service_account_key str
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters Sequence[GoogleCloudLoggingConnectorAuditFilterArgs]
    Specify which events will be sent to the external audit service (including tenant selection).
    description str
    A description of what your connector is used for.
    disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name str
    A custom name for your connector.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceAccountKey String
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<Property Map>
    Specify which events will be sent to the external audit service (including tenant selection).
    description String
    A description of what your connector is used for.
    disabled Boolean
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name String
    A custom name for your connector.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GoogleCloudLoggingConnector 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 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 GoogleCloudLoggingConnector Resource

    Get an existing GoogleCloudLoggingConnector 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?: GoogleCloudLoggingConnectorState, opts?: CustomResourceOptions): GoogleCloudLoggingConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            audit_enabled: Optional[bool] = None,
            audit_filters: Optional[Sequence[GoogleCloudLoggingConnectorAuditFilterArgs]] = None,
            description: Optional[str] = None,
            disabled: Optional[bool] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            service_account_key: Optional[str] = None,
            troubleshoot_log_enabled: Optional[bool] = None) -> GoogleCloudLoggingConnector
    func GetGoogleCloudLoggingConnector(ctx *Context, name string, id IDInput, state *GoogleCloudLoggingConnectorState, opts ...ResourceOption) (*GoogleCloudLoggingConnector, error)
    public static GoogleCloudLoggingConnector Get(string name, Input<string> id, GoogleCloudLoggingConnectorState? state, CustomResourceOptions? opts = null)
    public static GoogleCloudLoggingConnector get(String name, Output<String> id, GoogleCloudLoggingConnectorState state, CustomResourceOptions options)
    resources:  _:    type: descope:GoogleCloudLoggingConnector    get:      id: ${id}
    import {
      to = descope_google_cloud_logging_connector.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.
    The following state arguments are supported:
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters List<Descope.GoogleCloudLoggingConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    Description string
    A description of what your connector is used for.
    Disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ServiceAccountKey string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    AuditEnabled bool
    Whether to enable streaming of audit events.
    AuditFilters []GoogleCloudLoggingConnectorAuditFilterArgs
    Specify which events will be sent to the external audit service (including tenant selection).
    Description string
    A description of what your connector is used for.
    Disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    Name string
    A custom name for your connector.
    ProjectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    ServiceAccountKey string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    TroubleshootLogEnabled bool
    Whether to send troubleshooting events.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters list(object)
    Specify which events will be sent to the external audit service (including tenant selection).
    description string
    A description of what your connector is used for.
    disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name string
    A custom name for your connector.
    project_id string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    service_account_key string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<GoogleCloudLoggingConnectorAuditFilter>
    Specify which events will be sent to the external audit service (including tenant selection).
    description String
    A description of what your connector is used for.
    disabled Boolean
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceAccountKey String
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.
    auditEnabled boolean
    Whether to enable streaming of audit events.
    auditFilters GoogleCloudLoggingConnectorAuditFilter[]
    Specify which events will be sent to the external audit service (including tenant selection).
    description string
    A description of what your connector is used for.
    disabled boolean
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name string
    A custom name for your connector.
    projectId string
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceAccountKey string
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    troubleshootLogEnabled boolean
    Whether to send troubleshooting events.
    audit_enabled bool
    Whether to enable streaming of audit events.
    audit_filters Sequence[GoogleCloudLoggingConnectorAuditFilterArgs]
    Specify which events will be sent to the external audit service (including tenant selection).
    description str
    A description of what your connector is used for.
    disabled bool
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name str
    A custom name for your connector.
    project_id str
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    service_account_key str
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    troubleshoot_log_enabled bool
    Whether to send troubleshooting events.
    auditEnabled Boolean
    Whether to enable streaming of audit events.
    auditFilters List<Property Map>
    Specify which events will be sent to the external audit service (including tenant selection).
    description String
    A description of what your connector is used for.
    disabled Boolean
    Whether the connector is disabled. This can be used to temporarily stop a connector from executing without fully deleting it.
    name String
    A custom name for your connector.
    projectId String
    The ID of the Descope project that the connector belongs to. Changing this value will require the resource to be deleted and recreated.
    serviceAccountKey String
    A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
    troubleshootLogEnabled Boolean
    Whether to send troubleshooting events.

    Supporting Types

    GoogleCloudLoggingConnectorAuditFilter, GoogleCloudLoggingConnectorAuditFilterArgs

    Key string
    The field name to filter on (either 'actions' or 'tenants').
    Operator string
    The filter operation to apply ('includes' or 'excludes').
    Values List<string>
    The list of values to match against for the filter.
    Key string
    The field name to filter on (either 'actions' or 'tenants').
    Operator string
    The filter operation to apply ('includes' or 'excludes').
    Values []string
    The list of values to match against for the filter.
    key string
    The field name to filter on (either 'actions' or 'tenants').
    operator string
    The filter operation to apply ('includes' or 'excludes').
    values list(string)
    The list of values to match against for the filter.
    key String
    The field name to filter on (either 'actions' or 'tenants').
    operator String
    The filter operation to apply ('includes' or 'excludes').
    values List<String>
    The list of values to match against for the filter.
    key string
    The field name to filter on (either 'actions' or 'tenants').
    operator string
    The filter operation to apply ('includes' or 'excludes').
    values string[]
    The list of values to match against for the filter.
    key str
    The field name to filter on (either 'actions' or 'tenants').
    operator str
    The filter operation to apply ('includes' or 'excludes').
    values Sequence[str]
    The list of values to match against for the filter.
    key String
    The field name to filter on (either 'actions' or 'tenants').
    operator String
    The filter operation to apply ('includes' or 'excludes').
    values List<String>
    The list of values to match against for the filter.

    Package Details

    Repository
    descope descope/pulumi-descope
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the descope Terraform Provider.
    descope logo Descope
    Viewing docs for Descope v1.0.1
    published on Sunday, Oct 11, 2026 by Descope

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial