class Logging_LoggingDestination extends Message

Configuration of a specific logging destination (the producer project or the consumer project).

Protobuf type Google\Api\Logging\LoggingDestination

Methods

__construct()

No description

string
getMonitoredResource()

The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.

setMonitoredResource(string $var)

The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.

RepeatedField
getLogs()

Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

setLogs(array|RepeatedField $var)

Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

Details

at line 36
__construct()

at line 48
string getMonitoredResource()

The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.

Generated from protobuf field string monitored_resource = 3;

Return Value

string

at line 60
setMonitoredResource(string $var)

The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.

Generated from protobuf field string monitored_resource = 3;

Parameters

string $var

at line 75
RepeatedField getLogs()

Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

Generated from protobuf field repeated string logs = 1;

Return Value

RepeatedField

at line 89
setLogs(array|RepeatedField $var)

Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.Service.logs] section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

Generated from protobuf field repeated string logs = 1;

Parameters

array|RepeatedField $var