Reference documentation and code samples for the Google Cloud Shell V1 Client class RemovePublicKeyRequest.
Request message for RemovePublicKey.
Generated from protobuf message google.cloud.shell.v1.RemovePublicKeyRequest
Namespace
Google \ Cloud \ Shell \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ environment | 
        
          string
          Environment this key should be removed from, e.g.   | 
      
↳ key | 
        
          string
          Key that should be removed from the environment.  | 
      
getEnvironment
Environment this key should be removed from, e.g.
users/me/environments/default.
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setEnvironment
Environment this key should be removed from, e.g.
users/me/environments/default.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getKey
Key that should be removed from the environment.
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setKey
Key that should be removed from the environment.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |