Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings

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 of integration with GitHub.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings.



3729
3730
3731
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3729

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

Instance Attribute Details

#access_tokenString

The access token used to authenticate the access to the GitHub repository. Corresponds to the JSON property accessToken

Returns:

  • (String)


3707
3708
3709
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3707

def access_token
  @access_token
end

#branchesArray<String>

A list of branches configured to be used from Dialogflow. Corresponds to the JSON property branches

Returns:

  • (Array<String>)


3712
3713
3714
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3712

def branches
  @branches
end

#display_nameString

The unique repository display name for the GitHub repository. Corresponds to the JSON property displayName

Returns:

  • (String)


3717
3718
3719
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3717

def display_name
  @display_name
end

#repository_uriString

The GitHub repository URI related to the agent. Corresponds to the JSON property repositoryUri

Returns:

  • (String)


3722
3723
3724
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3722

def repository_uri
  @repository_uri
end

#tracking_branchString

The branch of the GitHub repository tracked for this agent. Corresponds to the JSON property trackingBranch

Returns:

  • (String)


3727
3728
3729
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3727

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3734
3735
3736
3737
3738
3739
3740
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3734

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