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.



2144
2145
2146
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2144

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)


2137
2138
2139
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2137

def commit_message
  @commit_message
end

#tracking_branchString

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

Returns:

  • (String)


2142
2143
2144
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2142

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2149
2150
2151
2152
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2149

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