Google Cloud Security Command Center V1 Client - Class BigQueryExport (1.15.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class BigQueryExport.

Configures how to deliver Findings to BigQuery Instance.

Generated from protobuf message google.cloud.securitycenter.v1.BigQueryExport

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: "organizations/{organization_id}/bigQueryExports/{export_id}" Example format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: "projects/{project_id}/bigQueryExports/{export_id}" This field is provided in responses, and is ignored when provided in create requests.

↳ description string

The description of the export (max of 1024 characters).

↳ filter string

Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form <field> <operator> <value> and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * = for all value types. * >, <, >=, <= for integer values. * :, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals true and false without quotes.

↳ dataset string

The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.

↳ update_time Google\Protobuf\Timestamp

Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.

↳ most_recent_editor string

Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.

↳ principal string

Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.

getName

The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name.

Example format: "organizations/{organization_id}/bigQueryExports/{export_id}" Example format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: "projects/{project_id}/bigQueryExports/{export_id}" This field is provided in responses, and is ignored when provided in create requests.

Returns
TypeDescription
string

setName

The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name.

Example format: "organizations/{organization_id}/bigQueryExports/{export_id}" Example format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: "projects/{project_id}/bigQueryExports/{export_id}" This field is provided in responses, and is ignored when provided in create requests.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The description of the export (max of 1024 characters).

Returns
TypeDescription
string

setDescription

The description of the export (max of 1024 characters).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND.

Restrictions have the form <field> <operator> <value> and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

  • = for all value types.
  • >, <, >=, <= for integer values.
  • :, meaning substring matching, for strings. The supported value types are:
  • string literals in quotes.
  • integer literals without quotes.
  • boolean literals true and false without quotes.
Returns
TypeDescription
string

setFilter

Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND.

Restrictions have the form <field> <operator> <value> and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

  • = for all value types.
  • >, <, >=, <= for integer values.
  • :, meaning substring matching, for strings. The supported value types are:
  • string literals in quotes.
  • integer literals without quotes.
  • boolean literals true and false without quotes.
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataset

The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]".

BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).

Returns
TypeDescription
string

setDataset

The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]".

BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time at which the BigQuery export was created.

This field is set by the server and will be ignored if provided on export on creation.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which the BigQuery export was created.

This field is set by the server and will be ignored if provided on export on creation.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The most recent time at which the BigQuery export was updated.

This field is set by the server and will be ignored if provided on export creation or update.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The most recent time at which the BigQuery export was updated.

This field is set by the server and will be ignored if provided on export creation or update.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getMostRecentEditor

Output only. Email address of the user who last edited the BigQuery export.

This field is set by the server and will be ignored if provided on export creation or update.

Returns
TypeDescription
string

setMostRecentEditor

Output only. Email address of the user who last edited the BigQuery export.

This field is set by the server and will be ignored if provided on export creation or update.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPrincipal

Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.

Returns
TypeDescription
string

setPrincipal

Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.

Parameter
NameDescription
var string
Returns
TypeDescription
$this