Class: Google::Cloud::ConfigService::V1::Preview
- Inherits:
-
Object
- Object
- Google::Cloud::ConfigService::V1::Preview
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/config/v1/config.rb
Overview
A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.
Defined Under Namespace
Modules: ErrorCode, PreviewMode, State Classes: AnnotationsEntry, LabelsEntry
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#artifacts_gcs_bucket ⇒ ::String
Optional.
-
#build ⇒ ::String
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#deployment ⇒ ::String
Optional.
-
#error_code ⇒ ::Google::Cloud::ConfigService::V1::Preview::ErrorCode
readonly
Output only.
-
#error_logs ⇒ ::String
readonly
Output only.
-
#error_status ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#logs ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
Identifier.
-
#preview_artifacts ⇒ ::Google::Cloud::ConfigService::V1::PreviewArtifacts
readonly
Output only.
-
#preview_mode ⇒ ::Google::Cloud::ConfigService::V1::Preview::PreviewMode
Optional.
-
#provider_config ⇒ ::Google::Cloud::ConfigService::V1::ProviderConfig
Optional.
-
#service_account ⇒ ::String
Required.
-
#state ⇒ ::Google::Cloud::ConfigService::V1::Preview::State
readonly
Output only.
-
#terraform_blueprint ⇒ ::Google::Cloud::ConfigService::V1::TerraformBlueprint
The terraform blueprint to preview.
-
#tf_errors ⇒ ::Array<::Google::Cloud::ConfigService::V1::TerraformError>
readonly
Output only.
-
#tf_version ⇒ ::String
readonly
Output only.
-
#tf_version_constraint ⇒ ::String
Optional.
-
#worker_pool ⇒ ::String
Optional.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#artifacts_gcs_bucket ⇒ ::String
Returns Optional. User-defined location of Cloud Build logs, artifacts, and
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_sourceIf omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#build ⇒ ::String (readonly)
Returns Output only. Cloud Build instance UUID associated with this preview.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time the preview was created.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#deployment ⇒ ::String
Returns Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#error_code ⇒ ::Google::Cloud::ConfigService::V1::Preview::ErrorCode (readonly)
Returns Output only. Code describing any errors that may have occurred.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#error_logs ⇒ ::String (readonly)
Returns Output only. Link to tf-error.ndjson file, which contains the full list of
the errors encountered during a Terraform preview.
Format: gs://{bucket}/{object}.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#error_status ⇒ ::Google::Rpc::Status (readonly)
Returns Output only. Additional information regarding the current state.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. User-defined labels for the preview.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#logs ⇒ ::String (readonly)
Returns Output only. Location of preview logs in gs://{bucket}/{object} format.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#name ⇒ ::String
Returns Identifier. Resource name of the preview. Resource name can be user
provided or server generated ID if unspecified. Format:
projects/{project}/locations/{location}/previews/{preview}.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#preview_artifacts ⇒ ::Google::Cloud::ConfigService::V1::PreviewArtifacts (readonly)
Returns Output only. Artifacts from preview.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#preview_mode ⇒ ::Google::Cloud::ConfigService::V1::Preview::PreviewMode
Returns Optional. Current mode of preview.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#provider_config ⇒ ::Google::Cloud::ConfigService::V1::ProviderConfig
Returns Optional. This field specifies the provider configurations.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#service_account ⇒ ::String
Returns Required. User-specified Service Account (SA) credentials to be used when
previewing resources.
Format: projects/{projectID}/serviceAccounts/{serviceAccount}.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#state ⇒ ::Google::Cloud::ConfigService::V1::Preview::State (readonly)
Returns Output only. Current state of the preview.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#terraform_blueprint ⇒ ::Google::Cloud::ConfigService::V1::TerraformBlueprint
Returns The terraform blueprint to preview.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#tf_errors ⇒ ::Array<::Google::Cloud::ConfigService::V1::TerraformError> (readonly)
Returns Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#tf_version ⇒ ::String (readonly)
Returns Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10".
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#tf_version_constraint ⇒ ::String
Returns Optional. The user-specified Terraform version constraint. Example: "=1.3.10".
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |
#worker_pool ⇒ ::String
Returns Optional. The user-specified 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. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used.
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'proto_docs/google/cloud/config/v1/config.rb', line 1426 class Preview 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 preview. module State # The default value. This value is used if the state is unknown. STATE_UNSPECIFIED = 0 # The preview is being created. CREATING = 1 # The preview has succeeded. SUCCEEDED = 2 # The preview is being applied. APPLYING = 3 # The preview is stale. A preview can become stale if a revision has been # applied after this preview was created. STALE = 4 # The preview is being deleted. DELETING = 5 # The preview has encountered an unexpected error. FAILED = 6 # The preview has been deleted. DELETED = 7 end # Preview mode provides options for customizing preview operations. module PreviewMode # Unspecified policy, default mode will be used. PREVIEW_MODE_UNSPECIFIED = 0 # DEFAULT mode generates an execution plan for reconciling current resource # state into expected resource state. DEFAULT = 1 # DELETE mode generates as execution plan for destroying current resources. DELETE = 2 end # Possible errors that can occur with previews. module ErrorCode # No error code was specified. ERROR_CODE_UNSPECIFIED = 0 # Cloud Build failed due to a permissions issue. CLOUD_BUILD_PERMISSION_DENIED = 1 # Cloud Storage bucket failed to create due to a permissions issue. BUCKET_CREATION_PERMISSION_DENIED = 2 # Cloud Storage bucket failed for a non-permissions-related issue. BUCKET_CREATION_FAILED = 3 # Acquiring lock on provided deployment reference failed. DEPLOYMENT_LOCK_ACQUIRE_FAILED = 4 # Preview encountered an error when trying to access Cloud Build API. PREVIEW_BUILD_API_FAILED = 5 # Preview created a build but build failed and logs were generated. PREVIEW_BUILD_RUN_FAILED = 6 # Failed to import values from an external source. EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 7 end end |