/var/www/flurhymez/vendor/google/apiclient-services/src/Logging/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Logging/Resource/BillingAccountsBuckets.php (1903B)
* $loggingService = new Google\Service\Logging(...);
* $buckets = $loggingService->buckets;
*
*/
class BillingAccountsBuckets extends \Google\Service\Resource
{
/**
* Gets a log bucket. (buckets.get)
*
* @param string $name Required. The resource name of the bucket:
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET
* _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For
* example:"projects/my-project/locations/global/buckets/my-bucket"
* @param array $optParams Optional parameters.
* @return LogBucket
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], LogBucket::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BillingAccountsBuckets::class, 'Google_Service_Logging_Resource_BillingAccountsBuckets');