class Logging extends Service (View source)

Service definition for Logging (v2).

Writes log entries and manages your Cloud Logging configuration.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

CLOUD_PLATFORM_READ_ONLY

View your data across Google Cloud services and see the email address of your Google Account.

LOGGING_ADMIN

Administrate log data for your projects.

LOGGING_READ

View log data for your projects.

LOGGING_WRITE

Submit log data for your projects.

Properties

$billingAccounts
$billingAccounts_exclusions
$billingAccounts_locations
$billingAccounts_locations_buckets
$billingAccounts_locations_buckets_links
$billingAccounts_locations_buckets_views
$billingAccounts_locations_buckets_views_logs
$billingAccounts_locations_operations
$billingAccounts_locations_recentQueries
$billingAccounts_locations_savedQueries
$billingAccounts_logs
$billingAccounts_sinks
$entries
$exclusions
$folders
$folders_exclusions
$folders_locations
$folders_locations_buckets
$folders_locations_buckets_links
$folders_locations_buckets_views
$folders_locations_buckets_views_logs
$folders_locations_operations
$folders_locations_recentQueries
$folders_locations_savedQueries
$folders_logs
$folders_sinks
$locations
$locations_buckets
$locations_buckets_links
$locations_buckets_views
$locations_operations
$logs
$monitoredResourceDescriptors
$organizations
$organizations_exclusions
$organizations_locations
$organizations_locations_buckets
$organizations_locations_buckets_links
$organizations_locations_buckets_views
$organizations_locations_buckets_views_logs
$organizations_locations_operations
$organizations_locations_recentQueries
$organizations_locations_savedQueries
$organizations_logs
$organizations_sinks
$projects
$projects_exclusions
$projects_locations
$projects_locations_buckets
$projects_locations_buckets_links
$projects_locations_buckets_views
$projects_locations_buckets_views_logs
$projects_locations_operations
$projects_locations_recentQueries
$projects_locations_savedQueries
$projects_logs
$projects_metrics
$projects_sinks
$sinks
$v2
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Logging service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Logging service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.