# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto", :syntax => :proto3) do add_message "google.cloud.assuredworkloads.v1beta1.CreateWorkloadRequest" do optional :parent, :string, 1 optional :workload, :message, 2, "google.cloud.assuredworkloads.v1beta1.Workload" optional :external_id, :string, 3 end add_message "google.cloud.assuredworkloads.v1beta1.UpdateWorkloadRequest" do optional :workload, :message, 1, "google.cloud.assuredworkloads.v1beta1.Workload" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.assuredworkloads.v1beta1.DeleteWorkloadRequest" do optional :name, :string, 1 optional :etag, :string, 2 end add_message "google.cloud.assuredworkloads.v1beta1.GetWorkloadRequest" do optional :name, :string, 1 end add_message "google.cloud.assuredworkloads.v1beta1.ListWorkloadsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :filter, :string, 4 end add_message "google.cloud.assuredworkloads.v1beta1.ListWorkloadsResponse" do repeated :workloads, :message, 1, "google.cloud.assuredworkloads.v1beta1.Workload" optional :next_page_token, :string, 2 end add_message "google.cloud.assuredworkloads.v1beta1.Workload" do optional :name, :string, 1 optional :display_name, :string, 2 repeated :resources, :message, 3, "google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo" optional :compliance_regime, :enum, 4, "google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime" optional :create_time, :message, 5, "google.protobuf.Timestamp" optional :billing_account, :string, 6 optional :etag, :string, 9 map :labels, :string, :string, 10 optional :provisioned_resources_parent, :string, 13 optional :kms_settings, :message, 14, "google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings" repeated :resource_settings, :message, 15, "google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings" optional :kaj_enrollment_state, :enum, 17, "google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState" optional :enable_sovereign_controls, :bool, 18 optional :saa_enrollment_response, :message, 20, "google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse" oneof :compliance_regime_settings do optional :il4_settings, :message, 7, "google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings" optional :cjis_settings, :message, 8, "google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings" optional :fedramp_high_settings, :message, 11, "google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings" optional :fedramp_moderate_settings, :message, 12, "google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings" end end add_message "google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo" do optional :resource_id, :int64, 1 optional :resource_type, :enum, 2, "google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType" end add_enum "google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType" do value :RESOURCE_TYPE_UNSPECIFIED, 0 value :CONSUMER_PROJECT, 1 value :CONSUMER_FOLDER, 4 value :ENCRYPTION_KEYS_PROJECT, 2 value :KEYRING, 3 end add_message "google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings" do optional :next_rotation_time, :message, 1, "google.protobuf.Timestamp" optional :rotation_period, :message, 2, "google.protobuf.Duration" end add_message "google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings" do optional :kms_settings, :message, 1, "google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings" end add_message "google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings" do optional :kms_settings, :message, 1, "google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings" end add_message "google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings" do optional :kms_settings, :message, 1, "google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings" end add_message "google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings" do optional :kms_settings, :message, 1, "google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings" end add_message "google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings" do optional :resource_id, :string, 1 optional :resource_type, :enum, 2, "google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType" optional :display_name, :string, 3 end add_message "google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse" do proto3_optional :setup_status, :enum, 1, "google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState" repeated :setup_errors, :enum, 2, "google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError" end add_enum "google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState" do value :SETUP_STATE_UNSPECIFIED, 0 value :STATUS_PENDING, 1 value :STATUS_COMPLETE, 2 end add_enum "google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError" do value :SETUP_ERROR_UNSPECIFIED, 0 value :ERROR_INVALID_BASE_SETUP, 1 value :ERROR_MISSING_EXTERNAL_SIGNING_KEY, 2 value :ERROR_NOT_ALL_SERVICES_ENROLLED, 3 value :ERROR_SETUP_CHECK_FAILED, 4 end add_enum "google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime" do value :COMPLIANCE_REGIME_UNSPECIFIED, 0 value :IL4, 1 value :CJIS, 2 value :FEDRAMP_HIGH, 3 value :FEDRAMP_MODERATE, 4 value :US_REGIONAL_ACCESS, 5 value :HIPAA, 6 value :HITRUST, 7 value :EU_REGIONS_AND_SUPPORT, 8 value :CA_REGIONS_AND_SUPPORT, 9 value :ITAR, 10 end add_enum "google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState" do value :KAJ_ENROLLMENT_STATE_UNSPECIFIED, 0 value :KAJ_ENROLLMENT_STATE_PENDING, 1 value :KAJ_ENROLLMENT_STATE_COMPLETE, 2 end add_message "google.cloud.assuredworkloads.v1beta1.CreateWorkloadOperationMetadata" do optional :create_time, :message, 1, "google.protobuf.Timestamp" optional :display_name, :string, 2 optional :parent, :string, 3 optional :compliance_regime, :enum, 4, "google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime" repeated :resource_settings, :message, 5, "google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings" end end end module Google module Cloud module AssuredWorkloads module V1beta1 CreateWorkloadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.CreateWorkloadRequest").msgclass UpdateWorkloadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.UpdateWorkloadRequest").msgclass DeleteWorkloadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.DeleteWorkloadRequest").msgclass GetWorkloadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.GetWorkloadRequest").msgclass ListWorkloadsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.ListWorkloadsRequest").msgclass ListWorkloadsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.ListWorkloadsResponse").msgclass Workload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload").msgclass Workload::ResourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo").msgclass Workload::ResourceInfo::ResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType").enummodule Workload::KMSSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings").msgclass Workload::IL4Settings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings").msgclass Workload::CJISSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings").msgclass Workload::FedrampHighSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings").msgclass Workload::FedrampModerateSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings").msgclass Workload::ResourceSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings").msgclass Workload::SaaEnrollmentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse").msgclass Workload::SaaEnrollmentResponse::SetupState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState").enummodule Workload::SaaEnrollmentResponse::SetupError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError").enummodule Workload::ComplianceRegime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime").enummodule Workload::KajEnrollmentState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState").enummodule CreateWorkloadOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.CreateWorkloadOperationMetadata").msgclass end end end end