# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/cloudsecuritycompliance/v1/config.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/cloud/cloudsecuritycompliance/v1/common_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\n4google/cloud/cloudsecuritycompliance/v1/config.proto\x12\'google.cloud.cloudsecuritycompliance.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/cloudsecuritycompliance/v1/common.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x92\x01\n\x15ListFrameworksRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x63loudsecuritycompliance.googleapis.com/Framework\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"y\n\x16ListFrameworksResponse\x12\x46\n\nframeworks\x18\x01 \x03(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.Framework\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"}\n\x13GetFrameworkRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudsecuritycompliance.googleapis.com/Framework\x12\x1e\n\x11major_revision_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"\xc9\x01\n\x16\x43reateFrameworkRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30\x63loudsecuritycompliance.googleapis.com/Framework\x12\x19\n\x0c\x66ramework_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\tframework\x18\x03 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.FrameworkB\x03\xe0\x41\x02\"\xba\x01\n\x16UpdateFrameworkRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12J\n\tframework\x18\x02 \x01(\x0b\x32\x32.google.cloud.cloudsecuritycompliance.v1.FrameworkB\x03\xe0\x41\x02\x12\x1e\n\x11major_revision_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\"`\n\x16\x44\x65leteFrameworkRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudsecuritycompliance.googleapis.com/Framework\"\x98\x01\n\x18ListCloudControlsRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x63loudsecuritycompliance.googleapis.com/CloudControl\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x83\x01\n\x19ListCloudControlsResponse\x12M\n\x0e\x63loud_controls\x18\x01 \x03(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x16GetCloudControlRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudsecuritycompliance.googleapis.com/CloudControl\"\xda\x01\n\x19\x43reateCloudControlRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\x12\x33\x63loudsecuritycompliance.googleapis.com/CloudControl\x12\x1d\n\x10\x63loud_control_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Q\n\rcloud_control\x18\x03 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControlB\x03\xe0\x41\x02\"\xa4\x01\n\x19UpdateCloudControlRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12Q\n\rcloud_control\x18\x02 \x01(\x0b\x32\x35.google.cloud.cloudsecuritycompliance.v1.CloudControlB\x03\xe0\x41\x02\"f\n\x19\x44\x65leteCloudControlRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3cloudsecuritycompliance.googleapis.com/CloudControl2\xa1\x12\n\x06\x43onfig\x12\xd7\x01\n\x0eListFrameworks\x12>.google.cloud.cloudsecuritycompliance.v1.ListFrameworksRequest\x1a?.google.cloud.cloudsecuritycompliance.v1.ListFrameworksResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=organizations/*/locations/*}/frameworks\x12\xc4\x01\n\x0cGetFramework\x12<.google.cloud.cloudsecuritycompliance.v1.GetFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=organizations/*/locations/*/frameworks/*}\x12\xee\x01\n\x0f\x43reateFramework\x12?.google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"f\xda\x41\x1dparent,framework,framework_id\x82\xd3\xe4\x93\x02@\"3/v1/{parent=organizations/*/locations/*}/frameworks:\tframework\x12\xf0\x01\n\x0fUpdateFramework\x12?.google.cloud.cloudsecuritycompliance.v1.UpdateFrameworkRequest\x1a\x32.google.cloud.cloudsecuritycompliance.v1.Framework\"h\xda\x41\x15\x66ramework,update_mask\x82\xd3\xe4\x93\x02J2=/v1/{framework.name=organizations/*/locations/*/frameworks/*}:\tframework\x12\xae\x01\n\x0f\x44\x65leteFramework\x12?.google.cloud.cloudsecuritycompliance.v1.DeleteFrameworkRequest\x1a\x16.google.protobuf.Empty\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1/{name=organizations/*/locations/*/frameworks/*}\x12\xe3\x01\n\x11ListCloudControls\x12\x41.google.cloud.cloudsecuritycompliance.v1.ListCloudControlsRequest\x1a\x42.google.cloud.cloudsecuritycompliance.v1.ListCloudControlsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=organizations/*/locations/*}/cloudControls\x12\xd0\x01\n\x0fGetCloudControl\x12?.google.cloud.cloudsecuritycompliance.v1.GetCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=organizations/*/locations/*/cloudControls/*}\x12\x86\x02\n\x12\x43reateCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.CreateCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"u\xda\x41%parent,cloud_control,cloud_control_id\x82\xd3\xe4\x93\x02G\"6/v1/{parent=organizations/*/locations/*}/cloudControls:\rcloud_control\x12\x88\x02\n\x12UpdateCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.UpdateCloudControlRequest\x1a\x35.google.cloud.cloudsecuritycompliance.v1.CloudControl\"w\xda\x41\x19\x63loud_control,update_mask\x82\xd3\xe4\x93\x02U2D/v1/{cloud_control.name=organizations/*/locations/*/cloudControls/*}:\rcloud_control\x12\xb7\x01\n\x12\x44\x65leteCloudControl\x12\x42.google.cloud.cloudsecuritycompliance.v1.DeleteCloudControlRequest\x1a\x16.google.protobuf.Empty\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=organizations/*/locations/*/cloudControls/*}\x1aZ\xca\x41&cloudsecuritycompliance.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa4\x02\n+com.google.cloud.cloudsecuritycompliance.v1B\x0b\x43onfigProtoP\x01Zecloud.google.com/go/cloudsecuritycompliance/apiv1/cloudsecuritycompliancepb;cloudsecuritycompliancepb\xaa\x02\'Google.Cloud.CloudSecurityCompliance.V1\xca\x02\'Google\\Cloud\\CloudSecurityCompliance\\V1\xea\x02*Google::Cloud::CloudSecurityCompliance::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.cloud.cloudsecuritycompliance.v1.Framework", "google/cloud/cloudsecuritycompliance/v1/common.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module CloudSecurityCompliance
      module V1
        ListFrameworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFrameworksRequest").msgclass
        ListFrameworksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListFrameworksResponse").msgclass
        GetFrameworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.GetFrameworkRequest").msgclass
        CreateFrameworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest").msgclass
        UpdateFrameworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.UpdateFrameworkRequest").msgclass
        DeleteFrameworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.DeleteFrameworkRequest").msgclass
        ListCloudControlsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListCloudControlsRequest").msgclass
        ListCloudControlsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.ListCloudControlsResponse").msgclass
        GetCloudControlRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.GetCloudControlRequest").msgclass
        CreateCloudControlRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.CreateCloudControlRequest").msgclass
        UpdateCloudControlRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.UpdateCloudControlRequest").msgclass
        DeleteCloudControlRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudsecuritycompliance.v1.DeleteCloudControlRequest").msgclass
      end
    end
  end
end
