requestValidForDuration = $requestValidForDuration; } /** * @return Duration */ public function getRequestValidForDuration() { return $this->requestValidForDuration; } /** * Input only. Resource manager tags to be bound to the instance. Tag keys and * values have the same definition as resource manager tags. Keys and values * can be either in numeric format, such as `tagKeys/{tag_key_id}` and * `tagValues/{tag_value_id}` or in namespaced format such as * `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. * The field is ignored (both PUT & PATCH) when empty. * * @param string[] $resourceManagerTags */ public function setResourceManagerTags($resourceManagerTags) { $this->resourceManagerTags = $resourceManagerTags; } /** * @return string[] */ public function getResourceManagerTags() { return $this->resourceManagerTags; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InstanceParams::class, 'Google_Service_Compute_InstanceParams');