Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::BigQueryExport (v0.3.0)

Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::BigQueryExport.

Configures how to deliver Findings to BigQuery Instance.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::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.

#dataset

def dataset() -> ::String
Returns
  • (::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 (_).

#dataset=

def dataset=(value) -> ::String
Parameter
  • value (::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 (_).
Returns
  • (::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 (_).

#description

def description() -> ::String
Returns
  • (::String) — The description of the export (max of 1024 characters).

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The description of the export (max of 1024 characters).
Returns
  • (::String) — The description of the export (max of 1024 characters).

#filter

def filter() -> ::String
Returns
  • (::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.

#filter=

def filter=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#most_recent_editor

def most_recent_editor() -> ::String
Returns
  • (::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.

#name

def name() -> ::String
Returns
  • (::String) — The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples:

    + organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}

    • folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id} + projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}

    This field is provided in responses, and is ignored when provided in create requests.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples:

    + organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}

    • folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id} + projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}

    This field is provided in responses, and is ignored when provided in create requests.

Returns
  • (::String) — The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples:

    + organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}

    • folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id} + projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}

    This field is provided in responses, and is ignored when provided in create requests.

#principal

def principal() -> ::String
Returns
  • (::String) — Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::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.