Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings

Returns a new instance of GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings.



369
370
371
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 369

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)


347
348
349
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 347

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>)


352
353
354
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 352

def branches
  @branches
end

#display_nameString

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

Returns:

  • (String)


357
358
359
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 357

def display_name
  @display_name
end

#repository_uriString

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

Returns:

  • (String)


362
363
364
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 362

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)


367
368
369
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 367

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



374
375
376
377
378
379
380
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 374

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