Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::TargetResourceConfig (v0.2.0)

Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::TargetResourceConfig.

The name of the target resource or the configuration that's required to create a new target resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#existing_target_resource

def existing_target_resource() -> ::String
Returns
  • (::String) — Optional. The resource hierarchy node, in one of the following formats:

    • organizations/{organizationID}
    • folders/{folderID}
    • projects/{projectID}

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

#existing_target_resource=

def existing_target_resource=(value) -> ::String
Parameter
  • value (::String) — Optional. The resource hierarchy node, in one of the following formats:

    • organizations/{organizationID}
    • folders/{folderID}
    • projects/{projectID}

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

Returns
  • (::String) — Optional. The resource hierarchy node, in one of the following formats:

    • organizations/{organizationID}
    • folders/{folderID}
    • projects/{projectID}

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

#target_resource_creation_config

def target_resource_creation_config() -> ::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig
Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig) — Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

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

#target_resource_creation_config=

def target_resource_creation_config=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig
Parameter
  • value (::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig) — Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

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

Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig) — Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

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