Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Settings for exporting to a git branch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination.



6705
6706
6707
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6705

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#commit_messageString

Commit message for the git push. Corresponds to the JSON property commitMessage

Returns:

  • (String)


6698
6699
6700
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6698

def commit_message
  @commit_message
end

#tracking_branchString

Tracking branch for the git push. Corresponds to the JSON property trackingBranch

Returns:

  • (String)


6703
6704
6705
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6703

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6710
6711
6712
6713
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6710

def update!(**args)
  @commit_message = args[:commit_message] if args.key?(:commit_message)
  @tracking_branch = args[:tracking_branch] if args.key?(:tracking_branch)
end