google-cloud-cloud_controls_partner-v1beta 0.a → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +144 -8
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_core/client.rb +1171 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_core/credentials.rb +47 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_core/paths.rb +149 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_core/rest/client.rb +1084 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_core/rest/service_stub.rb +541 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_core/rest.rb +52 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_core.rb +55 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_monitoring/client.rb +556 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_monitoring/credentials.rb +47 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_monitoring/paths.rb +77 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_monitoring/rest/client.rb +515 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_monitoring/rest/service_stub.rb +187 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_monitoring/rest.rb +52 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/cloud_controls_partner_monitoring.rb +55 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/rest.rb +38 -0
- data/lib/google/cloud/cloud_controls_partner/v1beta/version.rb +7 -2
- data/lib/google/cloud/cloud_controls_partner/v1beta.rb +46 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/access_approval_requests_pb.rb +51 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/completion_state_pb.rb +42 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/core_pb.rb +55 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/core_services_pb.rb +60 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/customer_workloads_pb.rb +55 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/customers_pb.rb +54 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/ekm_connections_pb.rb +49 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/monitoring_pb.rb +45 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/monitoring_services_pb.rb +53 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/partner_permissions_pb.rb +47 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/partners_pb.rb +51 -0
- data/lib/google/cloud/cloudcontrolspartner/v1beta/violations_pb.rb +58 -0
- data/lib/google-cloud-cloud_controls_partner-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +399 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/access_approval_requests.rb +143 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/completion_state.rb +44 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/core.rb +57 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/customer_workloads.rb +177 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/customers.rb +134 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/ekm_connections.rb +96 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/partner_permissions.rb +66 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/partners.rb +117 -0
- data/proto_docs/google/cloud/cloudcontrolspartner/v1beta/violations.rb +229 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +94 -11
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/cloudcontrolspartner/v1beta/completion_state_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\nAgoogle/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a?google/cloud/cloudcontrolspartner/v1beta/completion_state.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xca\x06\n\x08Workload\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x16\n\tfolder_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06\x66older\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x19workload_onboarding_state\x18\x05 \x01(\x0b\x32\x41.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingState\x12\x14\n\x0cis_onboarded\x18\x06 \x01(\x08\x12!\n\x19key_management_project_id\x18\x07 \x01(\t\x12\x10\n\x08location\x18\x08 \x01(\t\x12K\n\x07partner\x18\t \x01(\x0e\x32:.google.cloud.cloudcontrolspartner.v1beta.Workload.Partner\"\xa2\x02\n\x07Partner\x12\x17\n\x13PARTNER_UNSPECIFIED\x10\x00\x12\"\n\x1ePARTNER_LOCAL_CONTROLS_BY_S3NS\x10\x01\x12+\n\'PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS\x10\x02\x12-\n)PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT\x10\x03\x12%\n!PARTNER_SOVEREIGN_CONTROLS_BY_PSN\x10\x04\x12\'\n#PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT\x10\x06\x12.\n*PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM\x10\x07:\xa4\x01\xea\x41\xa0\x01\n,cloudcontrolspartner.googleapis.com/Workload\x12[organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}*\tworkloads2\x08workload\"\xaf\x01\n\x14ListWorkloadsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,cloudcontrolspartner.googleapis.com/Workload\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8c\x01\n\x15ListWorkloadsResponse\x12\x45\n\tworkloads\x18\x01 \x03(\x0b\x32\x32.google.cloud.cloudcontrolspartner.v1beta.Workload\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x12GetWorkloadRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,cloudcontrolspartner.googleapis.com/Workload\"u\n\x17WorkloadOnboardingState\x12Z\n\x10onboarding_steps\x18\x01 \x03(\x0b\x32@.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep\"\x86\x03\n\x16WorkloadOnboardingStep\x12S\n\x04step\x18\x01 \x01(\x0e\x32\x45.google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep.Step\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x63ompletion_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x10\x63ompletion_state\x18\x04 \x01(\x0e\x32\x39.google.cloud.cloudcontrolspartner.v1beta.CompletionStateB\x03\xe0\x41\x03\"X\n\x04Step\x12\x14\n\x10STEP_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45KM_PROVISIONED\x10\x01\x12%\n!SIGNED_ACCESS_APPROVAL_CONFIGURED\x10\x02\x42\xae\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x16\x43ustomerWorkloadsProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1betab\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
]
|
30
|
+
imports.each do |type_name, expected_filename|
|
31
|
+
import_file = pool.lookup(type_name).file_descriptor
|
32
|
+
if import_file.name != expected_filename
|
33
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
37
|
+
warn "This will become an error in the next major version."
|
38
|
+
end
|
39
|
+
|
40
|
+
module Google
|
41
|
+
module Cloud
|
42
|
+
module CloudControlsPartner
|
43
|
+
module V1beta
|
44
|
+
Workload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Workload").msgclass
|
45
|
+
Workload::Partner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Workload.Partner").enummodule
|
46
|
+
ListWorkloadsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsRequest").msgclass
|
47
|
+
ListWorkloadsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsResponse").msgclass
|
48
|
+
GetWorkloadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.GetWorkloadRequest").msgclass
|
49
|
+
WorkloadOnboardingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingState").msgclass
|
50
|
+
WorkloadOnboardingStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep").msgclass
|
51
|
+
WorkloadOnboardingStep::Step = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.WorkloadOnboardingStep.Step").enummodule
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/cloudcontrolspartner/v1beta/customers.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/cloudcontrolspartner/v1beta/completion_state_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n8google/cloud/cloudcontrolspartner/v1beta/customers.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a?google/cloud/cloudcontrolspartner/v1beta/completion_state.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x02\n\x08\x43ustomer\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x64\n\x19\x63ustomer_onboarding_state\x18\x03 \x01(\x0b\x32\x41.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState\x12\x14\n\x0cis_onboarded\x18\x04 \x01(\x08:\x8f\x01\xea\x41\x8b\x01\n,cloudcontrolspartner.googleapis.com/Customer\x12\x46organizations/{organization}/locations/{location}/customers/{customer}*\tcustomers2\x08\x63ustomer\"\xaf\x01\n\x14ListCustomersRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,cloudcontrolspartner.googleapis.com/Customer\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8c\x01\n\x15ListCustomersResponse\x12\x45\n\tcustomers\x18\x01 \x03(\x0b\x32\x32.google.cloud.cloudcontrolspartner.v1beta.Customer\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x12GetCustomerRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,cloudcontrolspartner.googleapis.com/Customer\"u\n\x17\x43ustomerOnboardingState\x12Z\n\x10onboarding_steps\x18\x01 \x03(\x0b\x32@.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingStep\"\xf8\x02\n\x16\x43ustomerOnboardingStep\x12S\n\x04step\x18\x01 \x01(\x0e\x32\x45.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingStep.Step\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x63ompletion_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x10\x63ompletion_state\x18\x04 \x01(\x0e\x32\x39.google.cloud.cloudcontrolspartner.v1beta.CompletionStateB\x03\xe0\x41\x03\"J\n\x04Step\x12\x14\n\x10STEP_UNSPECIFIED\x10\x00\x12\x12\n\x0eKAJ_ENROLLMENT\x10\x01\x12\x18\n\x14\x43USTOMER_ENVIRONMENT\x10\x02\x42\xa6\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x0e\x43ustomersProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1betab\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
]
|
30
|
+
imports.each do |type_name, expected_filename|
|
31
|
+
import_file = pool.lookup(type_name).file_descriptor
|
32
|
+
if import_file.name != expected_filename
|
33
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
37
|
+
warn "This will become an error in the next major version."
|
38
|
+
end
|
39
|
+
|
40
|
+
module Google
|
41
|
+
module Cloud
|
42
|
+
module CloudControlsPartner
|
43
|
+
module V1beta
|
44
|
+
Customer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Customer").msgclass
|
45
|
+
ListCustomersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.ListCustomersRequest").msgclass
|
46
|
+
ListCustomersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.ListCustomersResponse").msgclass
|
47
|
+
GetCustomerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.GetCustomerRequest").msgclass
|
48
|
+
CustomerOnboardingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState").msgclass
|
49
|
+
CustomerOnboardingStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingStep").msgclass
|
50
|
+
CustomerOnboardingStep::Step = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingStep.Step").enummodule
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n>google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x9c\x02\n\x0e\x45kmConnections\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12P\n\x0f\x65km_connections\x18\x02 \x03(\x0b\x32\x37.google.cloud.cloudcontrolspartner.v1beta.EkmConnection:\xa4\x01\xea\x41\xa0\x01\n2cloudcontrolspartner.googleapis.com/EkmConnections\x12jorganizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections\"d\n\x18GetEkmConnectionsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2cloudcontrolspartner.googleapis.com/EkmConnections\"\xac\x03\n\rEkmConnection\x12\x17\n\x0f\x63onnection_name\x18\x01 \x01(\t\x12\x66\n\x10\x63onnection_state\x18\x02 \x01(\x0e\x32G.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionStateB\x03\xe0\x41\x03\x12\x61\n\x10\x63onnection_error\x18\x03 \x01(\x0b\x32G.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError\x1a>\n\x0f\x43onnectionError\x12\x14\n\x0c\x65rror_domain\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\"w\n\x0f\x43onnectionState\x12 \n\x1c\x43ONNECTION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tAVAILABLE\x10\x01\x12\x11\n\rNOT_AVAILABLE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x15\n\x11PERMISSION_DENIED\x10\x04\x42\xab\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x13\x45kmConnectionsProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1betab\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
35
|
+
end
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Cloud
|
39
|
+
module CloudControlsPartner
|
40
|
+
module V1beta
|
41
|
+
EkmConnections = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.EkmConnections").msgclass
|
42
|
+
GetEkmConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.GetEkmConnectionsRequest").msgclass
|
43
|
+
EkmConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.EkmConnection").msgclass
|
44
|
+
EkmConnection::ConnectionError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError").msgclass
|
45
|
+
EkmConnection::ConnectionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState").enummodule
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/cloudcontrolspartner/v1beta/monitoring.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/cloud/cloudcontrolspartner/v1beta/violations_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n9google/cloud/cloudcontrolspartner/v1beta/monitoring.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x39google/cloud/cloudcontrolspartner/v1beta/violations.proto2\xd6\x04\n\x1e\x43loudControlsPartnerMonitoring\x12\xf5\x01\n\x0eListViolations\x12?.google.cloud.cloudcontrolspartner.v1beta.ListViolationsRequest\x1a@.google.cloud.cloudcontrolspartner.v1beta.ListViolationsResponse\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\x12O/v1beta/{parent=organizations/*/locations/*/customers/*/workloads/*}/violations\x12\xe2\x01\n\x0cGetViolation\x12=.google.cloud.cloudcontrolspartner.v1beta.GetViolationRequest\x1a\x33.google.cloud.cloudcontrolspartner.v1beta.Violation\"^\xda\x41\x04name\x82\xd3\xe4\x93\x02Q\x12O/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/violations/*}\x1aW\xca\x41#cloudcontrolspartner.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa7\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x0fMonitoringProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1betab\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
36
|
+
end
|
37
|
+
|
38
|
+
module Google
|
39
|
+
module Cloud
|
40
|
+
module CloudControlsPartner
|
41
|
+
module V1beta
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/cloudcontrolspartner/v1beta/monitoring.proto for package 'Google.Cloud.CloudControlsPartner.V1beta'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2023 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/cloudcontrolspartner/v1beta/monitoring_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module CloudControlsPartner
|
25
|
+
module V1beta
|
26
|
+
module CloudControlsPartnerMonitoring
|
27
|
+
# Service describing handlers for resources
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include ::GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring'
|
35
|
+
|
36
|
+
# Lists Violations for a workload
|
37
|
+
# Callers may also choose to read across multiple Customers or for a single
|
38
|
+
# customer as per
|
39
|
+
# [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash
|
40
|
+
# character) as a wildcard character instead of {customer} & {workload}.
|
41
|
+
# Format:
|
42
|
+
# `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
|
43
|
+
rpc :ListViolations, ::Google::Cloud::CloudControlsPartner::V1beta::ListViolationsRequest, ::Google::Cloud::CloudControlsPartner::V1beta::ListViolationsResponse
|
44
|
+
# Gets details of a single Violation.
|
45
|
+
rpc :GetViolation, ::Google::Cloud::CloudControlsPartner::V1beta::GetViolationRequest, ::Google::Cloud::CloudControlsPartner::V1beta::Violation
|
46
|
+
end
|
47
|
+
|
48
|
+
Stub = Service.rpc_stub_class
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\nBgoogle/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x87\x04\n\x12PartnerPermissions\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x64\n\x13partner_permissions\x18\x02 \x03(\x0e\x32G.google.cloud.cloudcontrolspartner.v1beta.PartnerPermissions.Permission\"\xc8\x01\n\nPermission\x12\x1a\n\x16PERMISSION_UNSPECIFIED\x10\x00\x12\x31\n-ACCESS_TRANSPARENCY_AND_EMERGENCY_ACCESS_LOGS\x10\x01\x12 \n\x1c\x41SSURED_WORKLOADS_MONITORING\x10\x02\x12\x1c\n\x18\x41\x43\x43\x45SS_APPROVAL_REQUESTS\x10\x03\x12+\n\'ASSURED_WORKLOADS_EKM_CONNECTION_STATUS\x10\x04:\xac\x01\xea\x41\xa8\x01\n6cloudcontrolspartner.googleapis.com/PartnerPermissions\x12norganizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions\"l\n\x1cGetPartnerPermissionsRequest\x12L\n\x04name\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6cloudcontrolspartner.googleapis.com/PartnerPermissionsB\xaf\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x17PartnerPermissionsProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1betab\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
35
|
+
end
|
36
|
+
|
37
|
+
module Google
|
38
|
+
module Cloud
|
39
|
+
module CloudControlsPartner
|
40
|
+
module V1beta
|
41
|
+
PartnerPermissions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.PartnerPermissions").msgclass
|
42
|
+
PartnerPermissions::Permission = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.PartnerPermissions.Permission").enummodule
|
43
|
+
GetPartnerPermissionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.GetPartnerPermissionsRequest").msgclass
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/cloudcontrolspartner/v1beta/partners.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n7google/cloud/cloudcontrolspartner/v1beta/partners.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc5\x03\n\x07Partner\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12;\n\x04skus\x18\x03 \x03(\x0b\x32-.google.cloud.cloudcontrolspartner.v1beta.Sku\x12L\n\rekm_solutions\x18\x04 \x03(\x0b\x32\x35.google.cloud.cloudcontrolspartner.v1beta.EkmMetadata\x12\x1e\n\x16operated_cloud_regions\x18\x05 \x03(\t\x12\x1a\n\x12partner_project_id\x18\x07 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:t\xea\x41q\n+cloudcontrolspartner.googleapis.com/Partner\x12\x39organizations/{organization}/locations/{location}/partner2\x07partner\"V\n\x11GetPartnerRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudcontrolspartner.googleapis.com/Partner\"\'\n\x03Sku\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"\xe0\x01\n\x0b\x45kmMetadata\x12W\n\x0c\x65km_solution\x18\x01 \x01(\x0e\x32\x41.google.cloud.cloudcontrolspartner.v1beta.EkmMetadata.EkmSolution\x12\x18\n\x10\x65km_endpoint_uri\x18\x02 \x01(\t\"^\n\x0b\x45kmSolution\x12\x1c\n\x18\x45KM_SOLUTION_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x46ORTANIX\x10\x01\x12\x0b\n\x07\x46UTUREX\x10\x02\x12\n\n\x06THALES\x10\x03\x12\n\n\x06VIRTRU\x10\x04\x42\xa5\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\rPartnersProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1betab\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
37
|
+
end
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module CloudControlsPartner
|
42
|
+
module V1beta
|
43
|
+
Partner = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Partner").msgclass
|
44
|
+
GetPartnerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.GetPartnerRequest").msgclass
|
45
|
+
Sku = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Sku").msgclass
|
46
|
+
EkmMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.EkmMetadata").msgclass
|
47
|
+
EkmMetadata::EkmSolution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.EkmMetadata.EkmSolution").enummodule
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/cloudcontrolspartner/v1beta/violations.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
require 'google/type/interval_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n9google/cloud/cloudcontrolspartner/v1beta/violations.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/interval.proto\"\xb9\r\n\tViolation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nbegin_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0cresolve_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x15\n\x08\x63\x61tegory\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12M\n\x05state\x18\x07 \x01(\x0e\x32\x39.google.cloud.cloudcontrolspartner.v1beta.Violation.StateB\x03\xe0\x41\x03\x12(\n\x18non_compliant_org_policy\x18\x08 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x11\n\tfolder_id\x18\t \x01(\x03\x12Y\n\x0bremediation\x18\r \x01(\x0b\x32?.google.cloud.cloudcontrolspartner.v1beta.Violation.RemediationB\x03\xe0\x41\x03\x1a\xd0\x07\n\x0bRemediation\x12g\n\x0cinstructions\x18\x01 \x01(\x0b\x32L.google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.InstructionsB\x03\xe0\x41\x02\x12\x18\n\x10\x63ompliant_values\x18\x02 \x03(\t\x12n\n\x10remediation_type\x18\x03 \x01(\x0e\x32O.google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.RemediationTypeB\x03\xe0\x41\x03\x1a\x8a\x03\n\x0cInstructions\x12p\n\x13gcloud_instructions\x18\x01 \x01(\x0b\x32S.google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions.Gcloud\x12r\n\x14\x63onsole_instructions\x18\x02 \x01(\x0b\x32T.google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions.Console\x1aJ\n\x06Gcloud\x12\x17\n\x0fgcloud_commands\x18\x01 \x03(\t\x12\r\n\x05steps\x18\x02 \x03(\t\x12\x18\n\x10\x61\x64\x64itional_links\x18\x03 \x03(\t\x1aH\n\x07\x43onsole\x12\x14\n\x0c\x63onsole_uris\x18\x01 \x03(\t\x12\r\n\x05steps\x18\x02 \x03(\t\x12\x18\n\x10\x61\x64\x64itional_links\x18\x03 \x03(\t\"\xc0\x02\n\x0fRemediationType\x12 \n\x1cREMEDIATION_TYPE_UNSPECIFIED\x10\x00\x12,\n(REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION\x10\x01\x12\x38\n4REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION\x10\x02\x12\x37\n3REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION\x10\x03\x12\x46\nBREMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION\x10\x04\x12\"\n\x1eREMEDIATION_RESOURCE_VIOLATION\x10\x05\"K\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08RESOLVED\x10\x01\x12\x0e\n\nUNRESOLVED\x10\x02\x12\r\n\tEXCEPTION\x10\x03:\xbe\x01\xea\x41\xba\x01\n-cloudcontrolspartner.googleapis.com/Violation\x12rorganizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}*\nviolations2\tviolation\"\xe9\x01\n\x15ListViolationsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-cloudcontrolspartner.googleapis.com/Violation\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12,\n\x08interval\x18\x06 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x01\"\x8f\x01\n\x16ListViolationsResponse\x12G\n\nviolations\x18\x01 \x03(\x0b\x32\x33.google.cloud.cloudcontrolspartner.v1beta.Violation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Z\n\x13GetViolationRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-cloudcontrolspartner.googleapis.com/ViolationB\xa7\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x0fViolationsProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1betab\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.type.Interval", "google/type/interval.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module CloudControlsPartner
|
44
|
+
module V1beta
|
45
|
+
Violation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Violation").msgclass
|
46
|
+
Violation::Remediation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation").msgclass
|
47
|
+
Violation::Remediation::Instructions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions").msgclass
|
48
|
+
Violation::Remediation::Instructions::Gcloud = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions.Gcloud").msgclass
|
49
|
+
Violation::Remediation::Instructions::Console = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions.Console").msgclass
|
50
|
+
Violation::Remediation::RemediationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.RemediationType").enummodule
|
51
|
+
Violation::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.Violation.State").enummodule
|
52
|
+
ListViolationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.ListViolationsRequest").msgclass
|
53
|
+
ListViolationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.ListViolationsResponse").msgclass
|
54
|
+
GetViolationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.cloudcontrolspartner.v1beta.GetViolationRequest").msgclass
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/cloud_controls_partner/v1beta"
|