Class: Google::Cloud::DeveloperConnect::V1::GitHubConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/developerconnect/v1/developer_connect.rb

Overview

Configuration for connections to github.com.

Defined Under Namespace

Modules: GitHubApp

Instance Attribute Summary collapse

Instance Attribute Details

#app_installation_id::Integer

Returns Optional. GitHub App installation id.

Returns:

  • (::Integer)

    Optional. GitHub App installation id.



146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 146

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

  # Represents the various GitHub Applications that can be installed to a
  # GitHub user or organization and used with Developer Connect.
  module GitHubApp
    # GitHub App not specified.
    GIT_HUB_APP_UNSPECIFIED = 0

    # The Developer Connect GitHub Application.
    DEVELOPER_CONNECT = 1

    # The Firebase GitHub Application.
    FIREBASE = 2
  end
end

#authorizer_credential::Google::Cloud::DeveloperConnect::V1::OAuthCredential

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

Returns:

  • (::Google::Cloud::DeveloperConnect::V1::OAuthCredential)

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



146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 146

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

  # Represents the various GitHub Applications that can be installed to a
  # GitHub user or organization and used with Developer Connect.
  module GitHubApp
    # GitHub App not specified.
    GIT_HUB_APP_UNSPECIFIED = 0

    # The Developer Connect GitHub Application.
    DEVELOPER_CONNECT = 1

    # The Firebase GitHub Application.
    FIREBASE = 2
  end
end

#github_app::Google::Cloud::DeveloperConnect::V1::GitHubConfig::GitHubApp

Returns Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.

Returns:



146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 146

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

  # Represents the various GitHub Applications that can be installed to a
  # GitHub user or organization and used with Developer Connect.
  module GitHubApp
    # GitHub App not specified.
    GIT_HUB_APP_UNSPECIFIED = 0

    # The Developer Connect GitHub Application.
    DEVELOPER_CONNECT = 1

    # The Firebase GitHub Application.
    FIREBASE = 2
  end
end

#installation_uri::String (readonly)

Returns Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.

Returns:

  • (::String)

    Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.



146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# File 'proto_docs/google/cloud/developerconnect/v1/developer_connect.rb', line 146

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

  # Represents the various GitHub Applications that can be installed to a
  # GitHub user or organization and used with Developer Connect.
  module GitHubApp
    # GitHub App not specified.
    GIT_HUB_APP_UNSPECIFIED = 0

    # The Developer Connect GitHub Application.
    DEVELOPER_CONNECT = 1

    # The Firebase GitHub Application.
    FIREBASE = 2
  end
end