/var/www/vhosts/ihelp.ro/httpdocs/vendor/google/apiclient-services/src/Logging/Resource
NameSizeModeActions
BillingAccounts.php39390644editdlrm
BillingAccountsBuckets.php19030644editdlrm
BillingAccountsBucketsViews.php17090644editdlrm
BillingAccountsExclusions.php62320644editdlrm
BillingAccountsLocations.php26590644editdlrm
BillingAccountsLocationsBuckets.php106010644editdlrm
BillingAccountsLocationsBucketsLinks.php52440644editdlrm
BillingAccountsLocationsBucketsViews.php60960644editdlrm
BillingAccountsLocationsBucketsViewsLogs.php31850644editdlrm
BillingAccountsLocationsOperations.php37950644editdlrm
BillingAccountsLogs.php42000644editdlrm
BillingAccountsOperations.php16740644editdlrm
BillingAccountsSinks.php116310644editdlrm
Entries.php38970644editdlrm
Exclusions.php61410644editdlrm
Folders.php56860644editdlrm
FoldersExclusions.php61840644editdlrm
FoldersLocations.php26110644editdlrm
FoldersLocationsBuckets.php105530644editdlrm
FoldersLocationsBucketsLinks.php51960644editdlrm
FoldersLocationsBucketsViews.php60480644editdlrm
FoldersLocationsBucketsViewsLogs.php31370644editdlrm
FoldersLocationsOperations.php37470644editdlrm
FoldersLogs.php41520644editdlrm
FoldersSinks.php115830644editdlrm
Locations.php25680644editdlrm
LocationsBuckets.php105100644editdlrm
LocationsBucketsLinks.php51530644editdlrm
LocationsBucketsViews.php60050644editdlrm
LocationsOperations.php37040644editdlrm
Logs.php41090644editdlrm
MonitoredResourceDescriptors.php22830644editdlrm
Organizations.php76600644editdlrm
OrganizationsExclusions.php62200644editdlrm
OrganizationsLocations.php26470644editdlrm
OrganizationsLocationsBuckets.php105890644editdlrm
OrganizationsLocationsBucketsLinks.php52320644editdlrm
OrganizationsLocationsBucketsViews.php60840644editdlrm
OrganizationsLocationsBucketsViewsLogs.php31730644editdlrm
OrganizationsLocationsOperations.php37830644editdlrm
OrganizationsLogs.php41880644editdlrm
OrganizationsSinks.php116190644editdlrm
Projects.php38830644editdlrm
ProjectsExclusions.php61900644editdlrm
ProjectsLocations.php26170644editdlrm
ProjectsLocationsBuckets.php105590644editdlrm
ProjectsLocationsBucketsLinks.php52020644editdlrm
ProjectsLocationsBucketsViews.php60540644editdlrm
ProjectsLocationsBucketsViewsLogs.php31430644editdlrm
ProjectsLocationsOperations.php37530644editdlrm
ProjectsLogs.php41580644editdlrm
ProjectsMetrics.php46260644editdlrm
ProjectsSinks.php115890644editdlrm
Sinks.php87170644editdlrm
V2.php75500644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/google/apiclient-services/src/Logging/Resource/Sinks.php (8717B)
* $loggingService = new Google\Service\Logging(...); * $sinks = $loggingService->sinks; * */ class Sinks extends \Google\Service\Resource { /** * Creates a sink that exports specified log entries to a destination. The * export begins upon ingress, unless the sink's writer_identity is not * permitted to write to the destination. A sink can export log entries only * from the resource owning the sink. (sinks.create) * * @param string $parent Required. The resource in which to create the sink: * "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For * examples:"projects/my-project" "organizations/123456789" * @param LogSink $postBody * @param array $optParams Optional parameters. * * @opt_param string customWriterIdentity Optional. A service account provided * by the caller that will be used to write the log entries. The format must be * serviceAccount:some@email. This field can only be specified if you are * routing logs to a destination outside this sink's project. If not specified, * a Logging service account will automatically be generated. * @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM * identity returned as writer_identity in the new sink. If this value is * omitted or set to false, and if the sink's parent is a project, then the * value returned as writer_identity is the same group or service account used * by Cloud Logging before the addition of writer identities to this API. The * sink's destination must be in the same project as the sink itself.If this * field is set to true, or if the sink is owned by a non-project resource such * as an organization, then the value of writer_identity will be a service agent * (https://cloud.google.com/iam/docs/service-account-types#service-agents) used * by the sinks with the same parent. For more information, see writer_identity * in LogSink. * @return LogSink */ public function create($parent, LogSink $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], LogSink::class); } /** * Deletes a sink. If the sink has a unique writer_identity, then that service * account is also deleted. (sinks.delete) * * @param string $sinkName Required. The full resource name of the sink to * delete, including the parent resource and the sink identifier: * "projects/[PROJECT_ID]/sinks/[SINK_ID]" * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" * "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my- * project/sinks/my-sink" * @param array $optParams Optional parameters. * @return LoggingEmpty */ public function delete($sinkName, $optParams = []) { $params = ['sinkName' => $sinkName]; $params = array_merge($params, $optParams); return $this->call('delete', [$params], LoggingEmpty::class); } /** * Gets a sink. (sinks.get) * * @param string $sinkName Required. The resource name of the sink: * "projects/[PROJECT_ID]/sinks/[SINK_ID]" * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" * "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my- * project/sinks/my-sink" * @param array $optParams Optional parameters. * @return LogSink */ public function get($sinkName, $optParams = []) { $params = ['sinkName' => $sinkName]; $params = array_merge($params, $optParams); return $this->call('get', [$params], LogSink::class); } /** * Lists sinks. (sinks.listSinks) * * @param string $parent Required. The parent resource whose sinks are to be * listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" * @param array $optParams Optional parameters. * * @opt_param int pageSize Optional. The maximum number of results to return * from this request. Non-positive values are ignored. The presence of * nextPageToken in the response indicates that more results might be available. * @opt_param string pageToken Optional. If present, then retrieve the next * batch of results from the preceding call to this method. pageToken must be * the value of nextPageToken from the previous response. The values of other * method parameters should be identical to those in the previous call. * @return ListSinksResponse */ public function listSinks($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListSinksResponse::class); } /** * Updates a sink. This method replaces the following fields in the existing * sink with values from the new sink: destination, and filter.The updated sink * might also have a new writer_identity; see the unique_writer_identity field. * (sinks.update) * * @param string $sinkName Required. The full resource name of the sink to * update, including the parent resource and the sink identifier: * "projects/[PROJECT_ID]/sinks/[SINK_ID]" * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" * "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my- * project/sinks/my-sink" * @param LogSink $postBody * @param array $optParams Optional parameters. * * @opt_param string customWriterIdentity Optional. A service account provided * by the caller that will be used to write the log entries. Must be of format * serviceAccount:some@email. This can only be specified if writing to a * destination outside the sink's project. If not specified, a p4 service * account will automatically be generated. * @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a * description of this field. When updating a sink, the effect of this field on * the value of writer_identity in the updated sink depends on both the old and * new values of this field: If the old and new values of this field are both * false or both true, then there is no change to the sink's writer_identity. If * the old value is false and the new value is true, then writer_identity is * changed to a service agent (https://cloud.google.com/iam/docs/service- * account-types#service-agents) owned by Cloud Logging. It is an error if the * old value is true and the new value is set to false or defaulted to false. * @opt_param string updateMask Optional. Field mask that specifies the fields * in sink that need an update. A sink field will be overwritten if, and only * if, it is in the update mask. name and output only fields cannot be * updated.An empty updateMask is temporarily treated as using the following * mask for backwards compatibility * purposes:destination,filter,includeChildrenAt some point in the future, * behavior will be removed and specifying an empty updateMask will be an * error.For a detailed FieldMask definition, see * https://developers.google.com/protocol- * buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: * updateMask=filter * @return LogSink */ public function update($sinkName, LogSink $postBody, $optParams = []) { $params = ['sinkName' => $sinkName, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], LogSink::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Sinks::class, 'Google_Service_Logging_Resource_Sinks');