Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource

Returns a new instance of GoogleCloudDialogflowCxV3beta1RestoreAgentRequestGitSource.



10845
10846
10847
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10845

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)


10843
10844
10845
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10843

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10850
10851
10852
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10850

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