/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
vendor
/
google
/
apiclient-services
/
src
/
Logging
/
Resource
/
/var/www/vhosts/ihelp.ro/httpdocs/vendor/google/apiclient-services/src/Logging/Resource
mkdir
upload
Name
Size
Mode
Actions
BillingAccounts.php
3939
0644
edit
dl
rm
BillingAccountsBuckets.php
1903
0644
edit
dl
rm
BillingAccountsBucketsViews.php
1709
0644
edit
dl
rm
BillingAccountsExclusions.php
6232
0644
edit
dl
rm
BillingAccountsLocations.php
2659
0644
edit
dl
rm
BillingAccountsLocationsBuckets.php
10601
0644
edit
dl
rm
BillingAccountsLocationsBucketsLinks.php
5244
0644
edit
dl
rm
BillingAccountsLocationsBucketsViews.php
6096
0644
edit
dl
rm
BillingAccountsLocationsBucketsViewsLogs.php
3185
0644
edit
dl
rm
BillingAccountsLocationsOperations.php
3795
0644
edit
dl
rm
BillingAccountsLogs.php
4200
0644
edit
dl
rm
BillingAccountsOperations.php
1674
0644
edit
dl
rm
BillingAccountsSinks.php
11631
0644
edit
dl
rm
Entries.php
3897
0644
edit
dl
rm
Exclusions.php
6141
0644
edit
dl
rm
Folders.php
5686
0644
edit
dl
rm
FoldersExclusions.php
6184
0644
edit
dl
rm
FoldersLocations.php
2611
0644
edit
dl
rm
FoldersLocationsBuckets.php
10553
0644
edit
dl
rm
FoldersLocationsBucketsLinks.php
5196
0644
edit
dl
rm
FoldersLocationsBucketsViews.php
6048
0644
edit
dl
rm
FoldersLocationsBucketsViewsLogs.php
3137
0644
edit
dl
rm
FoldersLocationsOperations.php
3747
0644
edit
dl
rm
FoldersLogs.php
4152
0644
edit
dl
rm
FoldersSinks.php
11583
0644
edit
dl
rm
Locations.php
2568
0644
edit
dl
rm
LocationsBuckets.php
10510
0644
edit
dl
rm
LocationsBucketsLinks.php
5153
0644
edit
dl
rm
LocationsBucketsViews.php
6005
0644
edit
dl
rm
LocationsOperations.php
3704
0644
edit
dl
rm
Logs.php
4109
0644
edit
dl
rm
MonitoredResourceDescriptors.php
2283
0644
edit
dl
rm
Organizations.php
7660
0644
edit
dl
rm
OrganizationsExclusions.php
6220
0644
edit
dl
rm
OrganizationsLocations.php
2647
0644
edit
dl
rm
OrganizationsLocationsBuckets.php
10589
0644
edit
dl
rm
OrganizationsLocationsBucketsLinks.php
5232
0644
edit
dl
rm
OrganizationsLocationsBucketsViews.php
6084
0644
edit
dl
rm
OrganizationsLocationsBucketsViewsLogs.php
3173
0644
edit
dl
rm
OrganizationsLocationsOperations.php
3783
0644
edit
dl
rm
OrganizationsLogs.php
4188
0644
edit
dl
rm
OrganizationsSinks.php
11619
0644
edit
dl
rm
Projects.php
3883
0644
edit
dl
rm
ProjectsExclusions.php
6190
0644
edit
dl
rm
ProjectsLocations.php
2617
0644
edit
dl
rm
ProjectsLocationsBuckets.php
10559
0644
edit
dl
rm
ProjectsLocationsBucketsLinks.php
5202
0644
edit
dl
rm
ProjectsLocationsBucketsViews.php
6054
0644
edit
dl
rm
ProjectsLocationsBucketsViewsLogs.php
3143
0644
edit
dl
rm
ProjectsLocationsOperations.php
3753
0644
edit
dl
rm
ProjectsLogs.php
4158
0644
edit
dl
rm
ProjectsMetrics.php
4626
0644
edit
dl
rm
ProjectsSinks.php
11589
0644
edit
dl
rm
Sinks.php
8717
0644
edit
dl
rm
V2.php
7550
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/vendor/google/apiclient-services/src/Logging/Resource/Sinks.php
(8717B)
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ namespace Google\Service\Logging\Resource; use Google\Service\Logging\ListSinksResponse; use Google\Service\Logging\LogSink; use Google\Service\Logging\LoggingEmpty; /** * The "sinks" collection of methods. * Typical usage is: * <code> * $loggingService = new Google\Service\Logging(...); * $sinks = $loggingService->sinks; * </code> */ 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');
Save
cmd:
run