#include <deployment.h>
◆ Deployment() [1/2]
  
  
      
        
          | google_deploymentmanager_api::Deployment::Deployment  | 
          ( | 
          const Json::Value &  | 
          storage | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Standard constructor for an immutable data object instance.
- Parameters
 - 
  
    | [in] | storage | The underlying data storage for this instance.  | 
  
   
 
 
◆ Deployment() [2/2]
  
  
      
        
          | google_deploymentmanager_api::Deployment::Deployment  | 
          ( | 
          Json::Value *  | 
          storage | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Standard constructor for a mutable data object instance.
- Parameters
 - 
  
    | [in] | storage | The underlying data storage for this instance.  | 
  
   
 
 
◆ ~Deployment()
  
  
      
        
          | google_deploymentmanager_api::Deployment::~Deployment  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ clear_description()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_description  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'description' attribute. 
 
 
◆ clear_fingerprint()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_fingerprint  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'fingerprint' attribute. 
 
 
◆ clear_id()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_id  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'id' attribute. 
 
 
◆ clear_insert_time()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_insert_time  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'insertTime' attribute. 
 
 
◆ clear_labels()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_labels  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'labels' attribute. 
 
 
◆ clear_manifest()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_manifest  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'manifest' attribute. 
 
 
◆ clear_name()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_name  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'name' attribute. 
 
 
◆ clear_operation()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_operation  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'operation' attribute. 
 
 
◆ clear_self_link()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_self_link  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'selfLink' attribute. 
 
 
◆ clear_target()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_target  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'target' attribute. 
 
 
◆ clear_update()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_update  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'update' attribute. 
 
 
◆ clear_update_time()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::clear_update_time  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Clears the 'updateTime' attribute. 
 
 
◆ get_description()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::get_description  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'description' attribute. 
 
 
◆ get_fingerprint()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::get_fingerprint  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'fingerprint' attribute. 
 
 
◆ get_id()
  
  
      
        
          | uint64 google_deploymentmanager_api::Deployment::get_id  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'id' attribute. 
 
 
◆ get_insert_time()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::get_insert_time  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'insertTime' attribute. 
 
 
◆ get_labels()
      
        
          | const client::JsonCppArray<DeploymentLabelEntry > google_deploymentmanager_api::Deployment::get_labels  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get a reference to the value of the 'labels' attribute. 
 
 
◆ get_manifest()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::get_manifest  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'manifest' attribute. 
 
 
◆ get_name()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::get_name  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'name' attribute. 
 
 
◆ get_operation()
      
        
          | const Operation google_deploymentmanager_api::Deployment::get_operation  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get a reference to the value of the 'operation' attribute. 
 
 
◆ get_self_link()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::get_self_link  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'selfLink' attribute. 
 
 
◆ get_target()
Get a reference to the value of the 'target' attribute. 
 
 
◆ get_update()
      
        
          | const DeploymentUpdate google_deploymentmanager_api::Deployment::get_update  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get a reference to the value of the 'update' attribute. 
 
 
◆ get_update_time()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::get_update_time  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the value of the 'updateTime' attribute. 
 
 
◆ GetTypeName()
  
  
      
        
          | const StringPiece google_deploymentmanager_api::Deployment::GetTypeName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ has_description()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_description  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'description' attribute was set.
- Returns
 - true if the '
description' attribute was set.  
 
 
◆ has_fingerprint()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_fingerprint  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'fingerprint' attribute was set.
- Returns
 - true if the '
fingerprint' attribute was set.  
 
 
◆ has_id()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_id  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'id' attribute was set.
- Returns
 - true if the '
id' attribute was set.  
 
 
◆ has_insert_time()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_insert_time  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'insertTime' attribute was set.
- Returns
 - true if the '
insertTime' attribute was set.  
 
 
◆ has_labels()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_labels  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'labels' attribute was set.
- Returns
 - true if the '
labels' attribute was set.  
 
 
◆ has_manifest()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_manifest  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'manifest' attribute was set.
- Returns
 - true if the '
manifest' attribute was set.  
 
 
◆ has_name()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_name  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'name' attribute was set.
- Returns
 - true if the '
name' attribute was set.  
 
 
◆ has_operation()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_operation  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'operation' attribute was set.
- Returns
 - true if the '
operation' attribute was set.  
 
 
◆ has_self_link()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_self_link  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'selfLink' attribute was set.
- Returns
 - true if the '
selfLink' attribute was set.  
 
 
◆ has_target()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_target  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'target' attribute was set.
- Returns
 - true if the '
target' attribute was set.  
 
 
◆ has_update()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_update  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'update' attribute was set.
- Returns
 - true if the '
update' attribute was set.  
 
 
◆ has_update_time()
  
  
      
        
          | bool google_deploymentmanager_api::Deployment::has_update_time  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Determine if the 'updateTime' attribute was set.
- Returns
 - true if the '
updateTime' attribute was set.  
 
 
◆ mutable_labels()
      
        
          | client::JsonCppArray<DeploymentLabelEntry > google_deploymentmanager_api::Deployment::mutable_labels  | 
          ( | 
           | ) | 
           | 
        
      
 
Gets a reference to a mutable value of the 'labels' property.
Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.
- Returns
 - The result can be modified to change the attribute value. 
 
 
 
◆ mutable_operation()
      
        
          | Operation google_deploymentmanager_api::Deployment::mutable_operation  | 
          ( | 
           | ) | 
           | 
        
      
 
Gets a reference to a mutable value of the 'operation' property.
Output only. The Operation that most recently ran, or is currently running, on this deployment.
- Returns
 - The result can be modified to change the attribute value. 
 
 
 
◆ mutable_target()
Gets a reference to a mutable value of the 'target' property.
[Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
- Returns
 - The result can be modified to change the attribute value. 
 
 
 
◆ mutable_update()
Gets a reference to a mutable value of the 'update' property.
Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
- Returns
 - The result can be modified to change the attribute value. 
 
 
 
◆ New()
  
  
      
        
          | Deployment * google_deploymentmanager_api::Deployment::New  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates a new default instance.
- Returns
 - Ownership is passed back to the caller. 
 
 
 
◆ set_description()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_description  | 
          ( | 
          const StringPiece &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'description' attribute.
An optional user-provided description of the deployment.
- Parameters
 - 
  
  
 
 
 
◆ set_fingerprint()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_fingerprint  | 
          ( | 
          const StringPiece &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'fingerprint' attribute.
Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.
The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
- Parameters
 - 
  
  
 
 
 
◆ set_id()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_id  | 
          ( | 
          uint64  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'id' attribute. 
- Parameters
 - 
  
  
 
 
 
◆ set_insert_time()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_insert_time  | 
          ( | 
          const StringPiece &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'insertTime' attribute.
Output only. Creation timestamp in RFC3339 text format.
- Parameters
 - 
  
  
 
 
 
◆ set_manifest()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_manifest  | 
          ( | 
          const StringPiece &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'manifest' attribute.
Output only. URL of the manifest representing the last manifest that was successfully deployed.
- Parameters
 - 
  
  
 
 
 
◆ set_name()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_name  | 
          ( | 
          const StringPiece &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'name' attribute.
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Parameters
 - 
  
  
 
 
 
◆ set_self_link()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_self_link  | 
          ( | 
          const StringPiece &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'selfLink' attribute.
Output only. Server defined URL for the resource.
- Parameters
 - 
  
  
 
 
 
◆ set_update_time()
  
  
      
        
          | void google_deploymentmanager_api::Deployment::set_update_time  | 
          ( | 
          const StringPiece &  | 
          value | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Change the 'updateTime' attribute.
Output only. Update timestamp in RFC3339 text format.
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following files:
- google/deploymentmanager_api/deployment.h
 
- google/deploymentmanager_api/deployment.cc