Class: Google::Cloud::Build::V2::InstallationState

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

Overview

Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.

Defined Under Namespace

Modules: Stage

Instance Attribute Summary collapse

Instance Attribute Details

#action_uri::String (readonly)

Returns Output only. Link to follow for next action. Empty string if the installation is already complete.

Returns:

  • (::String)

    Output only. Link to follow for next action. Empty string if the installation is already complete.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 94

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

  # Stage of the installation process.
  module Stage
    # No stage specified.
    STAGE_UNSPECIFIED = 0

    # Only for GitHub Enterprise. An App creation has been requested.
    # The user needs to confirm the creation in their GitHub enterprise host.
    PENDING_CREATE_APP = 1

    # User needs to authorize the GitHub (or Enterprise) App via OAuth.
    PENDING_USER_OAUTH = 2

    # User needs to follow the link to install the GitHub (or Enterprise) App.
    PENDING_INSTALL_APP = 3

    # Installation process has been completed.
    COMPLETE = 10
  end
end

#message::String (readonly)

Returns Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.

Returns:

  • (::String)

    Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 94

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

  # Stage of the installation process.
  module Stage
    # No stage specified.
    STAGE_UNSPECIFIED = 0

    # Only for GitHub Enterprise. An App creation has been requested.
    # The user needs to confirm the creation in their GitHub enterprise host.
    PENDING_CREATE_APP = 1

    # User needs to authorize the GitHub (or Enterprise) App via OAuth.
    PENDING_USER_OAUTH = 2

    # User needs to follow the link to install the GitHub (or Enterprise) App.
    PENDING_INSTALL_APP = 3

    # Installation process has been completed.
    COMPLETE = 10
  end
end

#stage::Google::Cloud::Build::V2::InstallationState::Stage (readonly)

Returns Output only. Current step of the installation process.

Returns:



94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 94

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

  # Stage of the installation process.
  module Stage
    # No stage specified.
    STAGE_UNSPECIFIED = 0

    # Only for GitHub Enterprise. An App creation has been requested.
    # The user needs to confirm the creation in their GitHub enterprise host.
    PENDING_CREATE_APP = 1

    # User needs to authorize the GitHub (or Enterprise) App via OAuth.
    PENDING_USER_OAUTH = 2

    # User needs to follow the link to install the GitHub (or Enterprise) App.
    PENDING_INSTALL_APP = 3

    # Installation process has been completed.
    COMPLETE = 10
  end
end