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.
-
#required_head_commit_sha ⇒ String
Optional.
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.
430 431 432 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 430 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
415 416 417 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 415 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 full file path
including filename, from repository root.
Corresponds to the JSON property fileOperations
421 422 423 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 421 def file_operations @file_operations end |
#required_head_commit_sha ⇒ String
Optional. The commit SHA which must be the repository's current HEAD before
applying this commit; otherwise this request will fail. If unset, no
validation on the current HEAD commit SHA is performed.
Corresponds to the JSON property requiredHeadCommitSha
428 429 430 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 428 def required_head_commit_sha @required_head_commit_sha end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
435 436 437 438 439 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 435 def update!(**args) @commit_metadata = args[:commit_metadata] if args.key?(:commit_metadata) @file_operations = args[:file_operations] if args.key?(:file_operations) @required_head_commit_sha = args[:required_head_commit_sha] if args.key?(:required_head_commit_sha) end |