Class: Google::Apis::DeploymentmanagerV2::Type
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DeploymentmanagerV2::Type
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/deploymentmanager_v2/classes.rb,
generated/google/apis/deploymentmanager_v2/representations.rb,
generated/google/apis/deploymentmanager_v2/representations.rb 
Overview
A resource type supported by Deployment Manager.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #insert_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of the type.
 - 
  
    
      #operation  ⇒ Google::Apis::DeploymentmanagerV2::Operation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An Operation resource, used to manage asynchronous API requests.
 - 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Type 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Type.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Type
Returns a new instance of Type
      1794 1795 1796  | 
    
      # File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1794 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#id ⇒ Fixnum
Output only. Unique identifier for the resource; defined by the server.
Corresponds to the JSON property id
      1768 1769 1770  | 
    
      # File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1768 def id @id end  | 
  
#insert_time ⇒ String
Output only. Timestamp when the type was created, in RFC3339 text format.
Corresponds to the JSON property insertTime
      1773 1774 1775  | 
    
      # File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1773 def insert_time @insert_time end  | 
  
#name ⇒ String
Name of the type.
Corresponds to the JSON property name
      1778 1779 1780  | 
    
      # File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1778 def name @name end  | 
  
#operation ⇒ Google::Apis::DeploymentmanagerV2::Operation
An Operation resource, used to manage asynchronous API requests. (==
resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
(== resource_for v1.regionOperations ==) (== resource_for beta.
regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
beta.zoneOperations ==)
Corresponds to the JSON property operation
      1787 1788 1789  | 
    
      # File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1787 def operation @operation end  | 
  
#self_link ⇒ String
Output only. Self link for the type.
Corresponds to the JSON property selfLink
      1792 1793 1794  | 
    
      # File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1792 def self_link @self_link end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1799 1800 1801 1802 1803 1804 1805  | 
    
      # File 'generated/google/apis/deploymentmanager_v2/classes.rb', line 1799 def update!(**args) @id = args[:id] if args.key?(:id) @insert_time = args[:insert_time] if args.key?(:insert_time) @name = args[:name] if args.key?(:name) @operation = args[:operation] if args.key?(:operation) @self_link = args[:self_link] if args.key?(:self_link) end  |