Class: Google::Cloud::ConfigService::V1::Deployment
- Inherits:
-
Object
- Object
- Google::Cloud::ConfigService::V1::Deployment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/config/v1/config.rb
Overview
A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
Defined Under Namespace
Modules: ErrorCode, LockState, State Classes: LabelsEntry
Instance Attribute Summary collapse
-
#artifacts_gcs_bucket ⇒ ::String
Optional.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#delete_build ⇒ ::String
readonly
Output only.
-
#delete_logs ⇒ ::String
readonly
Output only.
-
#delete_results ⇒ ::Google::Cloud::ConfigService::V1::ApplyResults
readonly
Output only.
-
#error_code ⇒ ::Google::Cloud::ConfigService::V1::Deployment::ErrorCode
readonly
Output only.
-
#error_logs ⇒ ::String
readonly
Output only.
-
#import_existing_resources ⇒ ::Boolean
By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
User-defined metadata for the deployment.
-
#latest_revision ⇒ ::String
readonly
Output only.
-
#lock_state ⇒ ::Google::Cloud::ConfigService::V1::Deployment::LockState
readonly
Output only.
-
#name ⇒ ::String
Resource name of the deployment.
-
#service_account ⇒ ::String
Optional.
-
#state ⇒ ::Google::Cloud::ConfigService::V1::Deployment::State
readonly
Output only.
-
#state_detail ⇒ ::String
readonly
Output only.
-
#terraform_blueprint ⇒ ::Google::Cloud::ConfigService::V1::TerraformBlueprint
A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
-
#tf_errors ⇒ ::Array<::Google::Cloud::ConfigService::V1::TerraformError>
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#worker_pool ⇒ ::String
Optional.
Instance Attribute Details
#artifacts_gcs_bucket ⇒ ::String
Returns Optional. User-defined location of Cloud Build logs and artifacts in Google
Cloud Storage. Format: gs://{bucket}/{folder}
A default bucket will be bootstrapped if the field is not set or empty.
Default bucket format: gs://<project number>-<region>-blueprint-config
Constraints:
- The bucket needs to be in the same project as the deployment
- The path cannot be within the path of
gcs_source
- The field cannot be updated, including changing its presence.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when the deployment was created.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#delete_build ⇒ ::String (readonly)
Returns Output only. Cloud Build instance UUID associated with deleting this deployment.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#delete_logs ⇒ ::String (readonly)
Returns Output only. Location of Cloud Build logs in Google Cloud Storage,
populated when deleting this deployment. Format: gs://{bucket}/{object}
.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#delete_results ⇒ ::Google::Cloud::ConfigService::V1::ApplyResults (readonly)
Returns Output only. Location of artifacts from a DeleteDeployment operation.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#error_code ⇒ ::Google::Cloud::ConfigService::V1::Deployment::ErrorCode (readonly)
Returns Output only. Error code describing errors that may have occurred.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#error_logs ⇒ ::String (readonly)
Returns Output only. Location of Terraform error logs in Google Cloud Storage.
Format: gs://{bucket}/{object}
.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#import_existing_resources ⇒ ::Boolean
Returns By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation.
Not all resource types are supported, refer to documentation.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns User-defined metadata for the deployment.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#latest_revision ⇒ ::String (readonly)
Returns Output only. Revision name that was most recently applied.
Format: projects/{project}/locations/{location}/deployments/{deployment}/
revisions/\\{revision}
.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#lock_state ⇒ ::Google::Cloud::ConfigService::V1::Deployment::LockState (readonly)
Returns Output only. Current lock state of the deployment.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#name ⇒ ::String
Returns Resource name of the deployment.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#service_account ⇒ ::String
Returns Optional. User-specified Service Account (SA) credentials to be used when
actuating resources.
Format: projects/{projectID}/serviceAccounts/{serviceAccount}
.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#state ⇒ ::Google::Cloud::ConfigService::V1::Deployment::State (readonly)
Returns Output only. Current state of the deployment.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#state_detail ⇒ ::String (readonly)
Returns Output only. Additional information regarding the current state.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#terraform_blueprint ⇒ ::Google::Cloud::ConfigService::V1::TerraformBlueprint
Returns A blueprint described using Terraform's HashiCorp Configuration Language as a root module.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#tf_errors ⇒ ::Array<::Google::Cloud::ConfigService::V1::TerraformError> (readonly)
Returns Output only. Errors encountered when deleting this deployment.
Errors are truncated to 10 entries, see delete_results
and error_logs
for full details.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time when the deployment was last modified.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |
#worker_pool ⇒ ::String
Returns Optional. The user-specified Cloud Build worker pool resource in which the
Cloud Build job will execute. Format:
projects/{project}/locations/{location}/workerPools/{workerPoolId}
.
If this field is unspecified, the default Cloud Build worker pool will be
used.
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 112 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible states of a deployment. module State # The default value. This value is used if the state is omitted. STATE_UNSPECIFIED = 0 # The deployment is being created. CREATING = 1 # The deployment is healthy. ACTIVE = 2 # The deployment is being updated. UPDATING = 3 # The deployment is being deleted. DELETING = 4 # The deployment has encountered an unexpected error. FAILED = 5 # The deployment is no longer being actively reconciled. # This may be the result of recovering the project after deletion. SUSPENDED = 6 # The deployment has been deleted. DELETED = 7 end # Possible errors that can occur with deployments. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # The revision failed. See Revision for more details. REVISION_FAILED = 1 # Cloud Build failed due to a permission issue. CLOUD_BUILD_PERMISSION_DENIED = 3 # Cloud Build job associated with a deployment deletion could not be # started. DELETE_BUILD_API_FAILED = 5 # Cloud Build job associated with a deployment deletion was started but # failed. DELETE_BUILD_RUN_FAILED = 6 # Cloud Storage bucket creation failed due to a permission issue. BUCKET_CREATION_PERMISSION_DENIED = 7 # Cloud Storage bucket creation failed due to an issue unrelated to # permissions. BUCKET_CREATION_FAILED = 8 end # Possible lock states of a deployment. module LockState # The default value. This value is used if the lock state is omitted. LOCK_STATE_UNSPECIFIED = 0 # The deployment is locked. LOCKED = 1 # The deployment is unlocked. UNLOCKED = 2 # The deployment is being locked. LOCKING = 3 # The deployment is being unlocked. UNLOCKING = 4 # The deployment has failed to lock. LOCK_FAILED = 5 # The deployment has failed to unlock. UNLOCK_FAILED = 6 end end |