Class: Google::Apis::DataformV1beta1::CommitWorkspaceChangesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::CommitWorkspaceChangesRequest
- 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
CommitWorkspaceChanges request message.
Instance Attribute Summary collapse
-
#author ⇒ Google::Apis::DataformV1beta1::CommitAuthor
Represents the author of a Git commit.
-
#commit_message ⇒ String
Optional.
-
#paths ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitWorkspaceChangesRequest
constructor
A new instance of CommitWorkspaceChangesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommitWorkspaceChangesRequest
Returns a new instance of CommitWorkspaceChangesRequest.
446 447 448 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 446 def initialize(**args) update!(**args) end |
Instance Attribute Details
#author ⇒ Google::Apis::DataformV1beta1::CommitAuthor
Represents the author of a Git commit.
Corresponds to the JSON property author
433 434 435 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 433 def @author end |
#commit_message ⇒ String
Optional. The commit's message.
Corresponds to the JSON property commitMessage
438 439 440 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 438 def @commit_message end |
#paths ⇒ Array<String>
Optional. Full file paths to commit including filename, rooted at workspace
root. If left empty, all files will be committed.
Corresponds to the JSON property paths
444 445 446 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 444 def paths @paths end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
451 452 453 454 455 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 451 def update!(**args) @author = args[:author] if args.key?(:author) @commit_message = args[:commit_message] if args.key?(:commit_message) @paths = args[:paths] if args.key?(:paths) end |