Class: Google::Apis::ServiceconsumermanagementV1::TenantResource
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServiceconsumermanagementV1::TenantResource
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceconsumermanagement_v1/classes.rb,
 generated/google/apis/serviceconsumermanagement_v1/representations.rb,
 generated/google/apis/serviceconsumermanagement_v1/representations.rb
Overview
Resource constituting the TenancyUnit.
Instance Attribute Summary collapse
- 
  
    
      #resource  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    For cloud projects, it is in the form 'projects/ number'.
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Status of tenant resource. 
- 
  
    
      #tag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique per single tenancy unit. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TenantResource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TenantResource. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TenantResource
Returns a new instance of TenantResource
| 3721 3722 3723 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3721 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#resource ⇒ String
For cloud projects, it is in the form 'projects/number'.
For example 'projects/123456'.
Corresponds to the JSON property resource
| 3709 3710 3711 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3709 def resource @resource end | 
#status ⇒ String
Status of tenant resource.
Corresponds to the JSON property status
| 3714 3715 3716 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3714 def status @status end | 
#tag ⇒ String
Unique per single tenancy unit.
Corresponds to the JSON property tag
| 3719 3720 3721 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3719 def tag @tag end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3726 3727 3728 3729 3730 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3726 def update!(**args) @resource = args[:resource] if args.key?(:resource) @status = args[:status] if args.key?(:status) @tag = args[:tag] if args.key?(:tag) end |