Class: Google::Cloud::Build::V2::GitHubConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v2/repositories.rb

Overview

Configuration for connections to github.com.

Instance Attribute Summary collapse

Instance Attribute Details

#app_installation_id::Integer

Returns GitHub App installation id.

Returns:

  • (::Integer)

    GitHub App installation id.



161
162
163
164
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 161

class GitHubConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#authorizer_credential::Google::Cloud::Build::V2::OAuthCredential

Returns OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.

Returns:

  • (::Google::Cloud::Build::V2::OAuthCredential)

    OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.



161
162
163
164
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 161

class GitHubConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end