PATH:
home
/
lab2454c
/
crypto.keyreum.com
/
vendor
/
google
/
apiclient-services
/
src
/
Logging
/
Resource
<?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\CmekSettings; /** * The "organizations" collection of methods. * Typical usage is: * <code> * $loggingService = new Google\Service\Logging(...); * $organizations = $loggingService->organizations; * </code> */ class Organizations extends \Google\Service\Resource { /** * Gets the Logs Router CMEK settings for the given resource.Note: CMEK for the * Logs Router can currently only be configured for GCP organizations. Once * configured, it applies to all projects and folders in the GCP * organization.See Enabling CMEK for Logs Router * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more * information. (organizations.getCmekSettings) * * @param string $name Required. The resource for which to retrieve CMEK * settings. "projects/[PROJECT_ID]/cmekSettings" * "organizations/[ORGANIZATION_ID]/cmekSettings" * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Logs Router can * currently only be configured for GCP organizations. Once configured, it * applies to all projects and folders in the GCP organization. * @param array $optParams Optional parameters. * @return CmekSettings */ public function getCmekSettings($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('getCmekSettings', [$params], CmekSettings::class); } /** * Updates the Logs Router CMEK settings for the given resource.Note: CMEK for * the Logs Router can currently only be configured for GCP organizations. Once * configured, it applies to all projects and folders in the GCP * organization.UpdateCmekSettings will fail if 1) kms_key_name is invalid, or * 2) the associated service account does not have the required * roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key, or 3) * access to the key is disabled.See Enabling CMEK for Logs Router * (https://cloud.google.com/logging/docs/routing/managed-encryption) for more * information. (organizations.updateCmekSettings) * * @param string $name Required. The resource name for the CMEK settings to * update. "projects/[PROJECT_ID]/cmekSettings" * "organizations/[ORGANIZATION_ID]/cmekSettings" * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" * "folders/[FOLDER_ID]/cmekSettings" For * example:"organizations/12345/cmekSettings"Note: CMEK for the Logs Router can * currently only be configured for GCP organizations. Once configured, it * applies to all projects and folders in the GCP organization. * @param CmekSettings $postBody * @param array $optParams Optional parameters. * * @opt_param string updateMask Optional. Field mask identifying which fields * from cmek_settings should be updated. A field will be overwritten if and only * if it is in the update mask. Output only fields cannot be updated.See * FieldMask for more information.For example: "updateMask=kmsKeyName" * @return CmekSettings */ public function updateCmekSettings($name, CmekSettings $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('updateCmekSettings', [$params], CmekSettings::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Organizations::class, 'Google_Service_Logging_Resource_Organizations');
[-] Projects.php
[edit]
[-] ProjectsLocationsOperations.php
[edit]
[-] OrganizationsLocations.php
[edit]
[-] BillingAccountsLocationsOperations.php
[edit]
[-] ProjectsLocationsBucketsViews.php
[edit]
[-] MonitoredResourceDescriptors.php
[edit]
[-] Exclusions.php
[edit]
[-] Organizations.php
[edit]
[-] Entries.php
[edit]
[-] OrganizationsLogs.php
[edit]
[-] ProjectsLocations.php
[edit]
[-] BillingAccountsLogs.php
[edit]
[-] FoldersSinks.php
[edit]
[-] ProjectsLogs.php
[edit]
[+]
..
[-] BillingAccountsBucketsViews.php
[edit]
[-] BillingAccountsLocations.php
[edit]
[-] FoldersLocationsBucketsViews.php
[edit]
[-] OrganizationsLocationsBucketsViews.php
[edit]
[-] FoldersLocationsOperations.php
[edit]
[-] ProjectsLocationsBuckets.php
[edit]
[-] OrganizationsExclusions.php
[edit]
[-] FoldersLocationsBuckets.php
[edit]
[-] BillingAccountsLocationsBuckets.php
[edit]
[-] BillingAccounts.php
[edit]
[-] Folders.php
[edit]
[-] OrganizationsLocationsOperations.php
[edit]
[-] FoldersExclusions.php
[edit]
[-] LocationsBuckets.php
[edit]
[-] Logs.php
[edit]
[-] FoldersLocations.php
[edit]
[-] ProjectsExclusions.php
[edit]
[-] V2.php
[edit]
[-] LocationsBucketsViews.php
[edit]
[-] FoldersLogs.php
[edit]
[-] ProjectsSinks.php
[edit]
[-] OrganizationsLocationsBuckets.php
[edit]
[-] Locations.php
[edit]
[-] BillingAccountsOperations.php
[edit]
[-] LocationsOperations.php
[edit]
[-] BillingAccountsBuckets.php
[edit]
[-] ProjectsMetrics.php
[edit]
[-] BillingAccountsExclusions.php
[edit]
[-] BillingAccountsLocationsBucketsViews.php
[edit]
[-] Sinks.php
[edit]
[-] BillingAccountsSinks.php
[edit]
[-] OrganizationsSinks.php
[edit]