πŸ“‚ File Browser

AgentAI/vendor/google/apiclient-services/src/GKEHub
πŸŒ™ Dark Mode
🎯 Quick Launch:

πŸ“ Directories

πŸ“ Resource/ πŸ”“ Open

πŸ“„ Files

🐘 AnthosVMMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 AnthosVMMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 AnthosVMSubFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 AnthosVMSubFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceState.php
β–Ά Open πŸ“„ View Source
🐘 AppDevExperienceStatus.php
β–Ά Open πŸ“„ View Source
🐘 ApplianceCluster.php
β–Ά Open πŸ“„ View Source
🐘 AuditConfig.php
β–Ά Open πŸ“„ View Source
🐘 AuditLogConfig.php
β–Ά Open πŸ“„ View Source
🐘 Authority.php
β–Ά Open πŸ“„ View Source
🐘 BinaryAuthorizationConfig.php
β–Ά Open πŸ“„ View Source
🐘 Binding.php
β–Ά Open πŸ“„ View Source
🐘 CancelOperationRequest.php
β–Ά Open πŸ“„ View Source
🐘 CloudBuildSpec.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeFleetSpec.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeFleetState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgrade.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeFeatureCondition.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeOverride.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeGKEUpgradeState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeIgnoredMembership.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeMembershipGKEUpgradeState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradePostConditions.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeState.php
β–Ά Open πŸ“„ View Source
🐘 ClusterUpgradeUpgradeStatus.php
β–Ά Open πŸ“„ View Source
🐘 CommonFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 CommonFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 CommonFleetDefaultMemberConfigSpec.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementBinauthzConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementBinauthzState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementBinauthzVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSync.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncDeploymentState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncError.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementConfigSyncVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementContainerOverride.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementContainerResourceRequirements.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementDeploymentOverride.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementErrorResource.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementGatekeeperDeploymentState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementGitConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementGroupVersionKind.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerDeploymentState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementHierarchyControllerVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementInstallError.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementManaged.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementOciConfig.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementOperatorState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyController.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerMigration.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerMonitoring.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementPolicyControllerVersion.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementQuantity.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementSpec.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementState.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementSyncError.php
β–Ά Open πŸ“„ View Source
🐘 ConfigManagementSyncState.php
β–Ά Open πŸ“„ View Source
🐘 ConnectAgentResource.php
β–Ά Open πŸ“„ View Source
🐘 DataplaneV2FeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 DefaultClusterConfig.php
β–Ά Open πŸ“„ View Source
🐘 EdgeCluster.php
β–Ά Open πŸ“„ View Source
🐘 Expr.php
β–Ά Open πŸ“„ View Source
🐘 Feature.php
β–Ά Open πŸ“„ View Source
🐘 FeatureConfigRef.php
β–Ά Open πŸ“„ View Source
🐘 FeatureResourceState.php
β–Ά Open πŸ“„ View Source
🐘 FeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 FeatureState.php
β–Ά Open πŸ“„ View Source
🐘 Fleet.php
β–Ά Open πŸ“„ View Source
🐘 FleetLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFeatureError.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFleetObservabilityBaseFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFleetObservabilityLoggingState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityFleetObservabilityMonitoringState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityLoggingConfig.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 FleetObservabilityRoutingConfig.php
β–Ά Open πŸ“„ View Source
🐘 GenerateConnectManifestResponse.php
β–Ά Open πŸ“„ View Source
🐘 GenerateMembershipRBACRoleBindingYAMLResponse.php
β–Ά Open πŸ“„ View Source
🐘 GkeCluster.php
β–Ά Open πŸ“„ View Source
🐘 GkehubEmpty.php
β–Ά Open πŸ“„ View Source
🐘 GkehubNamespace.php
β–Ά Open πŸ“„ View Source
🐘 GoogleRpcStatus.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceAuthMethod.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceAzureADConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceDiagnosticInterface.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceGoogleConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceGroupConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceIdentityServiceOptions.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceLdapConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceOidcConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceSamlConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceServerConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceServiceAccountConfig.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceSimpleBindCredentials.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceSpec.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceState.php
β–Ά Open πŸ“„ View Source
🐘 IdentityServiceUserConfig.php
β–Ά Open πŸ“„ View Source
🐘 KubernetesMetadata.php
β–Ά Open πŸ“„ View Source
🐘 KubernetesResource.php
β–Ά Open πŸ“„ View Source
🐘 LifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 ListBoundMembershipsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListFeaturesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListFleetsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListLocationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipBindingsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipFeaturesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipRBACRoleBindingsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListMembershipsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListOperationsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListPermittedScopesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListScopeNamespacesResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListScopeRBACRoleBindingsResponse.php
β–Ά Open πŸ“„ View Source
🐘 ListScopesResponse.php
β–Ά Open πŸ“„ View Source
🐘 LocalControllerState.php
β–Ά Open πŸ“„ View Source
🐘 Location.php
β–Ά Open πŸ“„ View Source
🐘 Membership.php
β–Ά Open πŸ“„ View Source
🐘 MembershipBinding.php
β–Ά Open πŸ“„ View Source
🐘 MembershipBindingLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 MembershipEndpoint.php
β–Ά Open πŸ“„ View Source
🐘 MembershipFeature.php
β–Ά Open πŸ“„ View Source
🐘 MembershipFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 MembershipFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 MembershipState.php
β–Ά Open πŸ“„ View Source
🐘 MeteringState.php
β–Ά Open πŸ“„ View Source
🐘 MigrateSpec.php
β–Ά Open πŸ“„ View Source
🐘 MigrateState.php
β–Ά Open πŸ“„ View Source
🐘 MonitoringConfig.php
β–Ά Open πŸ“„ View Source
🐘 MultiCloudCluster.php
β–Ά Open πŸ“„ View Source
🐘 MultiClusterIngressFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 NamespaceLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 OnPremCluster.php
β–Ά Open πŸ“„ View Source
🐘 Operation.php
β–Ά Open πŸ“„ View Source
🐘 OperationMetadata.php
β–Ά Open πŸ“„ View Source
🐘 Origin.php
β–Ά Open πŸ“„ View Source
🐘 Policy.php
β–Ά Open πŸ“„ View Source
🐘 PolicyBinding.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerBundleInstallSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerHubConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerMonitoringConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerOnClusterState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyContentSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyContentState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerDeploymentConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerHubConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerHubState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerPolicyControllerHubVersion.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerResourceList.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerResourceRequirements.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerSpec.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerState.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerTemplateLibraryConfig.php
β–Ά Open πŸ“„ View Source
🐘 PolicyControllerToleration.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBinding.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingActuationRBACRoleBindingState.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingActuationSpec.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingActuationState.php
β–Ά Open πŸ“„ View Source
🐘 RBACRoleBindingLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 ResourceManifest.php
β–Ά Open πŸ“„ View Source
🐘 ResourceOptions.php
β–Ά Open πŸ“„ View Source
🐘 Role.php
β–Ά Open πŸ“„ View Source
🐘 Scope.php
β–Ά Open πŸ“„ View Source
🐘 ScopeFeatureSpec.php
β–Ά Open πŸ“„ View Source
🐘 ScopeFeatureState.php
β–Ά Open πŸ“„ View Source
🐘 ScopeLifecycleState.php
β–Ά Open πŸ“„ View Source
🐘 SecurityPostureConfig.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshAnalysisMessage.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshAnalysisMessageBase.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshCondition.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshControlPlaneManagement.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshDataPlaneManagement.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshMembershipSpec.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshMembershipState.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshSpec.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshState.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshStatusDetails.php
β–Ά Open πŸ“„ View Source
🐘 ServiceMeshType.php
β–Ά Open πŸ“„ View Source
🐘 SetIamPolicyRequest.php
β–Ά Open πŸ“„ View Source
🐘 State.php
β–Ά Open πŸ“„ View Source
🐘 Status.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsRequest.php
β–Ά Open πŸ“„ View Source
🐘 TestIamPermissionsResponse.php
β–Ά Open πŸ“„ View Source
🐘 TypeMeta.php
β–Ά Open πŸ“„ View Source
🐘 WorkloadCertificateSpec.php
β–Ά Open πŸ“„ View Source
🐘 WorkloadIdentityIdentityProviderStateDetail.php
β–Ά Open πŸ“„ View Source
🐘 WorkloadIdentityState.php
β–Ά Open πŸ“„ View Source

