Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUploadTestCaseRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
Request for UploadTestCase.
Instance Attribute Summary collapse
-
#content ⇒ String
The textproto of the test case.
-
#file_format ⇒ String
File format for upload request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUploadTestCaseRequest
constructor
A new instance of GoogleCloudIntegrationsV1alphaUploadTestCaseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUploadTestCaseRequest
Returns a new instance of GoogleCloudIntegrationsV1alphaUploadTestCaseRequest.
11522 11523 11524 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The textproto of the test case.
Corresponds to the JSON property content
11515 11516 11517 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11515 def content @content end |
#file_format ⇒ String
File format for upload request.
Corresponds to the JSON property fileFormat
11520 11521 11522 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11520 def file_format @file_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11527 11528 11529 11530 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 11527 def update!(**args) @content = args[:content] if args.key?(:content) @file_format = args[:file_format] if args.key?(:file_format) end |