Class: Google::Apis::FirebasedataconnectV1beta::File
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1beta::File
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasedataconnect_v1beta/classes.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb
Overview
Individual files.
Instance Attribute Summary collapse
-
#content ⇒ String
Required.
-
#path ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ File
constructor
A new instance of File.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ File
Returns a new instance of File.
293 294 295 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 293 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Required. The file's textual content.
Corresponds to the JSON property content
284 285 286 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 284 def content @content end |
#path ⇒ String
Required. The file name including folder path, if applicable. The path should
be relative to a local workspace (e.g. dataconnect/(schema|connector)/.gql)
and not an absolute path (e.g. /absolute/path/(schema|connector)/.gql).
Corresponds to the JSON property path
291 292 293 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 291 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
298 299 300 301 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 298 def update!(**args) @content = args[:content] if args.key?(:content) @path = args[:path] if args.key?(:path) end |