Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
- 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
-
#access_token ⇒ String
The access token used to authenticate the access to the GitHub repository.
-
#branches ⇒ Array<String>
A list of branches configured to be used from Dialogflow.
-
#display_name ⇒ String
The unique repository display name for the GitHub repository.
-
#repository_uri ⇒ String
The GitHub repository URI related to the agent.
-
#tracking_branch ⇒ String
The branch of the GitHub repository tracked for this agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings.
4221 4222 4223 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
The access token used to authenticate the access to the GitHub repository.
Corresponds to the JSON property accessToken
4199 4200 4201 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4199 def access_token @access_token end |
#branches ⇒ Array<String>
A list of branches configured to be used from Dialogflow.
Corresponds to the JSON property branches
4204 4205 4206 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4204 def branches @branches end |
#display_name ⇒ String
The unique repository display name for the GitHub repository.
Corresponds to the JSON property displayName
4209 4210 4211 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4209 def display_name @display_name end |
#repository_uri ⇒ String
The GitHub repository URI related to the agent.
Corresponds to the JSON property repositoryUri
4214 4215 4216 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4214 def repository_uri @repository_uri end |
#tracking_branch ⇒ String
The branch of the GitHub repository tracked for this agent.
Corresponds to the JSON property trackingBranch
4219 4220 4221 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4219 def tracking_branch @tracking_branch end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4226 4227 4228 4229 4230 4231 4232 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4226 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 |