Class: Google::Cloud::ConfigService::V1::Deployment

Inherits:
Object
  • Object
show all
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: AnnotationsEntry, LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#annotations::Google::Protobuf::Map{::String => ::String}

Returns Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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

#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.

Returns:

  • (::String)

    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


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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:

  • (::String)

    Output only. Cloud Build instance UUID associated with deleting this deployment.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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}.

Returns:

  • (::String)

    Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: gs://{bucket}/{object}.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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}.

Returns:

  • (::String)

    Output only. Location of Terraform error logs in Google Cloud Storage. Format: gs://{bucket}/{object}.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:

  • (::Boolean)

    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.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    User-defined metadata for the deployment.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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}.

Returns:

  • (::String)

    Output only. Revision name that was most recently applied. Format: projects/{project}/locations/{location}/deployments/{deployment}/ revisions/\\{revision}



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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}.

Returns:

  • (::String)

    Resource name of the deployment. Format: projects/{project}/locations/{location}/deployments/{deployment}



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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

#quota_validation::Google::Cloud::ConfigService::V1::QuotaValidation

Returns Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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 Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}.

Returns:

  • (::String)

    Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: projects/{projectID}/serviceAccounts/{serviceAccount}



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:

  • (::String)

    Output only. Additional information regarding the current state.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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_version::String (readonly)

Returns Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10".

Returns:

  • (::String)

    Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10".



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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_version_constraint::String

Returns Optional. The user-specified Terraform version constraint. Example: "=1.3.10".

Returns:

  • (::String)

    Optional. The user-specified Terraform version constraint. Example: "=1.3.10".



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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.

Returns:

  • (::String)

    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.



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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# File 'proto_docs/google/cloud/config/v1/config.rb', line 131

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    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