google-cloud-cloud_controls_partner-v1beta 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54daab324144d7aca104f4c00a13eb7d24d7c08b8fc023e0e86909191aa7041d
4
- data.tar.gz: 9f744700cbbe01ba4e460b73ab53a1729c8d3235aa88bf3f5db919ca5fcadbfc
3
+ metadata.gz: 0f15fe016b502ec37c1fc990da24a8da97715f5a86842dcec038c1b84377f935
4
+ data.tar.gz: 7ccbc8d29fc6ce7ecda04b5c8199c0247db73b7b36116baece46b9a631332b2f
5
5
  SHA512:
6
- metadata.gz: 2a3f4f4eb9917413c2ba48ce7d0d307f9e0e0bd8def405f7625d50affcd8c7f9a0635ea2df33583a19c43c4397c2895fe0f17c4d5fd1803265ab91b9cc815afe
7
- data.tar.gz: 002440ae552ea1710b84ab94b28748bc7914e4c182f10769f7075b36acec1aebffa7aa5534d88c4a497ff4241444ee396c9eb0d183bf549e63cfb0f978eaeae9
6
+ metadata.gz: b771785409aad10c2bdb7ecca1b7f0a4c579f13538f1d87efbce2f8615eb9b58f49bdd38b176f51c92abbdefb9ee9b78ec4e680a96c3709cc4d8b28da9d864a0
7
+ data.tar.gz: 24ef72cea4dddb18b52fe499d0748a6a5ddfced3fec0e3997772492e61f054204b4d7a472e0107f9fcf620da5fd16fc18df17f3bc2c1702d84d0c23f5a6fbc54
@@ -1263,8 +1263,6 @@ module Google
1263
1263
  # @return [::String,nil]
1264
1264
  # @!attribute [rw] credentials
1265
1265
  # Credentials to send with calls. You may provide any of the following types:
1266
- # * (`String`) The path to a service account key file in JSON format
1267
- # * (`Hash`) A service account key as a Hash
1268
1266
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1269
1267
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1270
1268
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1273,7 +1271,26 @@ module Google
1273
1271
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1274
1272
  # * (`nil`) indicating no credentials
1275
1273
  #
1276
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1274
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1275
+ # is deprecated. Providing an unvalidated credential configuration to
1276
+ # Google APIs can compromise the security of your systems and data.
1277
+ #
1278
+ # @example
1279
+ #
1280
+ # # The recommended way to provide credentials is to use the `make_creds` method
1281
+ # # on the appropriate credentials class for your environment.
1282
+ #
1283
+ # require "googleauth"
1284
+ #
1285
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1286
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1287
+ # )
1288
+ #
1289
+ # client = ::Google::Cloud::CloudControlsPartner::V1beta::CloudControlsPartnerCore::Client.new do |config|
1290
+ # config.credentials = credentials
1291
+ # end
1292
+ #
1293
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1277
1294
  # external source for authentication to Google Cloud, you must validate it before
1278
1295
  # providing it to a Google API client library. Providing an unvalidated credential
1279
1296
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -427,8 +427,6 @@ module Google
427
427
  # @return [::String,nil]
428
428
  # @!attribute [rw] credentials
429
429
  # Credentials to send with calls. You may provide any of the following types:
430
- # * (`String`) The path to a service account key file in JSON format
431
- # * (`Hash`) A service account key as a Hash
432
430
  # * (`Google::Auth::Credentials`) A googleauth credentials object
433
431
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
434
432
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -437,7 +435,26 @@ module Google
437
435
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
438
436
  # * (`nil`) indicating no credentials
439
437
  #
