createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Optional. User-provided description for this network policy. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * Required. IP address range in CIDR notation used to create internet access * and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is * required. The range cannot overlap with any prefixes either in the consumer * VPC network or in use by the private clouds attached to that VPC network. * * @param string $edgeServicesCidr */ public function setEdgeServicesCidr($edgeServicesCidr) { $this->edgeServicesCidr = $edgeServicesCidr; } /** * @return string */ public function getEdgeServicesCidr() { return $this->edgeServicesCidr; } /** * Network service that allows External IP addresses to be assigned to VMware * workloads. This service can only be enabled when `internet_access` is also * enabled. * * @param NetworkService $externalIp */ public function setExternalIp(NetworkService $externalIp) { $this->externalIp = $externalIp; } /** * @return NetworkService */ public function getExternalIp() { return $this->externalIp; } /** * Network service that allows VMware workloads to access the internet. * * @param NetworkService $internetAccess */ public function setInternetAccess(NetworkService $internetAccess) { $this->internetAccess = $internetAccess; } /** * @return NetworkService */ public function getInternetAccess() { return $this->internetAccess; } /** * Output only. Identifier. The resource name of this network policy. Resource * names are schemeless URIs that follow the conventions in * https://cloud.google.com/apis/design/resource_names. For example: * `projects/my-project/locations/us-central1/networkPolicies/my-network- * policy` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. System-generated unique identifier for the resource. * * @param string $uid */ public function setUid($uid) { $this->uid = $uid; } /** * @return string */ public function getUid() { return $this->uid; } /** * Output only. Last update time of this resource. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } /** * Optional. The relative resource name of the VMware Engine network. Specify * the name in the following form: `projects/{project}/locations/{location}/vm * wareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either * be a project number or a project ID. * * @param string $vmwareEngineNetwork */ public function setVmwareEngineNetwork($vmwareEngineNetwork) { $this->vmwareEngineNetwork = $vmwareEngineNetwork; } /** * @return string */ public function getVmwareEngineNetwork() { return $this->vmwareEngineNetwork; } /** * Output only. The canonical name of the VMware Engine network in the form: ` * projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware * _engine_network_id}` * * @param string $vmwareEngineNetworkCanonical */ public function setVmwareEngineNetworkCanonical($vmwareEngineNetworkCanonical) { $this->vmwareEngineNetworkCanonical = $vmwareEngineNetworkCanonical; } /** * @return string */ public function getVmwareEngineNetworkCanonical() { return $this->vmwareEngineNetworkCanonical; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(NetworkPolicy::class, 'Google_Service_VMwareEngine_NetworkPolicy');