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.



8661
8662
8663
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8661

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)


8659
8660
8661
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8659

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8666
8667
8668
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8666

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