πŸ“„ Source: ConfigManagementConfigSync.php

<?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\GKEHub;

class ConfigManagementConfigSync extends \Google\Collection
{
  protected $collection_key = 'deploymentOverrides';
  protected $deploymentOverridesType = ConfigManagementDeploymentOverride::class;
  protected $deploymentOverridesDataType = 'array';
  /**
   * Optional. Enables the installation of Config Sync. If set to true, the
   * Feature will manage Config Sync resources, and apply the other ConfigSync
   * fields if they exist. If set to false, the Feature will ignore all other
   * ConfigSync fields and delete the Config Sync resources. If omitted,
   * ConfigSync is considered enabled if the git or oci field is present.
   *
   * @var bool
   */
  public $enabled;
  protected $gitType = ConfigManagementGitConfig::class;
  protected $gitDataType = '';
  /**
   * Optional. The Email of the Google Cloud Service Account (GSA) used for
   * exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when
   * Workload Identity is enabled. The GSA should have the Monitoring Metric
   * Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes
   * ServiceAccount `default` in the namespace `config-management-monitoring`
   * should be bound to the GSA. Deprecated: If Workload Identity Federation for
   * GKE is enabled, Google Cloud Service Account is no longer needed for
   * exporting Config Sync metrics: https://cloud.google.com/kubernetes-
   * engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-
   * monitoring#custom-monitoring.
   *
   * @deprecated
   * @var string
   */
  public $metricsGcpServiceAccountEmail;
  protected $ociType = ConfigManagementOciConfig::class;
  protected $ociDataType = '';
  /**
   * Optional. Set to true to enable the Config Sync admission webhook to
   * prevent drifts. If set to false, disables the Config Sync admission webhook
   * and does not prevent drifts. Defaults to false. See
   * https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-
   * to/prevent-config-drift for details.
   *
   * @var bool
   */
  public $preventDrift;
  /**
   * Optional. Specifies whether the Config Sync repo is in `hierarchical` or
   * `unstructured` mode. Defaults to `hierarchical`. See
   * https://docs.cloud.google.com/kubernetes-engine/config-
   * sync/docs/concepts/configs#organize-configs for an explanation.
   *
   * @var string
   */
  public $sourceFormat;
  /**
   * Optional. Set to true to stop syncing configs for a single cluster. Default
   * to false.
   *
   * @var bool
   */
  public $stopSyncing;

