Class: Google::Apis::DeveloperconnectV1::GitHubConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::GitHubConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
Configuration for connections to github.com.
Instance Attribute Summary collapse
-
#app_installation_id ⇒ Fixnum
Optional.
-
#authorizer_credential ⇒ Google::Apis::DeveloperconnectV1::OAuthCredential
Represents an OAuth token of the account that authorized the Connection, and associated metadata.
-
#github_app ⇒ String
Required.
-
#installation_uri ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GitHubConfig
constructor
A new instance of GitHubConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GitHubConfig
Returns a new instance of GitHubConfig.
382 383 384 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_installation_id ⇒ Fixnum
Optional. GitHub App installation id.
Corresponds to the JSON property appInstallationId
362 363 364 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 362 def app_installation_id @app_installation_id end |
#authorizer_credential ⇒ Google::Apis::DeveloperconnectV1::OAuthCredential
Represents an OAuth token of the account that authorized the Connection, and
associated metadata.
Corresponds to the JSON property authorizerCredential
368 369 370 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 368 def @authorizer_credential end |
#github_app ⇒ String
Required. Immutable. The GitHub Application that was installed to the GitHub
user or organization.
Corresponds to the JSON property githubApp
374 375 376 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 374 def github_app @github_app end |
#installation_uri ⇒ String
Output only. The URI to navigate to in order to manage the installation
associated with this GitHubConfig.
Corresponds to the JSON property installationUri
380 381 382 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 380 def installation_uri @installation_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 391 392 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 387 def update!(**args) @app_installation_id = args[:app_installation_id] if args.key?(:app_installation_id) @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential) @github_app = args[:github_app] if args.key?(:github_app) @installation_uri = args[:installation_uri] if args.key?(:installation_uri) end |