Class: Google::Apis::DataformV1beta1::WriteFileRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::WriteFileRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
WriteFile request message.
Instance Attribute Summary collapse
-
#contents ⇒ String
Required.
-
#path ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WriteFileRequest
constructor
A new instance of WriteFileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WriteFileRequest
Returns a new instance of WriteFileRequest.
2691 2692 2693 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ String
Required. The file's contents.
Corresponds to the JSON property contents
NOTE: Values are automatically base64 encoded/decoded in the client library.
2684 2685 2686 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2684 def contents @contents end |
#path ⇒ String
Required. The file.
Corresponds to the JSON property path
2689 2690 2691 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2689 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2696 2697 2698 2699 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2696 def update!(**args) @contents = args[:contents] if args.key?(:contents) @path = args[:path] if args.key?(:path) end |