Class: Google::Apis::DataformV1beta1::CommitRepositoryChangesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::CommitRepositoryChangesRequest
- 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
CommitRepositoryChanges request message.
Instance Attribute Summary collapse
-
#commit_metadata ⇒ Google::Apis::DataformV1beta1::CommitMetadata
Represents a Dataform Git commit.
-
#file_operations ⇒ Hash<String,Google::Apis::DataformV1beta1::FileOperation>
A map to the path of the file to the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitRepositoryChangesRequest
constructor
A new instance of CommitRepositoryChangesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitRepositoryChangesRequest
Returns a new instance of CommitRepositoryChangesRequest.
385 386 387 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commit_metadata ⇒ Google::Apis::DataformV1beta1::CommitMetadata
Represents a Dataform Git commit.
Corresponds to the JSON property commitMetadata
377 378 379 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 377 def @commit_metadata end |
#file_operations ⇒ Hash<String,Google::Apis::DataformV1beta1::FileOperation>
A map to the path of the file to the operation. The path is the ull file path
including filename, from repository root.
Corresponds to the JSON property fileOperations
383 384 385 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 383 def file_operations @file_operations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 390 def update!(**args) @commit_metadata = args[:commit_metadata] if args.key?(:commit_metadata) @file_operations = args[:file_operations] if args.key?(:file_operations) end |