Google Cloud Chronicle V1 Client - Class ImportPushLogsRequest (0.7.1)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class ImportPushLogsRequest.

ImportPushLogsRequest request message.

Generated from protobuf message google.cloud.chronicle.v1.ImportPushLogsRequest

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of logs. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

↳ http_body Google\Api\HttpBody

Required. The raw HTTP body is bound to this field. All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.

↳ secret string

Immutable. The secret for the feed.

getParent

Required. The parent, which owns this collection of logs.

Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of logs.

Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}

Parameter
Name Description
var string
Returns
Type Description
$this

getHttpBody

Required. The raw HTTP body is bound to this field.

All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.

Returns
Type Description
Google\Api\HttpBody|null

hasHttpBody

clearHttpBody

setHttpBody

Required. The raw HTTP body is bound to this field.

All log entries must be valid UTF-8. A single invalid event will cause the entire request to be rejected.

Parameter
Name Description
var Google\Api\HttpBody
Returns
Type Description
$this

getSecret

Immutable. The secret for the feed.

Returns
Type Description
string

setSecret

Immutable. The secret for the feed.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent, which owns this collection of logs. Format: projects/{project}/locations/{location}/instances/{instance}/feeds/{feed} Please see FeedsServiceClient::feedName() for help formatting this field.

Returns
Type Description
ImportPushLogsRequest