public final class FrameworkDeployment extends GeneratedMessageV3 implements FrameworkDeploymentOrBuilder
Framework deployments represent the assignment of a framework to a target
resource. Supported target resources are organizations, folders, and
projects.
Protobuf type google.cloud.cloudsecuritycompliance.v1.FrameworkDeployment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLOUD_CONTROL_DEPLOYMENT_REFERENCES_FIELD_NUMBER
public static final int CLOUD_CONTROL_DEPLOYMENT_REFERENCES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CLOUD_CONTROL_METADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COMPUTED_TARGET_RESOURCE_FIELD_NUMBER
public static final int COMPUTED_TARGET_RESOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DEPLOYMENT_STATE_FIELD_NUMBER
public static final int DEPLOYMENT_STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FRAMEWORK_FIELD_NUMBER
public static final int FRAMEWORK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGET_RESOURCE_CONFIG_FIELD_NUMBER
public static final int TARGET_RESOURCE_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGET_RESOURCE_DISPLAY_NAME_FIELD_NUMBER
public static final int TARGET_RESOURCE_DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FrameworkDeployment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FrameworkDeployment.Builder newBuilder()
newBuilder(FrameworkDeployment prototype)
public static FrameworkDeployment.Builder newBuilder(FrameworkDeployment prototype)
public static FrameworkDeployment parseDelimitedFrom(InputStream input)
public static FrameworkDeployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FrameworkDeployment parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FrameworkDeployment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(CodedInputStream input)
public static FrameworkDeployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(InputStream input)
public static FrameworkDeployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FrameworkDeployment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FrameworkDeployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FrameworkDeployment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCloudControlDeploymentReferences(int index)
public CloudControlDeploymentReference getCloudControlDeploymentReferences(int index)
Output only. The references to the cloud control deployments. The reference
includes all the cloud control deployments that are in the framework or in
a cloud control group.
For example, if a framework deployment deploys two
cloud controls, cc-deployment-1 and cc-deployment-2, then the
references are:
<code><code>
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
</code></code>
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getCloudControlDeploymentReferencesCount()
public int getCloudControlDeploymentReferencesCount()
Output only. The references to the cloud control deployments. The reference
includes all the cloud control deployments that are in the framework or in
a cloud control group.
For example, if a framework deployment deploys two
cloud controls, cc-deployment-1 and cc-deployment-2, then the
references are:
<code><code>
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
</code></code>
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getCloudControlDeploymentReferencesList()
public List<CloudControlDeploymentReference> getCloudControlDeploymentReferencesList()
Output only. The references to the cloud control deployments. The reference
includes all the cloud control deployments that are in the framework or in
a cloud control group.
For example, if a framework deployment deploys two
cloud controls, cc-deployment-1 and cc-deployment-2, then the
references are:
<code><code>
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
</code></code>
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCloudControlDeploymentReferencesOrBuilder(int index)
public CloudControlDeploymentReferenceOrBuilder getCloudControlDeploymentReferencesOrBuilder(int index)
Output only. The references to the cloud control deployments. The reference
includes all the cloud control deployments that are in the framework or in
a cloud control group.
For example, if a framework deployment deploys two
cloud controls, cc-deployment-1 and cc-deployment-2, then the
references are:
<code><code>
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
</code></code>
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getCloudControlDeploymentReferencesOrBuilderList()
public List<? extends CloudControlDeploymentReferenceOrBuilder> getCloudControlDeploymentReferencesOrBuilderList()
Output only. The references to the cloud control deployments. The reference
includes all the cloud control deployments that are in the framework or in
a cloud control group.
For example, if a framework deployment deploys two
cloud controls, cc-deployment-1 and cc-deployment-2, then the
references are:
<code><code>
{
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-1"
},
cloud_control_deployment_reference: {
cloud_control_deployment:
"organizations/{organization}/locations/{location}/cloudControlDeployments/cc-deployment-2"
}
</code></code>
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReference cloud_control_deployment_references = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlDeploymentReferenceOrBuilder> |
|
public CloudControlMetadata getCloudControlMetadata(int index)
Required. The deployment mode and parameters for each of the cloud controls
in the framework. Every cloud control in the framework includes metadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public int getCloudControlMetadataCount()
Required. The deployment mode and parameters for each of the cloud controls
in the framework. Every cloud control in the framework includes metadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public List<CloudControlMetadata> getCloudControlMetadataList()
Required. The deployment mode and parameters for each of the cloud controls
in the framework. Every cloud control in the framework includes metadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
public CloudControlMetadataOrBuilder getCloudControlMetadataOrBuilder(int index)
Required. The deployment mode and parameters for each of the cloud controls
in the framework. Every cloud control in the framework includes metadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends CloudControlMetadataOrBuilder> getCloudControlMetadataOrBuilderList()
Required. The deployment mode and parameters for each of the cloud controls
in the framework. Every cloud control in the framework includes metadata.
repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlMetadata cloud_control_metadata = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlMetadataOrBuilder> |
|
getComputedTargetResource()
public String getComputedTargetResource()
Output only. The target resource to deploy the framework to, in one the
following formats:
organizations/{organizationID}
folders/{folderID}
projects/{projectID}
string computed_target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The computedTargetResource.
|
getComputedTargetResourceBytes()
public ByteString getComputedTargetResourceBytes()
Output only. The target resource to deploy the framework to, in one the
following formats:
organizations/{organizationID}
folders/{folderID}
projects/{projectID}
string computed_target_resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for computedTargetResource.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which the resource was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the resource was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public FrameworkDeployment getDefaultInstanceForType()
getDeploymentState()
public DeploymentState getDeploymentState()
Output only. The state for the framework deployment.
.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeploymentStateValue()
public int getDeploymentStateValue()
Output only. The state for the framework deployment.
.google.cloud.cloudsecuritycompliance.v1.DeploymentState deployment_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for deploymentState.
|
getDescription()
public String getDescription()
Optional. A user-provided description of the framework deployment.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. A user-provided description of the framework deployment.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getEtag()
Optional. To prevent concurrent updates from overwriting each other, always
provide the etag when you update a framework deployment. You can also
provide the etag when you delete a framework deployment, to help
ensure that you're deleting the intended version of the
framework deployment.
string etag = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Optional. To prevent concurrent updates from overwriting each other, always
provide the etag when you update a framework deployment. You can also
provide the etag when you delete a framework deployment, to help
ensure that you're deleting the intended version of the
framework deployment.
string etag = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for etag.
|
getFramework()
public FrameworkReference getFramework()
Required. A reference to the framework that you're deploying.
.google.cloud.cloudsecuritycompliance.v1.FrameworkReference framework = 4 [(.google.api.field_behavior) = REQUIRED];
getFrameworkOrBuilder()
public FrameworkReferenceOrBuilder getFrameworkOrBuilder()
Required. A reference to the framework that you're deploying.
.google.cloud.cloudsecuritycompliance.v1.FrameworkReference framework = 4 [(.google.api.field_behavior) = REQUIRED];
getName()
Identifier. The name of the framework deployment, in the format
organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The name of the framework deployment, in the format
organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment_id}.
The only supported location is global.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<FrameworkDeployment> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTargetResourceConfig()
public TargetResourceConfig getTargetResourceConfig()
Required. The details of the target resource that you want to deploy the
framework to. You can specify an existing resource, or create a new one.
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetResourceConfigOrBuilder()
public TargetResourceConfigOrBuilder getTargetResourceConfigOrBuilder()
Required. The details of the target resource that you want to deploy the
framework to. You can specify an existing resource, or create a new one.
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
getTargetResourceDisplayName()
public String getTargetResourceDisplayName()
Output only. The display name of the target resource.
string target_resource_display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The targetResourceDisplayName.
|
getTargetResourceDisplayNameBytes()
public ByteString getTargetResourceDisplayNameBytes()
Output only. The display name of the target resource.
string target_resource_display_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for targetResourceDisplayName.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time at which the resource last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which the resource last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. The time at which the resource was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasFramework()
public boolean hasFramework()
Required. A reference to the framework that you're deploying.
.google.cloud.cloudsecuritycompliance.v1.FrameworkReference framework = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the framework field is set.
|
hasTargetResourceConfig()
public boolean hasTargetResourceConfig()
Required. The details of the target resource that you want to deploy the
framework to. You can specify an existing resource, or create a new one.
.google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig target_resource_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the targetResourceConfig field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time at which the resource last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FrameworkDeployment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FrameworkDeployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public FrameworkDeployment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides