Class: Google::Apis::CloudbuildV2::GitHubConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::GitHubConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
Configuration for connections to github.com.
Instance Attribute Summary collapse
-
#app_installation_id ⇒ Fixnum
Optional.
-
#authorizer_credential ⇒ Google::Apis::CloudbuildV2::OAuthCredential
Represents an OAuth token of the account that authorized the Connection, and associated metadata.
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.
848 849 850 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_installation_id ⇒ Fixnum
Optional. GitHub App installation id.
Corresponds to the JSON property appInstallationId
840 841 842 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 840 def app_installation_id @app_installation_id end |
#authorizer_credential ⇒ Google::Apis::CloudbuildV2::OAuthCredential
Represents an OAuth token of the account that authorized the Connection, and
associated metadata.
Corresponds to the JSON property authorizerCredential
846 847 848 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 846 def @authorizer_credential end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
853 854 855 856 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 853 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) end |