published on Sunday, Oct 11, 2026 by Descope
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:
- 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 stringKey - 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<Descope.Google Cloud Logging Connector Audit Filter> - 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 boolEnabled - 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 stringKey - 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 []GoogleCloud Logging Connector Audit Filter Args - 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 boolEnabled - 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_ stringkey - 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_ boolenabled - 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 StringKey - 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 Boolean - Whether to enable streaming of audit events.
- audit
Filters List<GoogleCloud Logging Connector Audit Filter> - 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.
- troubleshoot
Log BooleanEnabled - 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 stringKey - 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 boolean - Whether to enable streaming of audit events.
- audit
Filters GoogleCloud Logging Connector Audit Filter[] - 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.
- troubleshoot
Log booleanEnabled - 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_ strkey - 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[GoogleCloud Logging Connector Audit Filter Args] - 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_ boolenabled - 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 StringKey - 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 Boolean - Whether to enable streaming of audit events.
- audit
Filters 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.
- troubleshoot
Log BooleanEnabled - 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) -> GoogleCloudLoggingConnectorfunc 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: existingGoogleCloudLoggingConnector: type: descope:GoogleCloudLoggingConnector get: id: ${id}import {
to = descope_google_cloud_logging_connector.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state GoogleCloudLoggingConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state GoogleCloudLoggingConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state GoogleCloudLoggingConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state GoogleCloudLoggingConnectorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Audit
Enabled bool - Whether to enable streaming of audit events.
- Audit
Filters List<Descope.Google Cloud Logging Connector Audit Filter> - 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 stringKey - 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 boolEnabled - Whether to send troubleshooting events.
- Audit
Enabled bool - Whether to enable streaming of audit events.
- Audit
Filters []GoogleCloud Logging Connector Audit Filter Args - 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 stringKey - 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 boolEnabled - 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_ stringkey - 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_ boolenabled - Whether to send troubleshooting events.
- audit
Enabled Boolean - Whether to enable streaming of audit events.
- audit
Filters List<GoogleCloud Logging Connector Audit Filter> - 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.
- 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 StringKey - 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 BooleanEnabled - Whether to send troubleshooting events.
- audit
Enabled boolean - Whether to enable streaming of audit events.
- audit
Filters GoogleCloud Logging Connector Audit Filter[] - 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.
- 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 stringKey - 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 booleanEnabled - Whether to send troubleshooting events.
- audit_
enabled bool - Whether to enable streaming of audit events.
- audit_
filters Sequence[GoogleCloud Logging Connector Audit Filter Args] - 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_ strkey - 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_ boolenabled - Whether to send troubleshooting events.
- audit
Enabled Boolean - Whether to enable streaming of audit events.
- audit
Filters 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.
- 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 StringKey - 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 BooleanEnabled - Whether to send troubleshooting events.
Supporting Types
GoogleCloudLoggingConnectorAuditFilter, GoogleCloudLoggingConnectorAuditFilterArgs
Package Details
- Repository
- descope descope/pulumi-descope
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
descopeTerraform Provider.
published on Sunday, Oct 11, 2026 by Descope