Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination

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

Overview

Settings for exporting to a git branch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination

Returns a new instance of GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination.



2154
2155
2156
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2154

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)


2147
2148
2149
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2147

def commit_message
  @commit_message
end

#tracking_branchString

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

Returns:

  • (String)


2152
2153
2154
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2152

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2159
2160
2161
2162
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2159

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