Class: Google::Apis::CloudresourcemanagerV1::Ancestor
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudresourcemanagerV1::Ancestor
 
- Defined in:
- generated/google/apis/cloudresourcemanager_v1/classes.rb,
 generated/google/apis/cloudresourcemanager_v1/representations.rb,
 generated/google/apis/cloudresourcemanager_v1/representations.rb
Overview
Identifying information for a single ancestor of a project.
Instance Attribute Summary collapse
- 
  
    
      #resource_id  ⇒ Google::Apis::CloudresourcemanagerV1::ResourceId 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A container to reference an id for any resource type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Ancestor 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Ancestor. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Ancestor
Returns a new instance of Ancestor
| 37 38 39 | # File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 37 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#resource_id ⇒ Google::Apis::CloudresourcemanagerV1::ResourceId
A container to reference an id for any resource type. A resource in Google
Cloud Platform is a generic term for something you (a developer) may want to
interact with through one of our API's. Some examples are an App Engine app,
a Compute Engine instance, a Cloud SQL database, and so on.
Corresponds to the JSON property resourceId
| 35 36 37 | # File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 35 def resource_id @resource_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 42 43 44 | # File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 42 def update!(**args) @resource_id = args[:resource_id] if args.key?(:resource_id) end |