Design Center V1 API - Class Google::Cloud::DesignCenter::V1::ImportApplicationIaCRequest (v0.1.0)

Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::ImportApplicationIaCRequest.

Request message for ImportApplicationIaC method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_partial_import

def allow_partial_import() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, partially imports the valid edits in the IaC and ignores the invalid changes. Defaults to false, which means any edits which can't be imported must result in an error.

#allow_partial_import=

def allow_partial_import=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true, partially imports the valid edits in the IaC and ignores the invalid changes. Defaults to false, which means any edits which can't be imported must result in an error.
Returns
  • (::Boolean) — Optional. If set to true, partially imports the valid edits in the IaC and ignores the invalid changes. Defaults to false, which means any edits which can't be imported must result in an error.

#gcs_uri

def gcs_uri() -> ::String
Returns
  • (::String) — Optional. The Cloud Storage URI of the terraform code.

    Note: The following fields are mutually exclusive: gcs_uri, iac_module. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gcs_uri=

def gcs_uri=(value) -> ::String
Parameter
  • value (::String) — Optional. The Cloud Storage URI of the terraform code.

    Note: The following fields are mutually exclusive: gcs_uri, iac_module. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. The Cloud Storage URI of the terraform code.

    Note: The following fields are mutually exclusive: gcs_uri, iac_module. If a field in that set is populated, all other fields in the set will automatically be cleared.

#iac_module

def iac_module() -> ::Google::Cloud::DesignCenter::V1::IaCModule
Returns
  • (::Google::Cloud::DesignCenter::V1::IaCModule) — Optional. The IaC module to import.

    Note: The following fields are mutually exclusive: iac_module, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

#iac_module=

def iac_module=(value) -> ::Google::Cloud::DesignCenter::V1::IaCModule
Parameter
  • value (::Google::Cloud::DesignCenter::V1::IaCModule) — Optional. The IaC module to import.

    Note: The following fields are mutually exclusive: iac_module, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DesignCenter::V1::IaCModule) — Optional. The IaC module to import.

    Note: The following fields are mutually exclusive: iac_module, gcs_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the application.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the application.
Returns
  • (::String) — Required. The name of the application.

#validate_iac

def validate_iac() -> ::Boolean
Returns
  • (::Boolean) — Optional. If set to true, the IaC is validated against the golden terraform without importing. Defaults to false.

#validate_iac=

def validate_iac=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set to true, the IaC is validated against the golden terraform without importing. Defaults to false.
Returns
  • (::Boolean) — Optional. If set to true, the IaC is validated against the golden terraform without importing. Defaults to false.