google-cloud-security_center_management-v1 1.5.1 → 1.7.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17483b5eca83afb28ea2fb486ee291b8773e2b55f2b91670b2af2c45d981ec96
|
|
4
|
+
data.tar.gz: a2ac5899a0ba7a3315076f431ff7020cc06227eb267341655e7af0e9453ff6a6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 866b052318754c247d7b7239db3a877f5d310f54e267d96457f67bfd756d7f73991cc2e99c082cd7b3bf53eeda17b8189ba34598188fc5d456ecbec01c38a0a7
|
|
7
|
+
data.tar.gz: c873b23e60d11a08118158cbd82dad0630e3e61abf52bfd47d6b25b51a975ae6672c569369ccb7ca111696e932bdc25db21c8b5e61b9ad611dbadf5c9a6b7d6c
|
|
@@ -19,36 +19,8 @@ require 'google/type/expr_pb'
|
|
|
19
19
|
|
|
20
20
|
descriptor_data = "\nIgoogle/cloud/securitycentermanagement/v1/security_center_management.proto\x12(google.cloud.securitycentermanagement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/expr.proto\"\xbe\n\n\x15SecurityCenterService\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12w\n\x19intended_enablement_state\x18\x02 \x01(\x0e\x32O.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementStateB\x03\xe0\x41\x01\x12x\n\x1a\x65\x66\x66\x65\x63tive_enablement_state\x18\x03 \x01(\x0e\x32O.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementStateB\x03\xe0\x41\x03\x12\x62\n\x07modules\x18\x04 \x03(\x0b\x32L.google.cloud.securitycentermanagement.v1.SecurityCenterService.ModulesEntryB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0eservice_config\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x1a\x83\x02\n\x0eModuleSettings\x12w\n\x19intended_enablement_state\x18\x01 \x01(\x0e\x32O.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementStateB\x03\xe0\x41\x01\x12x\n\x1a\x65\x66\x66\x65\x63tive_enablement_state\x18\x02 \x01(\x0e\x32O.google.cloud.securitycentermanagement.v1.SecurityCenterService.EnablementStateB\x03\xe0\x41\x03\x1a~\n\x0cModulesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12]\n\x05value\x18\x02 \x01(\x0b\x32N.google.cloud.securitycentermanagement.v1.SecurityCenterService.ModuleSettings:\x02\x38\x01\"n\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\r\n\tINHERITED\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x0f\n\x0bINGEST_ONLY\x10\x04:\xd8\x02\xea\x41\xd4\x02\n=securitycentermanagement.googleapis.com/SecurityCenterService\x12Hprojects/{project}/locations/{location}/securityCenterServices/{service}\x12\x46\x66olders/{folder}/locations/{location}/securityCenterServices/{service}\x12Rorganizations/{organization}/locations/{location}/securityCenterServices/{service}*\x16securityCenterServices2\x15securityCenterService\"\xee\x07\n,EffectiveSecurityHealthAnalyticsCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12R\n\rcustom_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.securitycentermanagement.v1.CustomConfigB\x03\xe0\x41\x03\x12\x85\x01\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32\x66.google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementStateB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x03\xe0\x41\x03\"N\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:\xe3\x04\xea\x41\xdf\x04\nTsecuritycentermanagement.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\x12\x93\x01organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}\x12\x89\x01projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}\x12\x87\x01\x66olders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}*-effectiveSecurityHealthAnalyticsCustomModules2,effectiveSecurityHealthAnalyticsCustomModule\"\xd9\x01\n8ListEffectiveSecurityHealthAnalyticsCustomModulesRequest\x12l\n\x06parent\x18\x01 \x01(\tB\\\xe0\x41\x02\xfa\x41V\x12Tsecuritycentermanagement.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\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\"\xe9\x01\n9ListEffectiveSecurityHealthAnalyticsCustomModulesResponse\x12\x92\x01\n2effective_security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32V.google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa4\x01\n6GetEffectiveSecurityHealthAnalyticsCustomModuleRequest\x12j\n\x04name\x18\x01 \x01(\tB\\\xe0\x41\x02\xfa\x41V\nTsecuritycentermanagement.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule\"\xd2\x08\n#SecurityHealthAnalyticsCustomModule\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\x01\x12|\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32].google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule.EnablementStateB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0blast_editor\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12l\n\x0f\x61ncestor_module\x18\x06 \x01(\tBS\xe0\x41\x03\xfa\x41M\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12R\n\rcustom_config\x18\x07 \x01(\x0b\x32\x36.google.cloud.securitycentermanagement.v1.CustomConfigB\x03\xe0\x41\x01\"]\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\r\n\tINHERITED\x10\x03:\x8d\x04\xea\x41\x89\x04\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x80\x01organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}\x12vprojects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}\x12tfolders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}*$securityHealthAnalyticsCustomModules2#securityHealthAnalyticsCustomModule\"\xeb\x05\n\x0c\x43ustomConfig\x12)\n\tpredicate\x18\x01 \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\x12\x63\n\rcustom_output\x18\x02 \x01(\x0b\x32G.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpecB\x03\xe0\x41\x01\x12g\n\x11resource_selector\x18\x03 \x01(\x0b\x32G.google.cloud.securitycentermanagement.v1.CustomConfig.ResourceSelectorB\x03\xe0\x41\x01\x12V\n\x08severity\x18\x04 \x01(\x0e\x32?.google.cloud.securitycentermanagement.v1.CustomConfig.SeverityB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0erecommendation\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1a\xce\x01\n\x10\x43ustomOutputSpec\x12i\n\nproperties\x18\x01 \x03(\x0b\x32P.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec.PropertyB\x03\xe0\x41\x01\x1aO\n\x08Property\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x10value_expression\x18\x02 \x01(\x0b\x32\x11.google.type.ExprB\x03\xe0\x41\x01\x1a/\n\x10ResourceSelector\x12\x1b\n\x0eresource_types\x18\x01 \x03(\tB\x03\xe0\x41\x01\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04\"\xc7\x01\n/ListSecurityHealthAnalyticsCustomModulesRequest\x12\x63\n\x06parent\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\x12Ksecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\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\"\xcc\x01\n0ListSecurityHealthAnalyticsCustomModulesResponse\x12\x7f\n(security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xd1\x01\n9ListDescendantSecurityHealthAnalyticsCustomModulesRequest\x12\x63\n\x06parent\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\x12Ksecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\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\"\xd6\x01\n:ListDescendantSecurityHealthAnalyticsCustomModulesResponse\x12\x7f\n(security_health_analytics_custom_modules\x18\x01 \x03(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x01\n-GetSecurityHealthAnalyticsCustomModuleRequest\x12\x61\n\x04name\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\"\xb9\x02\n0CreateSecurityHealthAnalyticsCustomModuleRequest\x12\x63\n\x06parent\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\x12Ksecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x83\x01\n\'security_health_analytics_custom_module\x18\x02 \x01(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x02\n0UpdateSecurityHealthAnalyticsCustomModuleRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x83\x01\n\'security_health_analytics_custom_module\x18\x02 \x01(\x0b\x32M.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xb1\x01\n0DeleteSecurityHealthAnalyticsCustomModuleRequest\x12\x61\n\x04name\x18\x01 \x01(\tBS\xe0\x41\x02\xfa\x41M\nKsecuritycentermanagement.googleapis.com/SecurityHealthAnalyticsCustomModule\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc1\x03\n2SimulateSecurityHealthAnalyticsCustomModuleRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\rcustom_config\x18\x02 \x01(\x0b\x32\x36.google.cloud.securitycentermanagement.v1.CustomConfigB\x03\xe0\x41\x02\x12\x85\x01\n\x08resource\x18\x03 \x01(\x0b\x32n.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest.SimulatedResourceB\x03\xe0\x41\x02\x1a\x99\x01\n\x11SimulatedResource\x12\x1a\n\rresource_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\rresource_data\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x33\n\x0fiam_policy_data\x18\x03 \x01(\x0b\x32\x15.google.iam.v1.PolicyB\x03\xe0\x41\x01\"\x8a\t\n\x10SimulatedFinding\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x04 \x01(\t\x12T\n\x05state\x18\x05 \x01(\x0e\x32@.google.cloud.securitycentermanagement.v1.SimulatedFinding.StateB\x03\xe0\x41\x03\x12k\n\x11source_properties\x18\x06 \x03(\x0b\x32P.google.cloud.securitycentermanagement.v1.SimulatedFinding.SourcePropertiesEntry\x12.\n\nevent_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x08severity\x18\x08 \x01(\x0e\x32\x43.google.cloud.securitycentermanagement.v1.SimulatedFinding.Severity\x12^\n\rfinding_class\x18\t \x01(\x0e\x32G.google.cloud.securitycentermanagement.v1.SimulatedFinding.FindingClass\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\"Q\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43RITICAL\x10\x01\x12\x08\n\x04HIGH\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x07\n\x03LOW\x10\x04\"\xb0\x01\n\x0c\x46indingClass\x12\x1d\n\x19\x46INDING_CLASS_UNSPECIFIED\x10\x00\x12\n\n\x06THREAT\x10\x01\x12\x11\n\rVULNERABILITY\x10\x02\x12\x14\n\x10MISCONFIGURATION\x10\x03\x12\x0f\n\x0bOBSERVATION\x10\x04\x12\r\n\tSCC_ERROR\x10\x05\x12\x15\n\x11POSTURE_VIOLATION\x10\x06\x12\x15\n\x11TOXIC_COMBINATION\x10\x07:\xee\x01\xea\x41\xea\x01\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}\x12\x34\x66olders/{folder}/sources/{source}/findings/{finding}\x12\x36projects/{project}/sources/{source}/findings/{finding}*\x08\x66indings2\x07\x66inding\"\xf6\x02\n3SimulateSecurityHealthAnalyticsCustomModuleResponse\x12}\n\x06result\x18\x01 \x01(\x0b\x32m.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult\x1a\xbf\x01\n\x0fSimulatedResult\x12M\n\x07\x66inding\x18\x01 \x01(\x0b\x32:.google.cloud.securitycentermanagement.v1.SimulatedFindingH\x00\x12.\n\x0cno_violation\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12#\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x42\x08\n\x06result\"\xd4\x07\n)EffectiveEventThreatDetectionCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x03\x12\x82\x01\n\x10\x65nablement_state\x18\x03 \x01(\x0e\x32\x63.google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule.EnablementStateB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x03\"N\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02:\xc8\x04\xea\x41\xc4\x04\nQsecuritycentermanagement.googleapis.com/EffectiveEventThreatDetectionCustomModule\x12\x8d\x01organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}\x12\x83\x01projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}\x12\x81\x01\x66olders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}**effectiveEventThreatDetectionCustomModules2)effectiveEventThreatDetectionCustomModule\"\xd3\x01\n5ListEffectiveEventThreatDetectionCustomModulesRequest\x12i\n\x06parent\x18\x01 \x01(\tBY\xe0\x41\x02\xfa\x41S\x12Qsecuritycentermanagement.googleapis.com/EffectiveEventThreatDetectionCustomModule\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\"\xe0\x01\n6ListEffectiveEventThreatDetectionCustomModulesResponse\x12\x8c\x01\n/effective_event_threat_detection_custom_modules\x18\x01 \x03(\x0b\x32S.google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9e\x01\n3GetEffectiveEventThreatDetectionCustomModuleRequest\x12g\n\x04name\x18\x01 \x01(\tBY\xe0\x41\x02\xfa\x41S\nQsecuritycentermanagement.googleapis.com/EffectiveEventThreatDetectionCustomModule\"\xb4\x08\n EventThreatDetectionCustomModule\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12,\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12i\n\x0f\x61ncestor_module\x18\x03 \x01(\tBP\xe0\x41\x03\xfa\x41J\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12y\n\x10\x65nablement_state\x18\x04 \x01(\x0e\x32Z.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.EnablementStateB\x03\xe0\x41\x01\x12\x11\n\x04type\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0blast_editor\x18\t \x01(\tB\x03\xe0\x41\x03\"]\n\x0f\x45nablementState\x12 \n\x1c\x45NABLEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\r\n\tINHERITED\x10\x03:\xf1\x03\xea\x41\xed\x03\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12zorganizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}\x12pprojects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}\x12nfolders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}*!eventThreatDetectionCustomModules2 eventThreatDetectionCustomModule\"\xc1\x01\n,ListEventThreatDetectionCustomModulesRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\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\"\xc3\x01\n-ListEventThreatDetectionCustomModulesResponse\x12y\n%event_threat_detection_custom_modules\x18\x01 \x03(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xcb\x01\n6ListDescendantEventThreatDetectionCustomModulesRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\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\"\xcd\x01\n7ListDescendantEventThreatDetectionCustomModulesResponse\x12y\n%event_threat_detection_custom_modules\x18\x01 \x03(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8c\x01\n*GetEventThreatDetectionCustomModuleRequest\x12^\n\x04name\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\"\xac\x02\n-CreateEventThreatDetectionCustomModuleRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12}\n$event_threat_detection_custom_module\x18\x03 \x01(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x80\x02\n-UpdateEventThreatDetectionCustomModuleRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12}\n$event_threat_detection_custom_module\x18\x02 \x01(\x0b\x32J.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModuleB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xab\x01\n-DeleteEventThreatDetectionCustomModuleRequest\x12^\n\x04name\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\nHsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xbd\x01\n/ValidateEventThreatDetectionCustomModuleRequest\x12`\n\x06parent\x18\x01 \x01(\tBP\xe0\x41\x02\xfa\x41J\x12Hsecuritycentermanagement.googleapis.com/EventThreatDetectionCustomModule\x12\x15\n\x08raw_text\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04type\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xbe\x04\n0ValidateEventThreatDetectionCustomModuleResponse\x12\x86\x01\n\x06\x65rrors\x18\x02 \x03(\x0b\x32v.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError\x1a\xc8\x02\n\x1b\x43ustomModuleValidationError\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x12\n\nfield_path\x18\x02 \x01(\t\x12w\n\x05start\x18\x03 \x01(\x0b\x32\x63.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.PositionH\x00\x88\x01\x01\x12u\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x63.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.PositionH\x01\x88\x01\x01\x42\x08\n\x06_startB\x06\n\x04_end\x1a\x36\n\x08Position\x12\x13\n\x0bline_number\x18\x01 \x01(\x05\x12\x15\n\rcolumn_number\x18\x02 \x01(\x05\"\x9a\x01\n\x1fGetSecurityCenterServiceRequest\x12S\n\x04name\x18\x01 \x01(\tBE\xe0\x41\x02\xfa\x41?\n=securitycentermanagement.googleapis.com/SecurityCenterService\x12\"\n\x1ashow_eligible_modules_only\x18\x02 \x01(\x08\"\xcf\x01\n!ListSecurityCenterServicesRequest\x12U\n\x06parent\x18\x01 \x01(\tBE\xe0\x41\x02\xfa\x41?\x12=securitycentermanagement.googleapis.com/SecurityCenterService\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\"\n\x1ashow_eligible_modules_only\x18\x04 \x01(\x08\"\xa0\x01\n\"ListSecurityCenterServicesResponse\x12\x61\n\x18security_center_services\x18\x01 \x03(\x0b\x32?.google.cloud.securitycentermanagement.v1.SecurityCenterService\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdd\x01\n\"UpdateSecurityCenterServiceRequest\x12\x65\n\x17security_center_service\x18\x01 \x01(\x0b\x32?.google.cloud.securitycentermanagement.v1.SecurityCenterServiceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x32\xceU\n\x18SecurityCenterManagement\x12\x90\x04\n1ListEffectiveSecurityHealthAnalyticsCustomModules\x12\x62.google.cloud.securitycentermanagement.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest\x1a\x63.google.cloud.securitycentermanagement.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse\"\x91\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x81\x02\x12Q/v1/{parent=projects/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModulesZR\x12P/v1/{parent=folders/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModulesZX\x12V/v1/{parent=organizations/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModules\x12\xfd\x03\n/GetEffectiveSecurityHealthAnalyticsCustomModule\x12`.google.cloud.securitycentermanagement.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest\x1aV.google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule\"\x8f\x02\xda\x41\x04name\x82\xd3\xe4\x93\x02\x81\x02\x12Q/v1/{name=projects/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}ZR\x12P/v1/{name=folders/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}ZX\x12V/v1/{name=organizations/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}\x12\xda\x03\n(ListSecurityHealthAnalyticsCustomModules\x12Y.google.cloud.securitycentermanagement.v1.ListSecurityHealthAnalyticsCustomModulesRequest\x1aZ.google.cloud.securitycentermanagement.v1.ListSecurityHealthAnalyticsCustomModulesResponse\"\xf6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xe6\x01\x12H/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModulesZI\x12G/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModulesZO\x12M/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules\x12\xa5\x04\n2ListDescendantSecurityHealthAnalyticsCustomModules\x12\x63.google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest\x1a\x64.google.cloud.securitycentermanagement.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse\"\xa3\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x93\x02\x12W/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendantZX\x12V/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendantZ^\x12\\/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendant\x12\xc7\x03\n&GetSecurityHealthAnalyticsCustomModule\x12W.google.cloud.securitycentermanagement.v1.GetSecurityHealthAnalyticsCustomModuleRequest\x1aM.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\"\xf4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe6\x01\x12H/v1/{name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}ZI\x12G/v1/{name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}ZO\x12M/v1/{name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}\x12\xf2\x04\n)CreateSecurityHealthAnalyticsCustomModule\x12Z.google.cloud.securitycentermanagement.v1.CreateSecurityHealthAnalyticsCustomModuleRequest\x1aM.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\"\x99\x03\xda\x41.parent,security_health_analytics_custom_module\x82\xd3\xe4\x93\x02\xe1\x02\"H/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:\'security_health_analytics_custom_moduleZr\"G/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:\'security_health_analytics_custom_moduleZx\"M/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:\'security_health_analytics_custom_module\x12\xf1\x05\n)UpdateSecurityHealthAnalyticsCustomModule\x12Z.google.cloud.securitycentermanagement.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest\x1aM.google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule\"\x98\x04\xda\x41\x33security_health_analytics_custom_module,update_mask\x82\xd3\xe4\x93\x02\xdb\x03\x32p/v1/{security_health_analytics_custom_module.name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}:\'security_health_analytics_custom_moduleZ\x9a\x01\x32o/v1/{security_health_analytics_custom_module.name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}:\'security_health_analytics_custom_moduleZ\xa0\x01\x32u/v1/{security_health_analytics_custom_module.name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}:\'security_health_analytics_custom_module\x12\x96\x03\n)DeleteSecurityHealthAnalyticsCustomModule\x12Z.google.cloud.securitycentermanagement.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest\x1a\x16.google.protobuf.Empty\"\xf4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xe6\x01*H/v1/{name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}ZI*G/v1/{name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}ZO*M/v1/{name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}\x12\x9e\x04\n+SimulateSecurityHealthAnalyticsCustomModule\x12\\.google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleRequest\x1a].google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse\"\xb1\x02\xda\x41\x1dparent,custom_config,resource\x82\xd3\xe4\x93\x02\x8a\x02\"Q/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:simulate:\x01*ZU\"P/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:simulate:\x01*Z[\"V/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:simulate:\x01*\x12\xfe\x03\n.ListEffectiveEventThreatDetectionCustomModules\x12_.google.cloud.securitycentermanagement.v1.ListEffectiveEventThreatDetectionCustomModulesRequest\x1a`.google.cloud.securitycentermanagement.v1.ListEffectiveEventThreatDetectionCustomModulesResponse\"\x88\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xf8\x01\x12N/v1/{parent=projects/*/locations/*}/effectiveEventThreatDetectionCustomModulesZO\x12M/v1/{parent=folders/*/locations/*}/effectiveEventThreatDetectionCustomModulesZU\x12S/v1/{parent=organizations/*/locations/*}/effectiveEventThreatDetectionCustomModules\x12\xeb\x03\n,GetEffectiveEventThreatDetectionCustomModule\x12].google.cloud.securitycentermanagement.v1.GetEffectiveEventThreatDetectionCustomModuleRequest\x1aS.google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule\"\x86\x02\xda\x41\x04name\x82\xd3\xe4\x93\x02\xf8\x01\x12N/v1/{name=projects/*/locations/*/effectiveEventThreatDetectionCustomModules/*}ZO\x12M/v1/{name=folders/*/locations/*/effectiveEventThreatDetectionCustomModules/*}ZU\x12S/v1/{name=organizations/*/locations/*/effectiveEventThreatDetectionCustomModules/*}\x12\xc8\x03\n%ListEventThreatDetectionCustomModules\x12V.google.cloud.securitycentermanagement.v1.ListEventThreatDetectionCustomModulesRequest\x1aW.google.cloud.securitycentermanagement.v1.ListEventThreatDetectionCustomModulesResponse\"\xed\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xdd\x01\x12\x45/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModulesZF\x12\x44/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModulesZL\x12J/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules\x12\x93\x04\n/ListDescendantEventThreatDetectionCustomModules\x12`.google.cloud.securitycentermanagement.v1.ListDescendantEventThreatDetectionCustomModulesRequest\x1a\x61.google.cloud.securitycentermanagement.v1.ListDescendantEventThreatDetectionCustomModulesResponse\"\x9a\x02\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x8a\x02\x12T/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:listDescendantZU\x12S/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:listDescendantZ[\x12Y/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:listDescendant\x12\xb5\x03\n#GetEventThreatDetectionCustomModule\x12T.google.cloud.securitycentermanagement.v1.GetEventThreatDetectionCustomModuleRequest\x1aJ.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\"\xeb\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xdd\x01\x12\x45/v1/{name=projects/*/locations/*/eventThreatDetectionCustomModules/*}ZF\x12\x44/v1/{name=folders/*/locations/*/eventThreatDetectionCustomModules/*}ZL\x12J/v1/{name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}\x12\xd4\x04\n&CreateEventThreatDetectionCustomModule\x12W.google.cloud.securitycentermanagement.v1.CreateEventThreatDetectionCustomModuleRequest\x1aJ.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\"\x84\x03\xda\x41+parent,event_threat_detection_custom_module\x82\xd3\xe4\x93\x02\xcf\x02\"E/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:$event_threat_detection_custom_moduleZl\"D/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:$event_threat_detection_custom_moduleZr\"J/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:$event_threat_detection_custom_module\x12\xca\x05\n&UpdateEventThreatDetectionCustomModule\x12W.google.cloud.securitycentermanagement.v1.UpdateEventThreatDetectionCustomModuleRequest\x1aJ.google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule\"\xfa\x03\xda\x41\x30\x65vent_threat_detection_custom_module,update_mask\x82\xd3\xe4\x93\x02\xc0\x03\x32j/v1/{event_threat_detection_custom_module.name=projects/*/locations/*/eventThreatDetectionCustomModules/*}:$event_threat_detection_custom_moduleZ\x91\x01\x32i/v1/{event_threat_detection_custom_module.name=folders/*/locations/*/eventThreatDetectionCustomModules/*}:$event_threat_detection_custom_moduleZ\x97\x01\x32o/v1/{event_threat_detection_custom_module.name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}:$event_threat_detection_custom_module\x12\x87\x03\n&DeleteEventThreatDetectionCustomModule\x12W.google.cloud.securitycentermanagement.v1.DeleteEventThreatDetectionCustomModuleRequest\x1a\x16.google.protobuf.Empty\"\xeb\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xdd\x01*E/v1/{name=projects/*/locations/*/eventThreatDetectionCustomModules/*}ZF*D/v1/{name=folders/*/locations/*/eventThreatDetectionCustomModules/*}ZL*J/v1/{name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}\x12\xec\x03\n(ValidateEventThreatDetectionCustomModule\x12Y.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleRequest\x1aZ.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse\"\x88\x02\x82\xd3\xe4\x93\x02\x81\x02\"N/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:validate:\x01*ZR\"M/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:validate:\x01*ZX\"S/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:validate:\x01*\x12\xf3\x02\n\x18GetSecurityCenterService\x12I.google.cloud.securitycentermanagement.v1.GetSecurityCenterServiceRequest\x1a?.google.cloud.securitycentermanagement.v1.SecurityCenterService\"\xca\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xbc\x01\x12:/v1/{name=projects/*/locations/*/securityCenterServices/*}Z;\x12\x39/v1/{name=folders/*/locations/*/securityCenterServices/*}ZA\x12?/v1/{name=organizations/*/locations/*/securityCenterServices/*}\x12\x86\x03\n\x1aListSecurityCenterServices\x12K.google.cloud.securitycentermanagement.v1.ListSecurityCenterServicesRequest\x1aL.google.cloud.securitycentermanagement.v1.ListSecurityCenterServicesResponse\"\xcc\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xbc\x01\x12:/v1/{parent=projects/*/locations/*}/securityCenterServicesZ;\x12\x39/v1/{parent=folders/*/locations/*}/securityCenterServicesZA\x12?/v1/{parent=organizations/*/locations/*}/securityCenterServices\x12\xab\x04\n\x1bUpdateSecurityCenterService\x12L.google.cloud.securitycentermanagement.v1.UpdateSecurityCenterServiceRequest\x1a?.google.cloud.securitycentermanagement.v1.SecurityCenterService\"\xfc\x02\xda\x41#security_center_service,update_mask\x82\xd3\xe4\x93\x02\xcf\x02\x32R/v1/{security_center_service.name=projects/*/locations/*/securityCenterServices/*}:\x17security_center_serviceZl2Q/v1/{security_center_service.name=folders/*/locations/*/securityCenterServices/*}:\x17security_center_serviceZr2W/v1/{security_center_service.name=organizations/*/locations/*/securityCenterServices/*}:\x17security_center_service\x1a[\xca\x41\'securitycentermanagement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x93\x04\n,com.google.cloud.securitycentermanagement.v1B\x1dSecurityCenterManagementProtoP\x01Zhcloud.google.com/go/securitycentermanagement/apiv1/securitycentermanagementpb;securitycentermanagementpb\xaa\x02(Google.Cloud.SecurityCenterManagement.V1\xca\x02(Google\\Cloud\\SecurityCenterManagement\\V1\xea\x02+Google::Cloud::SecurityCenterManagement::V1\xea\x41q\n<securitycentermanagement.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}\xea\x41_\n6securitycentermanagement.googleapis.com/FolderLocation\x12%folders/{folder}/locations/{location}b\x06proto3"
|
|
21
21
|
|
|
22
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
23
|
-
|
|
24
|
-
begin
|
|
25
|
-
pool.add_serialized_file(descriptor_data)
|
|
26
|
-
rescue TypeError
|
|
27
|
-
# Compatibility code: will be removed in the next major version.
|
|
28
|
-
require 'google/protobuf/descriptor_pb'
|
|
29
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
30
|
-
parsed.clear_dependency
|
|
31
|
-
serialized = parsed.class.encode(parsed)
|
|
32
|
-
file = pool.add_serialized_file(serialized)
|
|
33
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
34
|
-
imports = [
|
|
35
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
36
|
-
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
|
37
|
-
["google.type.Expr", "google/type/expr.proto"],
|
|
38
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
39
|
-
["google.iam.v1.Policy", "google/iam/v1/policy.proto"],
|
|
40
|
-
["google.protobuf.Empty", "google/protobuf/empty.proto"],
|
|
41
|
-
["google.rpc.Status", "google/rpc/status.proto"],
|
|
42
|
-
]
|
|
43
|
-
imports.each do |type_name, expected_filename|
|
|
44
|
-
import_file = pool.lookup(type_name).file_descriptor
|
|
45
|
-
if import_file.name != expected_filename
|
|
46
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
|
50
|
-
warn "This will become an error in the next major version."
|
|
51
|
-
end
|
|
22
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
|
52
24
|
|
|
53
25
|
module Google
|
|
54
26
|
module Cloud
|
|
@@ -141,9 +141,10 @@ module Google
|
|
|
141
141
|
#
|
|
142
142
|
# Example of a YAML configuration::
|
|
143
143
|
#
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
144
|
+
# publishing:
|
|
145
|
+
# library_settings:
|
|
146
|
+
# java_settings:
|
|
147
|
+
# library_package: com.google.cloud.pubsub.v1
|
|
147
148
|
# @!attribute [rw] service_class_names
|
|
148
149
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
149
150
|
# Configure the Java class name to use instead of the service's for its
|
|
@@ -155,11 +156,11 @@ module Google
|
|
|
155
156
|
#
|
|
156
157
|
# Example of a YAML configuration::
|
|
157
158
|
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
159
|
+
# publishing:
|
|
160
|
+
# java_settings:
|
|
161
|
+
# service_class_names:
|
|
162
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
|
163
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
163
164
|
# @!attribute [rw] common
|
|
164
165
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
165
166
|
# Some settings.
|
|
@@ -190,6 +191,20 @@ module Google
|
|
|
190
191
|
# @!attribute [rw] common
|
|
191
192
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
192
193
|
# Some settings.
|
|
194
|
+
# @!attribute [rw] library_package
|
|
195
|
+
# @return [::String]
|
|
196
|
+
# The package name to use in Php. Clobbers the php_namespace option
|
|
197
|
+
# set in the protobuf. This should be used **only** by APIs
|
|
198
|
+
# who have already set the language_settings.php.package_name" field
|
|
199
|
+
# in gapic.yaml. API teams should use the protobuf php_namespace option
|
|
200
|
+
# where possible.
|
|
201
|
+
#
|
|
202
|
+
# Example of a YAML configuration::
|
|
203
|
+
#
|
|
204
|
+
# publishing:
|
|
205
|
+
# library_settings:
|
|
206
|
+
# php_settings:
|
|
207
|
+
# library_package: Google\Cloud\PubSub\V1
|
|
193
208
|
class PhpSettings
|
|
194
209
|
include ::Google::Protobuf::MessageExts
|
|
195
210
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -318,10 +333,12 @@ module Google
|
|
|
318
333
|
# service names and values are the name to be used for the service client
|
|
319
334
|
# and call options.
|
|
320
335
|
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
336
|
+
# Example:
|
|
337
|
+
#
|
|
338
|
+
# publishing:
|
|
339
|
+
# go_settings:
|
|
340
|
+
# renamed_services:
|
|
341
|
+
# Publisher: TopicAdmin
|
|
325
342
|
class GoSettings
|
|
326
343
|
include ::Google::Protobuf::MessageExts
|
|
327
344
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -344,10 +361,10 @@ module Google
|
|
|
344
361
|
#
|
|
345
362
|
# Example:
|
|
346
363
|
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
364
|
+
# publishing:
|
|
365
|
+
# method_settings:
|
|
366
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
367
|
+
# # method settings for CreateFolder...
|
|
351
368
|
# @!attribute [rw] long_running
|
|
352
369
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
353
370
|
# Describes settings to use for long-running operations when generating
|
|
@@ -356,14 +373,14 @@ module Google
|
|
|
356
373
|
#
|
|
357
374
|
# Example of a YAML configuration::
|
|
358
375
|
#
|
|
359
|
-
#
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
376
|
+
# publishing:
|
|
377
|
+
# method_settings:
|
|
378
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
379
|
+
# long_running:
|
|
380
|
+
# initial_poll_delay: 60s # 1 minute
|
|
381
|
+
# poll_delay_multiplier: 1.5
|
|
382
|
+
# max_poll_delay: 360s # 6 minutes
|
|
383
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
367
384
|
# @!attribute [rw] auto_populated_fields
|
|
368
385
|
# @return [::Array<::String>]
|
|
369
386
|
# List of top-level fields of the request message, that should be
|
|
@@ -372,11 +389,24 @@ module Google
|
|
|
372
389
|
#
|
|
373
390
|
# Example of a YAML configuration:
|
|
374
391
|
#
|
|
375
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
#
|
|
392
|
+
# publishing:
|
|
393
|
+
# method_settings:
|
|
394
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
|
395
|
+
# auto_populated_fields:
|
|
396
|
+
# - request_id
|
|
397
|
+
# @!attribute [rw] batching
|
|
398
|
+
# @return [::Google::Api::BatchingConfigProto]
|
|
399
|
+
# Batching configuration for an API method in client libraries.
|
|
400
|
+
#
|
|
401
|
+
# Example of a YAML configuration:
|
|
402
|
+
#
|
|
403
|
+
# publishing:
|
|
404
|
+
# method_settings:
|
|
405
|
+
# - selector: google.example.v1.ExampleService.BatchCreateExample
|
|
406
|
+
# batching:
|
|
407
|
+
# element_count_threshold: 1000
|
|
408
|
+
# request_byte_threshold: 100000000
|
|
409
|
+
# delay_threshold_millis: 10
|
|
380
410
|
class MethodSettings
|
|
381
411
|
include ::Google::Protobuf::MessageExts
|
|
382
412
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -428,6 +458,77 @@ module Google
|
|
|
428
458
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
429
459
|
end
|
|
430
460
|
|
|
461
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
|
462
|
+
# @!attribute [rw] thresholds
|
|
463
|
+
# @return [::Google::Api::BatchingSettingsProto]
|
|
464
|
+
# The thresholds which trigger a batched request to be sent.
|
|
465
|
+
# @!attribute [rw] batch_descriptor
|
|
466
|
+
# @return [::Google::Api::BatchingDescriptorProto]
|
|
467
|
+
# The request and response fields used in batching.
|
|
468
|
+
class BatchingConfigProto
|
|
469
|
+
include ::Google::Protobuf::MessageExts
|
|
470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of
|
|
474
|
+
# which acts as a trigger to send a batch of messages as a request. At least
|
|
475
|
+
# one threshold must be positive nonzero.
|
|
476
|
+
# @!attribute [rw] element_count_threshold
|
|
477
|
+
# @return [::Integer]
|
|
478
|
+
# The number of elements of a field collected into a batch which, if
|
|
479
|
+
# exceeded, causes the batch to be sent.
|
|
480
|
+
# @!attribute [rw] request_byte_threshold
|
|
481
|
+
# @return [::Integer]
|
|
482
|
+
# The aggregated size of the batched field which, if exceeded, causes the
|
|
483
|
+
# batch to be sent. This size is computed by aggregating the sizes of the
|
|
484
|
+
# request field to be batched, not of the entire request message.
|
|
485
|
+
# @!attribute [rw] delay_threshold
|
|
486
|
+
# @return [::Google::Protobuf::Duration]
|
|
487
|
+
# The duration after which a batch should be sent, starting from the addition
|
|
488
|
+
# of the first message to that batch.
|
|
489
|
+
# @!attribute [rw] element_count_limit
|
|
490
|
+
# @return [::Integer]
|
|
491
|
+
# The maximum number of elements collected in a batch that could be accepted
|
|
492
|
+
# by server.
|
|
493
|
+
# @!attribute [rw] request_byte_limit
|
|
494
|
+
# @return [::Integer]
|
|
495
|
+
# The maximum size of the request that could be accepted by server.
|
|
496
|
+
# @!attribute [rw] flow_control_element_limit
|
|
497
|
+
# @return [::Integer]
|
|
498
|
+
# The maximum number of elements allowed by flow control.
|
|
499
|
+
# @!attribute [rw] flow_control_byte_limit
|
|
500
|
+
# @return [::Integer]
|
|
501
|
+
# The maximum size of data allowed by flow control.
|
|
502
|
+
# @!attribute [rw] flow_control_limit_exceeded_behavior
|
|
503
|
+
# @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
|
|
504
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
505
|
+
class BatchingSettingsProto
|
|
506
|
+
include ::Google::Protobuf::MessageExts
|
|
507
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
|
511
|
+
# used for batching, and, optionally, the fields of the response message to be
|
|
512
|
+
# used for demultiplexing.
|
|
513
|
+
# @!attribute [rw] batched_field
|
|
514
|
+
# @return [::String]
|
|
515
|
+
# The repeated field in the request message to be aggregated by batching.
|
|
516
|
+
# @!attribute [rw] discriminator_fields
|
|
517
|
+
# @return [::Array<::String>]
|
|
518
|
+
# A list of the fields in the request message. Two requests will be batched
|
|
519
|
+
# together only if the values of every field specified in
|
|
520
|
+
# `request_discriminator_fields` is equal between the two requests.
|
|
521
|
+
# @!attribute [rw] subresponse_field
|
|
522
|
+
# @return [::String]
|
|
523
|
+
# Optional. When present, indicates the field in the response message to be
|
|
524
|
+
# used to demultiplex the response into multiple response messages, in
|
|
525
|
+
# correspondence with the multiple request messages originally batched
|
|
526
|
+
# together.
|
|
527
|
+
class BatchingDescriptorProto
|
|
528
|
+
include ::Google::Protobuf::MessageExts
|
|
529
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
530
|
+
end
|
|
531
|
+
|
|
431
532
|
# The organization for which the client libraries are being published.
|
|
432
533
|
# Affects the url where generated docs are published, etc.
|
|
433
534
|
module ClientLibraryOrganization
|
|
@@ -469,5 +570,20 @@ module Google
|
|
|
469
570
|
# Publish the library to package managers like nuget.org and npmjs.com.
|
|
470
571
|
PACKAGE_MANAGER = 20
|
|
471
572
|
end
|
|
573
|
+
|
|
574
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
575
|
+
module FlowControlLimitExceededBehaviorProto
|
|
576
|
+
# Default behavior, system-defined.
|
|
577
|
+
UNSET_BEHAVIOR = 0
|
|
578
|
+
|
|
579
|
+
# Stop operation, raise error.
|
|
580
|
+
THROW_EXCEPTION = 1
|
|
581
|
+
|
|
582
|
+
# Pause operation until limit clears.
|
|
583
|
+
BLOCK = 2
|
|
584
|
+
|
|
585
|
+
# Continue operation, disregard limit.
|
|
586
|
+
IGNORE = 3
|
|
587
|
+
end
|
|
472
588
|
end
|
|
473
589
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-security_center_management-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
120
120
|
requirements:
|
|
121
121
|
- - ">="
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: '3.
|
|
123
|
+
version: '3.2'
|
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
requirements:
|
|
126
126
|
- - ">="
|