createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * An opaque tag indicating the current version of the policy, used for * concurrency control. * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * McpEnableRules contains MCP enablement related rules. * * @param GoogleApiServiceusageV2betaMcpEnableRule[] $mcpEnableRules */ public function setMcpEnableRules($mcpEnableRules) { $this->mcpEnableRules = $mcpEnableRules; } /** * @return GoogleApiServiceusageV2betaMcpEnableRule[] */ public function getMcpEnableRules() { return $this->mcpEnableRules; } /** * Output only. The resource name of the policy. Only the `default` policy is * supported. We allow the following formats: * `projects/{PROJECT_NUMBER}/mcpPolicies/default`, * `projects/{PROJECT_ID}/mcpPolicies/default`, * `folders/{FOLDER_ID}/mcpPolicies/default`, * `organizations/{ORG_ID}/mcpPolicies/default`. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. The time the policy was last updated. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleApiServiceusageV2betaMcpPolicy::class, 'Google_Service_ServiceUsage_GoogleApiServiceusageV2betaMcpPolicy');