Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::TargetResourceConfig.
TargetResourceConfig contains either the name of the target_resource or contains the config 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
-
(::String) — Optional. CRM node in format organizations/{organization},
folders/{folder}, or projects/{project}
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
-
value (::String) — Optional. CRM node in format organizations/{organization},
folders/{folder}, or projects/{project}
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.
-
(::String) — Optional. CRM node in format organizations/{organization},
folders/{folder}, or projects/{project}
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
-
(::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig) — Optional. Config to create a new resource and use that 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
-
value (::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig) — Optional. Config to create a new resource and use that 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.
-
(::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceCreationConfig) — Optional. Config to create a new resource and use that 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.