Interface AcknowledgeViolationRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      String getComment()
      Required.
      com.google.protobuf.ByteString getCommentBytes()
      Required.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      String getNonCompliantOrgPolicy()
      Deprecated.
      google.cloud.assuredworkloads.v1.AcknowledgeViolationRequest.non_compliant_org_policy is deprecated.
      com.google.protobuf.ByteString getNonCompliantOrgPolicyBytes()
      Deprecated.
      google.cloud.assuredworkloads.v1.AcknowledgeViolationRequest.non_compliant_org_policy is deprecated.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        String getName()
         Required. The resource name of the Violation to acknowledge.
         Format:
         organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the Violation to acknowledge.
         Format:
         organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for name.
      • getComment

        String getComment()
         Required. Business justification explaining the need for violation acknowledgement
         
        string comment = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The comment.
      • getCommentBytes

        com.google.protobuf.ByteString getCommentBytes()
         Required. Business justification explaining the need for violation acknowledgement
         
        string comment = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for comment.
      • getNonCompliantOrgPolicy

        @Deprecated
        String getNonCompliantOrgPolicy()
        Deprecated.
        google.cloud.assuredworkloads.v1.AcknowledgeViolationRequest.non_compliant_org_policy is deprecated. See google/cloud/assuredworkloads/v1/assuredworkloads.proto;l=584
         Optional. This field is deprecated and will be removed in future version of the API.
         Name of the OrgPolicy which was modified with non-compliant change and
         resulted in this violation.
         Format:
         projects/{project_number}/policies/{constraint_name}
         folders/{folder_id}/policies/{constraint_name}
         organizations/{organization_id}/policies/{constraint_name}
         
        string non_compliant_org_policy = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The nonCompliantOrgPolicy.
      • getNonCompliantOrgPolicyBytes

        @Deprecated
        com.google.protobuf.ByteString getNonCompliantOrgPolicyBytes()
        Deprecated.
        google.cloud.assuredworkloads.v1.AcknowledgeViolationRequest.non_compliant_org_policy is deprecated. See google/cloud/assuredworkloads/v1/assuredworkloads.proto;l=584
         Optional. This field is deprecated and will be removed in future version of the API.
         Name of the OrgPolicy which was modified with non-compliant change and
         resulted in this violation.
         Format:
         projects/{project_number}/policies/{constraint_name}
         folders/{folder_id}/policies/{constraint_name}
         organizations/{organization_id}/policies/{constraint_name}
         
        string non_compliant_org_policy = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for nonCompliantOrgPolicy.