440
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
438
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
439
+ # is deprecated. Providing an unvalidated credential configuration to
440
+ # Google APIs can compromise the security of your systems and data.
441
+ #
442
+ # @example
443
+ #
444
+ # # The recommended way to provide credentials is to use the `make_creds` method
445
+ # # on the appropriate credentials class for your environment.
446
+ #
447
+ # require "googleauth"
448
+ #
449
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
450
+ # json_key_io: ::File.open("/path/to/keyfile.json")
451
+ # )
452
+ #
453
+ # client = ::Google::Cloud::CloudControlsPartner::V1beta::CloudControlsPartnerMonitoring::Client.new do |config|
454
+ # config.credentials = credentials
455
+ # end
456
+ #
457
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
441
458
  # external source for authentication to Google Cloud, you must validate it before
442
459
  # providing it to a Google API client library. Providing an unvalidated credential
443
460
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudControlsPartner
23
23
  module V1beta
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
11
11
 
12
12
  descriptor_data = "\nGgoogle/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xed\x03\n\x15\x41\x63\x63\x65ssApprovalRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x10requested_reason\x18\x03 \x01(\x0b\x32\x36.google.cloud.cloudcontrolspartner.v1beta.AccessReason\x12=\n\x19requested_expiration_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\xfd\x01\xea\x41\xf9\x01\n9cloudcontrolspartner.googleapis.com/AccessApprovalRequest\x12\x8c\x01organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}*\x16\x61\x63\x63\x65ssApprovalRequests2\x15\x61\x63\x63\x65ssApprovalRequest\"\xd3\x01\n!ListAccessApprovalRequestsRequest\x12Q\n\x06parent\x18\x01 \x01(\tBA\xe0\x41\x02\xfa\x41;\x12\x39\x63loudcontrolspartner.googleapis.com/AccessApprovalRequest\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\"\xb5\x01\n\"ListAccessApprovalRequestsResponse\x12\x61\n\x18\x61\x63\x63\x65ss_approval_requests\x18\x01 \x03(\x0b\x32?.google.cloud.cloudcontrolspartner.v1beta.AccessApprovalRequest\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xc6\x02\n\x0c\x41\x63\x63\x65ssReason\x12I\n\x04type\x18\x01 \x01(\x0e\x32;.google.cloud.cloudcontrolspartner.v1beta.AccessReason.Type\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\"\xda\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43USTOMER_INITIATED_SUPPORT\x10\x01\x12\x1c\n\x18GOOGLE_INITIATED_SERVICE\x10\x02\x12\x1b\n\x17GOOGLE_INITIATED_REVIEW\x10\x03\x12\x1c\n\x18THIRD_PARTY_DATA_REQUEST\x10\x04\x12\'\n#GOOGLE_RESPONSE_TO_PRODUCTION_ALERT\x10\x05\x12\x1a\n\x16\x43LOUD_INITIATED_ACCESS\x10\x06\x42\xb3\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x1b\x41\x63\x63\x65ssApprovalRequestsProtoP\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
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
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n?google/cloud/cloudcontrolspartner/v1beta/completion_state.proto\x12(google.cloud.cloudcontrolspartner.v1beta*o\n\x0f\x43ompletionState\x12 \n\x1c\x43OMPLETION_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x12\n\x0eNOT_APPLICABLE\x10\x04\x42\xac\x02\n,com.google.cloud.cloudcontrolspartner.v1betaB\x14\x43ompletionStateProtoP\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"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Cloud
@@ -20,30 +20,8 @@ require 'google/protobuf/timestamp_pb'
20
20
 
21
21
  descriptor_data = "\n3google/cloud/cloudcontrolspartner/v1beta/core.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1aGgoogle/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto\x1a\x41google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto\x1a\x38google/cloud/cloudcontrolspartner/v1beta/customers.proto\x1a>google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto\x1a\x42google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto\x1a\x37google/cloud/cloudcontrolspartner/v1beta/partners.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xd3\x14\n\x18\x43loudControlsPartnerCore\x12\xd2\x01\n\x0bGetWorkload\x12<.google.cloud.cloudcontrolspartner.v1beta.GetWorkloadRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Workload\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*}\x12\xe5\x01\n\rListWorkloads\x12>.google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsRequest\x1a?.google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{parent=organizations/*/locations/*/customers/*}/workloads\x12\xc6\x01\n\x0bGetCustomer\x12<.google.cloud.cloudcontrolspartner.v1beta.GetCustomerRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Customer\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta/{name=organizations/*/locations/*/customers/*}\x12\xd9\x01\n\rListCustomers\x12>.google.cloud.cloudcontrolspartner.v1beta.ListCustomersRequest\x1a?.google.cloud.cloudcontrolspartner.v1beta.ListCustomersResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta/{parent=organizations/*/locations/*}/customers\x12\xf3\x01\n\x11GetEkmConnections\x12\x42.google.cloud.cloudcontrolspartner.v1beta.GetEkmConnectionsRequest\x1a\x38.google.cloud.cloudcontrolspartner.v1beta.EkmConnections\"`\xda\x41\x04name\x82\xd3\xe4\x93\x02S\x12Q/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/ekmConnections}\x12\x83\x02\n\x15GetPartnerPermissions\x12\x46.google.cloud.cloudcontrolspartner.v1beta.GetPartnerPermissionsRequest\x1a<.google.cloud.cloudcontrolspartner.v1beta.PartnerPermissions\"d\xda\x41\x04name\x82\xd3\xe4\x93\x02W\x12U/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/partnerPermissions}\x12\xa8\x02\n\x1aListAccessApprovalRequests\x12K.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsRequest\x1aL.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsResponse\"o\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02]\x12[/v1beta/{parent=organizations/*/locations/*/customers/*/workloads/*}/accessApprovalRequests\x12\xbf\x01\n\nGetPartner\x12;.google.cloud.cloudcontrolspartner.v1beta.GetPartnerRequest\x1a\x31.google.cloud.cloudcontrolspartner.v1beta.Partner\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta/{name=organizations/*/locations/*/partner}\x12\xed\x01\n\x0e\x43reateCustomer\x12?.google.cloud.cloudcontrolspartner.v1beta.CreateCustomerRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Customer\"f\xda\x41\x1bparent,customer,customer_id\x82\xd3\xe4\x93\x02\x42\"6/v1beta/{parent=organizations/*/locations/*}/customers:\x08\x63ustomer\x12\xef\x01\n\x0eUpdateCustomer\x12?.google.cloud.cloudcontrolspartner.v1beta.UpdateCustomerRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Customer\"h\xda\x41\x14\x63ustomer,update_mask\x82\xd3\xe4\x93\x02K2?/v1beta/{customer.name=organizations/*/locations/*/customers/*}:\x08\x63ustomer\x12\xb0\x01\n\x0e\x44\x65leteCustomer\x12?.google.cloud.cloudcontrolspartner.v1beta.DeleteCustomerRequest\x1a\x16.google.protobuf.Empty\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1beta/{name=organizations/*/locations/*/customers/*}\x1aW\xca\x41#cloudcontrolspartner.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x03\n,com.google.cloud.cloudcontrolspartner.v1betaB\tCoreProtoP\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::V1beta\xea\x41m\n8cloudcontrolspartner.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
22
22
 
23
- pool = Google::Protobuf::DescriptorPool.generated_pool
24
-
25
- begin
26
- pool.add_serialized_file(descriptor_data)
27
- rescue TypeError
28
- # Compatibility code: will be removed in the next major version.
29
- require 'google/protobuf/descriptor_pb'
30
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
31
- parsed.clear_dependency
32
- serialized = parsed.class.encode(parsed)
33
- file = pool.add_serialized_file(serialized)
34
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
35
- imports = [
36
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
37
- ]
38
- imports.each do |type_name, expected_filename|
39
- import_file = pool.lookup(type_name).file_descriptor
40
- if import_file.name != expected_filename
41
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
- end
43
- end
44
- warn "Each proto file must use a consistent fully-qualified name."
45
- warn "This will become an error in the next major version."
46
- end
23
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
24
+ pool.add_serialized_file(descriptor_data)
47
25
 
48
26
  module Google
49
27
  module Cloud
@@ -12,30 +12,8 @@ require 'google/protobuf/timestamp_pb'
12
12
 
13
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
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
15
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
+ pool.add_serialized_file(descriptor_data)
39
17
 
40
18
  module Google
41
19
  module Cloud
@@ -13,31 +13,8 @@ require 'google/protobuf/timestamp_pb'
13
13
 
14
14
  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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf2\x02\n\x08\x43ustomer\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12i\n\x19\x63ustomer_onboarding_state\x18\x03 \x01(\x0b\x32\x41.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingStateB\x03\xe0\x41\x03\x12\x19\n\x0cis_onboarded\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12 \n\x13organization_domain\x18\x05 \x01(\tB\x03\xe0\x41\x03:\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\"\xc2\x01\n\x15\x43reateCustomerRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,cloudcontrolspartner.googleapis.com/Customer\x12I\n\x08\x63ustomer\x18\x02 \x01(\x0b\x32\x32.google.cloud.cloudcontrolspartner.v1beta.CustomerB\x03\xe0\x41\x02\x12\x18\n\x0b\x63ustomer_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"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\"\x98\x01\n\x15UpdateCustomerRequest\x12I\n\x08\x63ustomer\x18\x01 \x01(\x0b\x32\x32.google.cloud.cloudcontrolspartner.v1beta.CustomerB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"[\n\x15\x44\x65leteCustomerRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,cloudcontrolspartner.googleapis.com/CustomerB\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"
15
15
 
16
- pool = Google::Protobuf::DescriptorPool.generated_pool
17
-
18
- begin
19
- pool.add_serialized_file(descriptor_data)
20
- rescue TypeError
21
- # Compatibility code: will be removed in the next major version.
22
- require 'google/protobuf/descriptor_pb'
23
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
- parsed.clear_dependency
25
- serialized = parsed.class.encode(parsed)
26
- file = pool.add_serialized_file(serialized)
27
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
- imports = [
29
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
31
- ]
32
- imports.each do |type_name, expected_filename|
33
- import_file = pool.lookup(type_name).file_descriptor
34
- if import_file.name != expected_filename
35
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
- end
37
- end
38
- warn "Each proto file must use a consistent fully-qualified name."
39
- warn "This will become an error in the next major version."
40
- end
16
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
17
+ pool.add_serialized_file(descriptor_data)
41
18
 
42
19
  module Google
43
20
  module Cloud
@@ -10,29 +10,8 @@ require 'google/api/resource_pb'
10
10
 
11
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
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
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
36
15
 
37
16
  module Google
38
17
  module Cloud
@@ -11,29 +11,8 @@ require 'google/cloud/cloudcontrolspartner/v1beta/violations_pb'
11
11
 
12
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
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
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
37
16
 
38
17
  module Google
39
18
  module Cloud
@@ -10,29 +10,8 @@ require 'google/api/resource_pb'
10
10
 
11
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\"\xb9\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\"\xfa\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\x12\x30\n,ACCESS_TRANSPARENCY_LOGS_SUPPORT_CASE_VIEWER\x10\x05:\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
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
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
36
15
 
37
16
  module Google
38
17
  module Cloud
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
11
11
 
12
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\"\xe4\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\"b\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\x0e\n\x06VIRTRU\x10\x04\x1a\x02\x08\x01\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
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
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -12,31 +12,8 @@ require 'google/type/interval_pb'
12
12
 
13
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
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
15
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
+ pool.add_serialized_file(descriptor_data)
40
17
 
41
18
  module Google
42
19
  module Cloud
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-cloud_controls_partner-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -111,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
112
  - - ">="
113
113
  - !ruby/object:Gem::Version
114
- version: '3.1'
114
+ version: '3.2'
115
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ">="