diff --git a/src/CloudOSLogin/SignSshPublicKeyRequest.php b/src/CloudOSLogin/SignSshPublicKeyRequest.php index 690a504eab8..112b1998371 100644 --- a/src/CloudOSLogin/SignSshPublicKeyRequest.php +++ b/src/CloudOSLogin/SignSshPublicKeyRequest.php @@ -26,6 +26,16 @@ class SignSshPublicKeyRequest extends \Google\Model * @var string */ public $appEngineInstance; + /** + * Optional. The Cloud Run resource to sign the SSH public key for. Expected + * formats: - `projects/{project}/locations/{location}/services/{service}` - + * `projects/{project}/locations/{location}/workerPools/{worker_pool}` - + * `projects/{project}/locations/{location}/jobs/{job}` - + * `projects/{project}/locations/{location}/instances/{instance}` + * + * @var string + */ + public $cloudRunResource; /** * The Compute instance to sign the SSH public key for. Expected format: * projects/{project}/zones/{zone}/instances/{numeric_instance_id} @@ -66,6 +76,26 @@ public function getAppEngineInstance() { return $this->appEngineInstance; } + /** + * Optional. The Cloud Run resource to sign the SSH public key for. Expected + * formats: - `projects/{project}/locations/{location}/services/{service}` - + * `projects/{project}/locations/{location}/workerPools/{worker_pool}` - + * `projects/{project}/locations/{location}/jobs/{job}` - + * `projects/{project}/locations/{location}/instances/{instance}` + * + * @param string $cloudRunResource + */ + public function setCloudRunResource($cloudRunResource) + { + $this->cloudRunResource = $cloudRunResource; + } + /** + * @return string + */ + public function getCloudRunResource() + { + return $this->cloudRunResource; + } /** * The Compute instance to sign the SSH public key for. Expected format: * projects/{project}/zones/{zone}/instances/{numeric_instance_id}