class Logging_LoggingDestination extends Message

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

Generated from protobuf message 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.

$this
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 "/".

$this
setLogs(string[]|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 61
$this 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

Return Value

$this

at line 78
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 93
$this setLogs(string[]|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

string[]|RepeatedField $var

Return Value

$this