Reference documentation and code samples for the Google Cloud Chronicle V1 Client class GoogleCloudStorageEventDrivenSettings.
GoogleCloudStorageEventDrivenSettings is the settings proto for Omniflow Google Cloud Storage feeds driven by pubsub events.
Generated from protobuf message google.cloud.chronicle.v1.GoogleCloudStorageEventDrivenSettings
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ bucket_uri |
string
Required. Google Cloud Storage Bucket URI for the feed. |
↳ pubsub_subscription |
string
Required. Subscription name for pubsub topic. |
↳ source_deletion_option |
int
Optional. Source deletion option determines if the data from the source is to be deleted after ingestion. |
↳ chronicle_service_account |
string
Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project. |
↳ max_lookback_days |
int
Optional. Maximum File Age to ingest in days. |
↳ include_prefixes |
string[]
Optional. Optional list of object prefixes to include. |
getBucketUri
Required. Google Cloud Storage Bucket URI for the feed.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBucketUri
Required. Google Cloud Storage Bucket URI for the feed.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPubsubSubscription
Required. Subscription name for pubsub topic.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPubsubSubscription
Required. Subscription name for pubsub topic.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceDeletionOption
Optional. Source deletion option determines if the data from the source is to be deleted after ingestion.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SourceDeletionOptionV2. |
setSourceDeletionOption
Optional. Source deletion option determines if the data from the source is to be deleted after ingestion.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SourceDeletionOptionV2. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getChronicleServiceAccount
Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project.
| Returns | |
|---|---|
| Type | Description |
string |
|
setChronicleServiceAccount
Output only. SA that will read data, this is Storage Transfer Service SA of Customer's Tenancy Project.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxLookbackDays
Optional. Maximum File Age to ingest in days.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMaxLookbackDays
Optional. Maximum File Age to ingest in days.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIncludePrefixes
Optional. Optional list of object prefixes to include.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setIncludePrefixes
Optional. Optional list of object prefixes to include.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|