Class: Google::Apis::DataformV1beta1::WriteFile
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::WriteFile
- 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
Represents the write file operation (for files added or modified).
Instance Attribute Summary collapse
-
#contents ⇒ String
The file's contents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WriteFile
constructor
A new instance of WriteFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WriteFile
Returns a new instance of WriteFile.
2850 2851 2852 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2850 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ String
The file's contents.
Corresponds to the JSON property contents
NOTE: Values are automatically base64 encoded/decoded in the client library.
2848 2849 2850 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2848 def contents @contents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2855 2856 2857 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2855 def update!(**args) @contents = args[:contents] if args.key?(:contents) end |