class ProjectsBigQueryExports extends Resource (View source)

The "bigQueryExports" collection of methods.

Typical usage is:

 $securitycenterService = new Google\Service\SecurityCommandCenter(...);
 $bigQueryExports = $securitycenterService->projects_bigQueryExports;

Methods

create(string $parent, GoogleCloudSecuritycenterV1BigQueryExport $postBody, array $optParams = [])

Creates a BigQuery export. (bigQueryExports.create)

delete(string $name, array $optParams = [])

Deletes an existing BigQuery export. (bigQueryExports.delete)

get(string $name, array $optParams = [])

Gets a BigQuery export. (bigQueryExports.get)

listProjectsBigQueryExports(string $parent, array $optParams = [])

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned. (bigQueryExports.listProjectsBigQueryExports)

patch(string $name, GoogleCloudSecuritycenterV1BigQueryExport $postBody, array $optParams = [])

Updates a BigQuery export. (bigQueryExports.patch)

Details

GoogleCloudSecuritycenterV1BigQueryExport create(string $parent, GoogleCloudSecuritycenterV1BigQueryExport $postBody, array $optParams = [])

Creates a BigQuery export. (bigQueryExports.create)

Parameters

string $parent

Required. The name of the parent resource of the new BigQuery export. Its format is organizations/[organization_id], folders/[folder_id], or projects/[project_id].

GoogleCloudSecuritycenterV1BigQueryExport $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1BigQueryExport

Exceptions

Exception

SecuritycenterEmpty delete(string $name, array $optParams = [])

Deletes an existing BigQuery export. (bigQueryExports.delete)

Parameters

string $name

Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}

array $optParams

Optional parameters.

Return Value

SecuritycenterEmpty

Exceptions

Exception

GoogleCloudSecuritycenterV1BigQueryExport get(string $name, array $optParams = [])

Gets a BigQuery export. (bigQueryExports.get)

Parameters

string $name

Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1BigQueryExport

Exceptions

Exception

ListBigQueryExportsResponse listProjectsBigQueryExports(string $parent, array $optParams = [])

Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned. (bigQueryExports.listProjectsBigQueryExports)

Parameters

string $parent

Required. The parent, which owns the collection of BigQuery exports. Its format is organizations/[organization_id], folders/[folder_id], projects/[project_id].

array $optParams

Optional parameters.

Return Value

ListBigQueryExportsResponse

Exceptions

Exception

GoogleCloudSecuritycenterV1BigQueryExport patch(string $name, GoogleCloudSecuritycenterV1BigQueryExport $postBody, array $optParams = [])

Updates a BigQuery export. (bigQueryExports.patch)

Parameters

string $name

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.

GoogleCloudSecuritycenterV1BigQueryExport $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudSecuritycenterV1BigQueryExport

Exceptions

Exception