google-cloud-workload_manager-v1 0.2.1 → 0.3.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: 34016c3063f6fff185794ec2adc86ea4a5d399da6a0d5e0c772f5dc60c78944a
|
|
4
|
+
data.tar.gz: 24181e7091ff71a676520566528c97483e85893aad2e9740c0ec69b9b756a0ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 826936dfa37fc0719939f89cbad8b8df9228cdd2e32d25e07c921f021e9ef643782d7d0f22dc89b8c62f3e365778eb35a1e6f5d453e45cbdc0ff6f2317e26e9f
|
|
7
|
+
data.tar.gz: d753ad48f30d8ad67ee47217c4066c339acc6ab1b88c353bfb1dc1c4607e848072fdc270a927882fe07853676baa0736c593d9d65a9153524f524ab57ab22832
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations.
|
|
4
4
|
|
|
5
|
-
Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
@@ -14,7 +14,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
14
14
|
require 'google/protobuf/timestamp_pb'
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
descriptor_data = "\n-google/cloud/workloadmanager/v1/service.proto\x12\x1fgoogle.cloud.workloadmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd0\x07\n\nEvaluation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12H\n\x0fresource_filter\x18\x03 \x01(\x0b\x32/.google.cloud.workloadmanager.v1.ResourceFilter\x12\x12\n\nrule_names\x18\x04 \x03(\t\x12M\n\x0fresource_status\x18\x06 \x01(\x0b\x32/.google.cloud.workloadmanager.v1.ResourceStatusB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x06labels\x18\t \x03(\x0b\x32\x37.google.cloud.workloadmanager.v1.Evaluation.LabelsEntry\x12\x15\n\x08schedule\x18\n \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x13\x63ustom_rules_bucket\x18\x0b \x01(\t\x12S\n\x0f\x65valuation_type\x18\x0c \x01(\x0e\x32:.google.cloud.workloadmanager.v1.Evaluation.EvaluationType\x12X\n\x15\x62ig_query_destination\x18\r \x01(\x0b\x32\x34.google.cloud.workloadmanager.v1.BigQueryDestinationB\x03\xe0\x41\x01\x12:\n\x07kms_key\x18\x0f \x01(\tB)\xe0\x41\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"U\n\x0e\x45valuationType\x12\x1f\n\x1b\x45VALUATION_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SAP\x10\x01\x12\x0e\n\nSQL_SERVER\x10\x02\x12\t\n\x05OTHER\x10\x03:\x8a\x01\xea\x41\x86\x01\n)workloadmanager.googleapis.com/Evaluation\x12@projects/{project}/locations/{location}/evaluations/{evaluation}*\x0b\x65valuations2\nevaluationB\x0b\n\t_schedule\"\xa7\x02\n\x0eResourceFilter\x12\x0e\n\x06scopes\x18\x01 \x03(\t\x12\x1c\n\x14resource_id_patterns\x18\x02 \x03(\t\x12^\n\x10inclusion_labels\x18\x03 \x03(\x0b\x32\x44.google.cloud.workloadmanager.v1.ResourceFilter.InclusionLabelsEntry\x12O\n\x13gce_instance_filter\x18\x04 \x01(\x0b\x32\x32.google.cloud.workloadmanager.v1.GceInstanceFilter\x1a\x36\n\x14InclusionLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x11GceInstanceFilter\x12\x18\n\x10service_accounts\x18\x04 \x03(\t\"\x9e\x01\n\x0eResourceStatus\x12\x44\n\x05state\x18\x02 \x01(\x0e\x32\x35.google.cloud.workloadmanager.v1.ResourceStatus.State\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"^\n\x13\x42igQueryDestination\x12 \n\x13\x64\x65stination_dataset\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x63reate_new_results_table\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xa4\x01\n\x16ListEvaluationsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)workloadmanager.googleapis.com/Evaluation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x89\x01\n\x17ListEvaluationsResponse\x12@\n\x0b\x65valuations\x18\x01 \x03(\x0b\x32+.google.cloud.workloadmanager.v1.Evaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x14GetEvaluationRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)workloadmanager.googleapis.com/Evaluation\"\xd7\x01\n\x17\x43reateEvaluationRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)workloadmanager.googleapis.com/Evaluation\x12\x1a\n\revaluation_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\nevaluation\x18\x03 \x01(\x0b\x32+.google.cloud.workloadmanager.v1.EvaluationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xae\x01\n\x17UpdateEvaluationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x44\n\nevaluation\x18\x02 \x01(\x0b\x32+.google.cloud.workloadmanager.v1.EvaluationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n\x17\x44\x65leteEvaluationRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)workloadmanager.googleapis.com/Evaluation\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xa5\x0c\n\tExecution\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x37\n\x0einventory_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\x05 \x01(\x0e\x32\x30.google.cloud.workloadmanager.v1.Execution.StateB\x03\xe0\x41\x03\x12\x1a\n\revaluation_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x07 \x03(\x0b\x32\x36.google.cloud.workloadmanager.v1.Execution.LabelsEntry\x12\x41\n\x08run_type\x18\x08 \x01(\x0e\x32/.google.cloud.workloadmanager.v1.Execution.Type\x12O\n\x0crule_results\x18\t \x03(\x0b\x32\x34.google.cloud.workloadmanager.v1.RuleExecutionResultB\x03\xe0\x41\x03\x12\x62\n\x15\x65xternal_data_sources\x18\n \x03(\x0b\x32>.google.cloud.workloadmanager.v1.Execution.ExternalDataSourcesB\x03\xe0\x41\x01\x12G\n\x07notices\x18\x0b \x03(\x0b\x32\x31.google.cloud.workloadmanager.v1.Execution.NoticeB\x03\xe0\x41\x03\x12\x46\n\x06\x65ngine\x18\x0c \x01(\x0e\x32\x31.google.cloud.workloadmanager.v1.Execution.EngineB\x03\xe0\x41\x01\x12O\n\x0eresult_summary\x18\r \x01(\x0b\x32\x32.google.cloud.workloadmanager.v1.Execution.SummaryB\x03\xe0\x41\x03\x1a\xde\x01\n\x13\x45xternalDataSources\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12V\n\x04type\x18\x03 \x01(\x0e\x32\x43.google.cloud.workloadmanager.v1.Execution.ExternalDataSources.TypeB\x03\xe0\x41\x02\x12\x17\n\nasset_type\x18\x04 \x01(\tB\x03\xe0\x41\x02\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x42IG_QUERY_TABLE\x10\x01\x1a\x1e\n\x06Notice\x12\x14\n\x07message\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1aS\n\x07Summary\x12\x15\n\x08\x66\x61ilures\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0cnew_failures\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tnew_fixes\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"9\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_TIME\x10\x01\x12\r\n\tSCHEDULED\x10\x02\"<\n\x06\x45ngine\x12\x16\n\x12\x45NGINE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45NGINE_SCANNER\x10\x01\x12\x06\n\x02V2\x10\x02:\x9e\x01\xea\x41\x9a\x01\n(workloadmanager.googleapis.com/Execution\x12Wprojects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}*\nexecutions2\texecution\"\x93\x02\n\x13RuleExecutionResult\x12\x0c\n\x04rule\x18\x01 \x01(\t\x12N\n\x05state\x18\x02 \x01(\x0e\x32:.google.cloud.workloadmanager.v1.RuleExecutionResult.StateB\x03\xe0\x41\x03\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x14\n\x0cresult_count\x18\x04 \x01(\x03\x12\x1e\n\x16scanned_resource_count\x18\x05 \x01(\x03\"W\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_SUCCESS\x10\x01\x12\x11\n\rSTATE_FAILURE\x10\x02\x12\x11\n\rSTATE_SKIPPED\x10\x03\"\xa2\x01\n\x15ListExecutionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(workloadmanager.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x86\x01\n\x16ListExecutionsResponse\x12>\n\nexecutions\x18\x01 \x03(\x0b\x32*.google.cloud.workloadmanager.v1.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"U\n\x13GetExecutionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(workloadmanager.googleapis.com/Execution\"\xcf\x01\n\x14RunEvaluationRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)workloadmanager.googleapis.com/Evaluation\x12\x19\n\x0c\x65xecution_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\texecution\x18\x03 \x01(\x0b\x32*.google.cloud.workloadmanager.v1.ExecutionB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"q\n\x16\x44\x65leteExecutionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(workloadmanager.googleapis.com/Execution\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"i\n\x1bListExecutionResultsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x84\x01\n\x1cListExecutionResultsResponse\x12K\n\x11\x65xecution_results\x18\x01 \x03(\x0b\x32\x30.google.cloud.workloadmanager.v1.ExecutionResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdf\x03\n\x0f\x45xecutionResult\x12\x19\n\x11violation_message\x18\x01 \x01(\t\x12\x10\n\x08severity\x18\x02 \x01(\t\x12\x36\n\x04rule\x18\x03 \x01(\tB(\xfa\x41%\n#workloadmanager.googleapis.com/Rule\x12\x19\n\x11\x64ocumentation_url\x18\x04 \x01(\t\x12;\n\x08resource\x18\x05 \x01(\x0b\x32).google.cloud.workloadmanager.v1.Resource\x12L\n\x11violation_details\x18\x06 \x01(\x0b\x32\x31.google.cloud.workloadmanager.v1.ViolationDetails\x12:\n\x08\x63ommands\x18\x07 \x03(\x0b\x32(.google.cloud.workloadmanager.v1.Command\x12\x43\n\x04type\x18\x08 \x01(\x0e\x32\x35.google.cloud.workloadmanager.v1.ExecutionResult.Type\"@\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTYPE_PASSED\x10\x01\x12\x11\n\rTYPE_VIOLATED\x10\x02\"\xa9\x01\n\x07\x43ommand\x12\x46\n\ragent_command\x18\x01 \x01(\x0b\x32-.google.cloud.workloadmanager.v1.AgentCommandH\x00\x12\x46\n\rshell_command\x18\x02 \x01(\x0b\x32-.google.cloud.workloadmanager.v1.ShellCommandH\x00\x42\x0e\n\x0c\x63ommand_type\"\xa5\x01\n\x0c\x41gentCommand\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\x12Q\n\nparameters\x18\x02 \x03(\x0b\x32=.google.cloud.workloadmanager.v1.AgentCommand.ParametersEntry\x1a\x31\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x0cShellCommand\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x02 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x03 \x01(\x05\"\xa2\x01\n\nRuleOutput\x12N\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32\x38.google.cloud.workloadmanager.v1.RuleOutput.DetailsEntryB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x85\x02\n\x10ViolationDetails\x12\r\n\x05\x61sset\x18\x01 \x01(\t\x12\x17\n\x0fservice_account\x18\x02 \x01(\t\x12Q\n\x08observed\x18\x03 \x03(\x0b\x32?.google.cloud.workloadmanager.v1.ViolationDetails.ObservedEntry\x12\x45\n\x0brule_output\x18\x04 \x03(\x0b\x32+.google.cloud.workloadmanager.v1.RuleOutputB\x03\xe0\x41\x03\x1a/\n\rObservedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"?\n\x08Resource\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x17\n\x0fservice_account\x18\x03 \x01(\t\"\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\"\xed\x03\n\x04Rule\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x10\n\x08severity\x18\x05 \x01(\t\x12\x18\n\x10primary_category\x18\x06 \x01(\t\x12\x1a\n\x12secondary_category\x18\x07 \x01(\t\x12\x15\n\rerror_message\x18\x08 \x01(\t\x12\x0b\n\x03uri\x18\t \x01(\t\x12\x13\n\x0bremediation\x18\n \x01(\t\x12\x0c\n\x04tags\x18\x0b \x03(\t\x12\x41\n\trule_type\x18\x0c \x01(\x0e\x32..google.cloud.workloadmanager.v1.Rule.RuleType\x12\x12\n\nasset_type\x18\r \x01(\t\"?\n\x08RuleType\x12\x19\n\x15RULE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x42\x41SELINE\x10\x01\x12\n\n\x06\x43USTOM\x10\x02:k\xea\x41h\n#workloadmanager.googleapis.com/Rule\x12\x34projects/{project}/locations/{location}/rules/{rule}*\x05rules2\x04rule\"\xfd\x01\n\x10ListRulesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#workloadmanager.googleapis.com/Rule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x1b\n\x13\x63ustom_rules_bucket\x18\x05 \x01(\t\x12X\n\x0f\x65valuation_type\x18\x06 \x01(\x0e\x32:.google.cloud.workloadmanager.v1.Evaluation.EvaluationTypeB\x03\xe0\x41\x01\"I\n\x11ListRulesResponse\x12\x34\n\x05rules\x18\x01 \x03(\x0b\x32%.google.cloud.workloadmanager.v1.Rule\"\x89\x01\n\x1bListScannedResourcesRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04rule\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x10\n\x08order_by\x18\x06 \x01(\t\"\x84\x01\n\x1cListScannedResourcesResponse\x12K\n\x11scanned_resources\x18\x01 \x03(\x0b\x32\x30.google.cloud.workloadmanager.v1.ScannedResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"1\n\x0fScannedResource\x12\x10\n\x08resource\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t2\xb5\x15\n\x0fWorkloadManager\x12\xc6\x01\n\x0fListEvaluations\x12\x37.google.cloud.workloadmanager.v1.ListEvaluationsRequest\x1a\x38.google.cloud.workloadmanager.v1.ListEvaluationsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/evaluations\x12\xb3\x01\n\rGetEvaluation\x12\x35.google.cloud.workloadmanager.v1.GetEvaluationRequest\x1a+.google.cloud.workloadmanager.v1.Evaluation\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/evaluations/*}\x12\xf5\x01\n\x10\x43reateEvaluation\x12\x38.google.cloud.workloadmanager.v1.CreateEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nEvaluation\x12\x11OperationMetadata\xda\x41\x1fparent,evaluation,evaluation_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/evaluations:\nevaluation\x12\xf7\x01\n\x10UpdateEvaluation\x12\x38.google.cloud.workloadmanager.v1.UpdateEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nEvaluation\x12\x11OperationMetadata\xda\x41\x16\x65valuation,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{evaluation.name=projects/*/locations/*/evaluations/*}:\nevaluation\x12\xd8\x01\n\x10\x44\x65leteEvaluation\x12\x38.google.cloud.workloadmanager.v1.DeleteEvaluationRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/evaluations/*}\x12\xd0\x01\n\x0eListExecutions\x12\x36.google.cloud.workloadmanager.v1.ListExecutionsRequest\x1a\x37.google.cloud.workloadmanager.v1.ListExecutionsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/evaluations/*}/executions\x12\xbd\x01\n\x0cGetExecution\x12\x34.google.cloud.workloadmanager.v1.GetExecutionRequest\x1a*.google.cloud.workloadmanager.v1.Execution\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/evaluations/*/executions/*}\x12\xf0\x01\n\rRunEvaluation\x12\x35.google.cloud.workloadmanager.v1.RunEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1e\n\tExecution\x12\x11OperationMetadata\xda\x41\x1bname,execution,execution_id\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/evaluations/*}/executions:run:\x01*\x12\xe3\x01\n\x0f\x44\x65leteExecution\x12\x37.google.cloud.workloadmanager.v1.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/evaluations/*/executions/*}\x12\xec\x01\n\x14ListExecutionResults\x12<.google.cloud.workloadmanager.v1.ListExecutionResultsRequest\x1a=.google.cloud.workloadmanager.v1.ListExecutionResultsResponse\"W\xda\x41\x06parent\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/evaluations/*/executions/*}/results\x12\xae\x01\n\tListRules\x12\x31.google.cloud.workloadmanager.v1.ListRulesRequest\x1a\x32.google.cloud.workloadmanager.v1.ListRulesResponse\":\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=projects/*/locations/*}/rules\x12\xf5\x01\n\x14ListScannedResources\x12<.google.cloud.workloadmanager.v1.ListScannedResourcesRequest\x1a=.google.cloud.workloadmanager.v1.ListScannedResourcesResponse\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\x12O/v1/{parent=projects/*/locations/*/evaluations/*/executions/*}/scannedResources\x1aR\xca\x41\x1eworkloadmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf7\x02\n#com.google.cloud.workloadmanager.v1B\x1bWorkloadManagerServiceProtoP\x01ZMcloud.google.com/go/workloadmanager/apiv1/workloadmanagerpb;workloadmanagerpb\xaa\x02\x1fGoogle.Cloud.WorkloadManager.V1\xca\x02\x1fGoogle\\Cloud\\WorkloadManager\\V1\xea\x02\"Google::Cloud::WorkloadManager::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
|
17
|
+
descriptor_data = "\n-google/cloud/workloadmanager/v1/service.proto\x12\x1fgoogle.cloud.workloadmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd5\x07\n\nEvaluation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12H\n\x0fresource_filter\x18\x03 \x01(\x0b\x32/.google.cloud.workloadmanager.v1.ResourceFilter\x12\x12\n\nrule_names\x18\x04 \x03(\t\x12N\n\x0fresource_status\x18\x06 \x01(\x0b\x32/.google.cloud.workloadmanager.v1.ResourceStatusB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12G\n\x06labels\x18\t \x03(\x0b\x32\x37.google.cloud.workloadmanager.v1.Evaluation.LabelsEntry\x12\x15\n\x08schedule\x18\n \x01(\tH\x00\x88\x01\x01\x12\x1b\n\x13\x63ustom_rules_bucket\x18\x0b \x01(\t\x12S\n\x0f\x65valuation_type\x18\x0c \x01(\x0e\x32:.google.cloud.workloadmanager.v1.Evaluation.EvaluationType\x12Y\n\x15\x62ig_query_destination\x18\r \x01(\x0b\x32\x34.google.cloud.workloadmanager.v1.BigQueryDestinationB\x04\xe2\x41\x01\x01\x12;\n\x07kms_key\x18\x0f \x01(\tB*\xe2\x41\x01\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"U\n\x0e\x45valuationType\x12\x1f\n\x1b\x45VALUATION_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SAP\x10\x01\x12\x0e\n\nSQL_SERVER\x10\x02\x12\t\n\x05OTHER\x10\x03:\x8a\x01\xea\x41\x86\x01\n)workloadmanager.googleapis.com/Evaluation\x12@projects/{project}/locations/{location}/evaluations/{evaluation}*\x0b\x65valuations2\nevaluationB\x0b\n\t_schedule\"\xa7\x02\n\x0eResourceFilter\x12\x0e\n\x06scopes\x18\x01 \x03(\t\x12\x1c\n\x14resource_id_patterns\x18\x02 \x03(\t\x12^\n\x10inclusion_labels\x18\x03 \x03(\x0b\x32\x44.google.cloud.workloadmanager.v1.ResourceFilter.InclusionLabelsEntry\x12O\n\x13gce_instance_filter\x18\x04 \x01(\x0b\x32\x32.google.cloud.workloadmanager.v1.GceInstanceFilter\x1a\x36\n\x14InclusionLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x11GceInstanceFilter\x12\x18\n\x10service_accounts\x18\x04 \x03(\t\"\x9e\x01\n\x0eResourceStatus\x12\x44\n\x05state\x18\x02 \x01(\x0e\x32\x35.google.cloud.workloadmanager.v1.ResourceStatus.State\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"`\n\x13\x42igQueryDestination\x12!\n\x13\x64\x65stination_dataset\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12&\n\x18\x63reate_new_results_table\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xa5\x01\n\x16ListEvaluationsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\x12)workloadmanager.googleapis.com/Evaluation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x89\x01\n\x17ListEvaluationsResponse\x12@\n\x0b\x65valuations\x18\x01 \x03(\x0b\x32+.google.cloud.workloadmanager.v1.Evaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x14GetEvaluationRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)workloadmanager.googleapis.com/Evaluation\"\xdb\x01\n\x17\x43reateEvaluationRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\x12)workloadmanager.googleapis.com/Evaluation\x12\x1b\n\revaluation_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x45\n\nevaluation\x18\x03 \x01(\x0b\x32+.google.cloud.workloadmanager.v1.EvaluationB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xb1\x01\n\x17UpdateEvaluationRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x45\n\nevaluation\x18\x02 \x01(\x0b\x32+.google.cloud.workloadmanager.v1.EvaluationB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\x8a\x01\n\x17\x44\x65leteEvaluationRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)workloadmanager.googleapis.com/Evaluation\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05\x66orce\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xb7\x0c\n\tExecution\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x38\n\x0einventory_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x45\n\x05state\x18\x05 \x01(\x0e\x32\x30.google.cloud.workloadmanager.v1.Execution.StateB\x04\xe2\x41\x01\x03\x12\x1b\n\revaluation_id\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12\x46\n\x06labels\x18\x07 \x03(\x0b\x32\x36.google.cloud.workloadmanager.v1.Execution.LabelsEntry\x12\x41\n\x08run_type\x18\x08 \x01(\x0e\x32/.google.cloud.workloadmanager.v1.Execution.Type\x12P\n\x0crule_results\x18\t \x03(\x0b\x32\x34.google.cloud.workloadmanager.v1.RuleExecutionResultB\x04\xe2\x41\x01\x03\x12\x63\n\x15\x65xternal_data_sources\x18\n \x03(\x0b\x32>.google.cloud.workloadmanager.v1.Execution.ExternalDataSourcesB\x04\xe2\x41\x01\x01\x12H\n\x07notices\x18\x0b \x03(\x0b\x32\x31.google.cloud.workloadmanager.v1.Execution.NoticeB\x04\xe2\x41\x01\x03\x12G\n\x06\x65ngine\x18\x0c \x01(\x0e\x32\x31.google.cloud.workloadmanager.v1.Execution.EngineB\x04\xe2\x41\x01\x01\x12P\n\x0eresult_summary\x18\r \x01(\x0b\x32\x32.google.cloud.workloadmanager.v1.Execution.SummaryB\x04\xe2\x41\x01\x03\x1a\xe2\x01\n\x13\x45xternalDataSources\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x11\n\x03uri\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12W\n\x04type\x18\x03 \x01(\x0e\x32\x43.google.cloud.workloadmanager.v1.Execution.ExternalDataSources.TypeB\x04\xe2\x41\x01\x02\x12\x18\n\nasset_type\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x42IG_QUERY_TABLE\x10\x01\x1a\x1f\n\x06Notice\x12\x15\n\x07message\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x1aV\n\x07Summary\x12\x16\n\x08\x66\x61ilures\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x1a\n\x0cnew_failures\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12\x17\n\tnew_fixes\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"9\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_TIME\x10\x01\x12\r\n\tSCHEDULED\x10\x02\"<\n\x06\x45ngine\x12\x16\n\x12\x45NGINE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45NGINE_SCANNER\x10\x01\x12\x06\n\x02V2\x10\x02:\x9e\x01\xea\x41\x9a\x01\n(workloadmanager.googleapis.com/Execution\x12Wprojects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}*\nexecutions2\texecution\"\x94\x02\n\x13RuleExecutionResult\x12\x0c\n\x04rule\x18\x01 \x01(\t\x12O\n\x05state\x18\x02 \x01(\x0e\x32:.google.cloud.workloadmanager.v1.RuleExecutionResult.StateB\x04\xe2\x41\x01\x03\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x14\n\x0cresult_count\x18\x04 \x01(\x03\x12\x1e\n\x16scanned_resource_count\x18\x05 \x01(\x03\"W\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_SUCCESS\x10\x01\x12\x11\n\rSTATE_FAILURE\x10\x02\x12\x11\n\rSTATE_SKIPPED\x10\x03\"\xa3\x01\n\x15ListExecutionsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\x12(workloadmanager.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x86\x01\n\x16ListExecutionsResponse\x12>\n\nexecutions\x18\x01 \x03(\x0b\x32*.google.cloud.workloadmanager.v1.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"V\n\x13GetExecutionRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(workloadmanager.googleapis.com/Execution\"\xd3\x01\n\x14RunEvaluationRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)workloadmanager.googleapis.com/Evaluation\x12\x1a\n\x0c\x65xecution_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x43\n\texecution\x18\x03 \x01(\x0b\x32*.google.cloud.workloadmanager.v1.ExecutionB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"s\n\x16\x44\x65leteExecutionRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(workloadmanager.googleapis.com/Execution\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"j\n\x1bListExecutionResultsRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x84\x01\n\x1cListExecutionResultsResponse\x12K\n\x11\x65xecution_results\x18\x01 \x03(\x0b\x32\x30.google.cloud.workloadmanager.v1.ExecutionResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdf\x03\n\x0f\x45xecutionResult\x12\x19\n\x11violation_message\x18\x01 \x01(\t\x12\x10\n\x08severity\x18\x02 \x01(\t\x12\x36\n\x04rule\x18\x03 \x01(\tB(\xfa\x41%\n#workloadmanager.googleapis.com/Rule\x12\x19\n\x11\x64ocumentation_url\x18\x04 \x01(\t\x12;\n\x08resource\x18\x05 \x01(\x0b\x32).google.cloud.workloadmanager.v1.Resource\x12L\n\x11violation_details\x18\x06 \x01(\x0b\x32\x31.google.cloud.workloadmanager.v1.ViolationDetails\x12:\n\x08\x63ommands\x18\x07 \x03(\x0b\x32(.google.cloud.workloadmanager.v1.Command\x12\x43\n\x04type\x18\x08 \x01(\x0e\x32\x35.google.cloud.workloadmanager.v1.ExecutionResult.Type\"@\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bTYPE_PASSED\x10\x01\x12\x11\n\rTYPE_VIOLATED\x10\x02\"\xa9\x01\n\x07\x43ommand\x12\x46\n\ragent_command\x18\x01 \x01(\x0b\x32-.google.cloud.workloadmanager.v1.AgentCommandH\x00\x12\x46\n\rshell_command\x18\x02 \x01(\x0b\x32-.google.cloud.workloadmanager.v1.ShellCommandH\x00\x42\x0e\n\x0c\x63ommand_type\"\xa5\x01\n\x0c\x41gentCommand\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\x12Q\n\nparameters\x18\x02 \x03(\x0b\x32=.google.cloud.workloadmanager.v1.AgentCommand.ParametersEntry\x1a\x31\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x0cShellCommand\x12\x0f\n\x07\x63ommand\x18\x01 \x01(\t\x12\x0c\n\x04\x61rgs\x18\x02 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x03 \x01(\x05\"\xa4\x01\n\nRuleOutput\x12O\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32\x38.google.cloud.workloadmanager.v1.RuleOutput.DetailsEntryB\x04\xe2\x41\x01\x03\x12\x15\n\x07message\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x86\x02\n\x10ViolationDetails\x12\r\n\x05\x61sset\x18\x01 \x01(\t\x12\x17\n\x0fservice_account\x18\x02 \x01(\t\x12Q\n\x08observed\x18\x03 \x03(\x0b\x32?.google.cloud.workloadmanager.v1.ViolationDetails.ObservedEntry\x12\x46\n\x0brule_output\x18\x04 \x03(\x0b\x32+.google.cloud.workloadmanager.v1.RuleOutputB\x04\xe2\x41\x01\x03\x1a/\n\rObservedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"?\n\x08Resource\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x17\n\x0fservice_account\x18\x03 \x01(\t\"\x87\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\"\xee\x03\n\x04Rule\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0brevision_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x10\n\x08severity\x18\x05 \x01(\t\x12\x18\n\x10primary_category\x18\x06 \x01(\t\x12\x1a\n\x12secondary_category\x18\x07 \x01(\t\x12\x15\n\rerror_message\x18\x08 \x01(\t\x12\x0b\n\x03uri\x18\t \x01(\t\x12\x13\n\x0bremediation\x18\n \x01(\t\x12\x0c\n\x04tags\x18\x0b \x03(\t\x12\x41\n\trule_type\x18\x0c \x01(\x0e\x32..google.cloud.workloadmanager.v1.Rule.RuleType\x12\x12\n\nasset_type\x18\r \x01(\t\"?\n\x08RuleType\x12\x19\n\x15RULE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x42\x41SELINE\x10\x01\x12\n\n\x06\x43USTOM\x10\x02:k\xea\x41h\n#workloadmanager.googleapis.com/Rule\x12\x34projects/{project}/locations/{location}/rules/{rule}*\x05rules2\x04rule\"\xff\x01\n\x10ListRulesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\x12#workloadmanager.googleapis.com/Rule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x1b\n\x13\x63ustom_rules_bucket\x18\x05 \x01(\t\x12Y\n\x0f\x65valuation_type\x18\x06 \x01(\x0e\x32:.google.cloud.workloadmanager.v1.Evaluation.EvaluationTypeB\x04\xe2\x41\x01\x01\"I\n\x11ListRulesResponse\x12\x34\n\x05rules\x18\x01 \x03(\x0b\x32%.google.cloud.workloadmanager.v1.Rule\"\x8a\x01\n\x1bListScannedResourcesRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x0c\n\x04rule\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x10\n\x08order_by\x18\x06 \x01(\t\"\x84\x01\n\x1cListScannedResourcesResponse\x12K\n\x11scanned_resources\x18\x01 \x03(\x0b\x32\x30.google.cloud.workloadmanager.v1.ScannedResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"1\n\x0fScannedResource\x12\x10\n\x08resource\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t2\xb5\x15\n\x0fWorkloadManager\x12\xc6\x01\n\x0fListEvaluations\x12\x37.google.cloud.workloadmanager.v1.ListEvaluationsRequest\x1a\x38.google.cloud.workloadmanager.v1.ListEvaluationsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/evaluations\x12\xb3\x01\n\rGetEvaluation\x12\x35.google.cloud.workloadmanager.v1.GetEvaluationRequest\x1a+.google.cloud.workloadmanager.v1.Evaluation\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/evaluations/*}\x12\xf5\x01\n\x10\x43reateEvaluation\x12\x38.google.cloud.workloadmanager.v1.CreateEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nEvaluation\x12\x11OperationMetadata\xda\x41\x1fparent,evaluation,evaluation_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/evaluations:\nevaluation\x12\xf7\x01\n\x10UpdateEvaluation\x12\x38.google.cloud.workloadmanager.v1.UpdateEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nEvaluation\x12\x11OperationMetadata\xda\x41\x16\x65valuation,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{evaluation.name=projects/*/locations/*/evaluations/*}:\nevaluation\x12\xd8\x01\n\x10\x44\x65leteEvaluation\x12\x38.google.cloud.workloadmanager.v1.DeleteEvaluationRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/evaluations/*}\x12\xd0\x01\n\x0eListExecutions\x12\x36.google.cloud.workloadmanager.v1.ListExecutionsRequest\x1a\x37.google.cloud.workloadmanager.v1.ListExecutionsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*/evaluations/*}/executions\x12\xbd\x01\n\x0cGetExecution\x12\x34.google.cloud.workloadmanager.v1.GetExecutionRequest\x1a*.google.cloud.workloadmanager.v1.Execution\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/evaluations/*/executions/*}\x12\xf0\x01\n\rRunEvaluation\x12\x35.google.cloud.workloadmanager.v1.RunEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1e\n\tExecution\x12\x11OperationMetadata\xda\x41\x1bname,execution,execution_id\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/evaluations/*}/executions:run:\x01*\x12\xe3\x01\n\x0f\x44\x65leteExecution\x12\x37.google.cloud.workloadmanager.v1.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/evaluations/*/executions/*}\x12\xec\x01\n\x14ListExecutionResults\x12<.google.cloud.workloadmanager.v1.ListExecutionResultsRequest\x1a=.google.cloud.workloadmanager.v1.ListExecutionResultsResponse\"W\xda\x41\x06parent\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/evaluations/*/executions/*}/results\x12\xae\x01\n\tListRules\x12\x31.google.cloud.workloadmanager.v1.ListRulesRequest\x1a\x32.google.cloud.workloadmanager.v1.ListRulesResponse\":\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=projects/*/locations/*}/rules\x12\xf5\x01\n\x14ListScannedResources\x12<.google.cloud.workloadmanager.v1.ListScannedResourcesRequest\x1a=.google.cloud.workloadmanager.v1.ListScannedResourcesResponse\"`\xda\x41\x06parent\x82\xd3\xe4\x93\x02Q\x12O/v1/{parent=projects/*/locations/*/evaluations/*/executions/*}/scannedResources\x1aR\xca\x41\x1eworkloadmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf7\x02\n#com.google.cloud.workloadmanager.v1B\x1bWorkloadManagerServiceProtoP\x01ZMcloud.google.com/go/workloadmanager/apiv1/workloadmanagerpb;workloadmanagerpb\xaa\x02\x1fGoogle.Cloud.WorkloadManager.V1\xca\x02\x1fGoogle\\Cloud\\WorkloadManager\\V1\xea\x02\"Google::Cloud::WorkloadManager::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
|
18
18
|
|
|
19
19
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
20
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-workload_manager-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|