Class: Google::Apis::ServicecontrolV1::ResourceInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServicecontrolV1::ResourceInfo
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicecontrol_v1/classes.rb,
 generated/google/apis/servicecontrol_v1/representations.rb,
 generated/google/apis/servicecontrol_v1/representations.rb
Overview
Describes a resource associated with this operation.
Instance Attribute Summary collapse
- 
  
    
      #resource_container  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier of the parent of this resource instance. 
- 
  
    
      #resource_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ResourceInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ResourceInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceInfo
Returns a new instance of ResourceInfo
| 1638 1639 1640 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1638 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#resource_container ⇒ String
The identifier of the parent of this resource instance. Must be in one of the following formats:
- “projects/” 
- “folders/” 
- “organizations/” Corresponds to the JSON property resourceContainer
| 1631 1632 1633 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1631 def resource_container @resource_container end | 
#resource_name ⇒ String
Name of the resource. This is used for auditing purposes.
Corresponds to the JSON property resourceName
| 1636 1637 1638 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1636 def resource_name @resource_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1643 1644 1645 1646 | # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1643 def update!(**args) @resource_container = args[:resource_container] if args.key?(:resource_container) @resource_name = args[:resource_name] if args.key?(:resource_name) end |