Class: Google::Apis::BigqueryV2::DataPolicyOption
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BigqueryV2::DataPolicyOption
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb 
Overview
Data policy option proto, it currently supports name only, will support precedence later.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Data policy resource name in the form of projects/project_id/locations/ location_id/dataPolicies/data_policy_id.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DataPolicyOption 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DataPolicyOption.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ DataPolicyOption
Returns a new instance of DataPolicyOption.
      1684 1685 1686  | 
    
      # File 'lib/google/apis/bigquery_v2/classes.rb', line 1684 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#name ⇒ String
Data policy resource name in the form of projects/project_id/locations/
location_id/dataPolicies/data_policy_id.
Corresponds to the JSON property name
      1682 1683 1684  | 
    
      # File 'lib/google/apis/bigquery_v2/classes.rb', line 1682 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1689 1690 1691  | 
    
      # File 'lib/google/apis/bigquery_v2/classes.rb', line 1689 def update!(**args) @name = args[:name] if args.key?(:name) end  |