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

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

Request message for ImportApplicationTemplateIaC 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.

#developer_connect_source_config

def developer_connect_source_config() -> ::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig
Returns
  • (::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig) — Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

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

#developer_connect_source_config=

def developer_connect_source_config=(value) -> ::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig
Parameter
  • value (::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig) — Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

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

Returns
  • (::Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig) — Optional. Configuration for fetching content from source code repository such as GitHub or Bitbucket through Developer Connect.

    Note: The following fields are mutually exclusive: developer_connect_source_config, 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() -> ::String
Returns
  • (::String) — Optional. The Cloud Storage URI of the terraform code.

    Note: The following fields are mutually exclusive: gcs_uri, iac_module, developer_connect_source_config. 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, developer_connect_source_config. 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, developer_connect_source_config. 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, developer_connect_source_config. 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, developer_connect_source_config. 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, developer_connect_source_config. 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 template.

#name=

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

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