Class: Google::Apis::ContentV2::OrdersCreateTestOrderRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::OrdersCreateTestOrderRequest
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #template_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The test order template to use. 
- 
  
    
      #test_order  ⇒ Google::Apis::ContentV2::TestOrder 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The test order to create. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OrdersCreateTestOrderRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OrdersCreateTestOrderRequest. 
- 
  
    
      #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) ⇒ OrdersCreateTestOrderRequest
Returns a new instance of OrdersCreateTestOrderRequest
| 4407 4408 4409 | # File 'generated/google/apis/content_v2/classes.rb', line 4407 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#template_name ⇒ String
The test order template to use. Specify as an alternative to testOrder as a
shortcut for retrieving a template and then creating an order using that
template.
Corresponds to the JSON property templateName
| 4400 4401 4402 | # File 'generated/google/apis/content_v2/classes.rb', line 4400 def template_name @template_name end | 
#test_order ⇒ Google::Apis::ContentV2::TestOrder
The test order to create.
Corresponds to the JSON property testOrder
| 4405 4406 4407 | # File 'generated/google/apis/content_v2/classes.rb', line 4405 def test_order @test_order end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4412 4413 4414 4415 | # File 'generated/google/apis/content_v2/classes.rb', line 4412 def update!(**args) @template_name = args[:template_name] if args.key?(:template_name) @test_order = args[:test_order] if args.key?(:test_order) end |