  /**
   * Optional. Configuration for deployment overrides. Applies only to Config
   * Sync deployments with containers that are not a root or namespace
   * reconciler: `reconciler-manager`, `otel-collector`, `resource-group-
   * controller-manager`, `admission-webhook`. To override a root or namespace
   * reconciler, use the rootsync or reposync fields at
   * https://docs.cloud.google.com/kubernetes-engine/config-
   * sync/docs/reference/rootsync-reposync-fields#override-resources instead.
   *
   * @param ConfigManagementDeploymentOverride[] $deploymentOverrides
   */
  public function setDeploymentOverrides($deploymentOverrides)
  {
    $this->deploymentOverrides = $deploymentOverrides;
  }
  /**
   * @return ConfigManagementDeploymentOverride[]
   */
  public function getDeploymentOverrides()
  {
    return $this->deploymentOverrides;
  }
  /**
   * Optional. Enables the installation of Config Sync. If set to true, the
   * Feature will manage Config Sync resources, and apply the other ConfigSync
   * fields if they exist. If set to false, the Feature will ignore all other
   * ConfigSync fields and delete the Config Sync resources. If omitted,
   * ConfigSync is considered enabled if the git or oci field is present.
   *
   * @param bool $enabled
   */
  public function setEnabled($enabled)
  {
    $this->enabled = $enabled;
  }
  /**
   * @return bool
   */
  public function getEnabled()
  {
    return $this->enabled;
  }
  /**
   * Optional. Git repo configuration for the cluster.
   *
   * @param ConfigManagementGitConfig $git
   */
  public function setGit(ConfigManagementGitConfig $git)
  {
    $this->git = $git;
  }
  /**
   * @return ConfigManagementGitConfig
   */
  public function getGit()
  {
    return $this->git;
  }
  /**
   * Optional. The Email of the Google Cloud Service Account (GSA) used for
   * exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when
   * Workload Identity is enabled. The GSA should have the Monitoring Metric
   * Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes
   * ServiceAccount `default` in the namespace `config-management-monitoring`
   * should be bound to the GSA. Deprecated: If Workload Identity Federation for
   * GKE is enabled, Google Cloud Service Account is no longer needed for
   * exporting Config Sync metrics: https://cloud.google.com/kubernetes-
   * engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-
   * monitoring#custom-monitoring.
   *
   * @deprecated
   * @param string $metricsGcpServiceAccountEmail
   */
  public function setMetricsGcpServiceAccountEmail($metricsGcpServiceAccountEmail)
  {
    $this->metricsGcpServiceAccountEmail = $metricsGcpServiceAccountEmail;
  }
  /**
   * @deprecated
   * @return string
   */
  public function getMetricsGcpServiceAccountEmail()
  {
    return $this->metricsGcpServiceAccountEmail;
  }
  /**
   * Optional. OCI repo configuration for the cluster.
   *
   * @param ConfigManagementOciConfig $oci
   */
  public function setOci(ConfigManagementOciConfig $oci)
  {
    $this->oci = $oci;
  }
  /**
   * @return ConfigManagementOciConfig
   */
  public function getOci()
  {
    return $this->oci;
  }
  /**
   * Optional. Set to true to enable the Config Sync admission webhook to
   * prevent drifts. If set to false, disables the Config Sync admission webhook
   * and does not prevent drifts. Defaults to false. See
   * https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-
   * to/prevent-config-drift for details.
   *
   * @param bool $preventDrift
   */
  public function setPreventDrift($preventDrift)
  {
    $this->preventDrift = $preventDrift;
  }
  /**
   * @return bool
   */
  public function getPreventDrift()
  {
    return $this->preventDrift;
  }
  /**
   * Optional. Specifies whether the Config Sync repo is in `hierarchical` or
   * `unstructured` mode. Defaults to `hierarchical`. See
   * https://docs.cloud.google.com/kubernetes-engine/config-
   * sync/docs/concepts/configs#organize-configs for an explanation.
   *
   * @param string $sourceFormat
   */
  public function setSourceFormat($sourceFormat)
  {
    $this->sourceFormat = $sourceFormat;
  }
  /**
   * @return string
   */
  public function getSourceFormat()
  {
    return $this->sourceFormat;
  }
  /**
   * Optional. Set to true to stop syncing configs for a single cluster. Default
   * to false.
   *
   * @param bool $stopSyncing
   */
  public function setStopSyncing($stopSyncing)
  {
    $this->stopSyncing = $stopSyncing;
  }
  /**
   * @return bool
   */
  public function getStopSyncing()
  {
    return $this->stopSyncing;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigManagementConfigSync::class, 'Google_Service_GKEHub_ConfigManagementConfigSync');
← Back