Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource

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 restoring from a git branch

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource

Returns a new instance of GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource.



6639
6640
6641
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6639

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

Instance Attribute Details

#tracking_branchString

tracking branch for the git pull Corresponds to the JSON property trackingBranch

Returns:

  • (String)


6637
6638
6639
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6637

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6644
6645
6646
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6644

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