google-cloud-storage_insights-v1 1.0.1 → 1.2.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.
@@ -353,6 +353,286 @@ module Google
353
353
  end
354
354
  end
355
355
 
356
+ ##
357
+ # Baseline implementation for the list_dataset_configs REST call
358
+ #
359
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::ListDatasetConfigsRequest]
360
+ # A request object representing the call parameters. Required.
361
+ # @param options [::Gapic::CallOptions]
362
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
363
+ #
364
+ # @yield [result, operation] Access the result along with the TransportOperation object
365
+ # @yieldparam result [::Google::Cloud::StorageInsights::V1::ListDatasetConfigsResponse]
366
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
367
+ #
368
+ # @return [::Google::Cloud::StorageInsights::V1::ListDatasetConfigsResponse]
369
+ # A result object deserialized from the server's reply
370
+ def list_dataset_configs request_pb, options = nil
371
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
372
+
373
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_dataset_configs_request request_pb
374
+ query_string_params = if query_string_params.any?
375
+ query_string_params.to_h { |p| p.split "=", 2 }
376
+ else
377
+ {}
378
+ end
379
+
380
+ response = @client_stub.make_http_request(
381
+ verb,
382
+ uri: uri,
383
+ body: body || "",
384
+ params: query_string_params,
385
+ method_name: "list_dataset_configs",
386
+ options: options
387
+ )
388
+ operation = ::Gapic::Rest::TransportOperation.new response
389
+ result = ::Google::Cloud::StorageInsights::V1::ListDatasetConfigsResponse.decode_json response.body, ignore_unknown_fields: true
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
394
+ end
395
+
396
+ ##
397
+ # Baseline implementation for the get_dataset_config REST call
398
+ #
399
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::GetDatasetConfigRequest]
400
+ # A request object representing the call parameters. Required.
401
+ # @param options [::Gapic::CallOptions]
402
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
403
+ #
404
+ # @yield [result, operation] Access the result along with the TransportOperation object
405
+ # @yieldparam result [::Google::Cloud::StorageInsights::V1::DatasetConfig]
406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
407
+ #
408
+ # @return [::Google::Cloud::StorageInsights::V1::DatasetConfig]
409
+ # A result object deserialized from the server's reply
410
+ def get_dataset_config request_pb, options = nil
411
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
412
+
413
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_dataset_config_request request_pb
414
+ query_string_params = if query_string_params.any?
415
+ query_string_params.to_h { |p| p.split "=", 2 }
416
+ else
417
+ {}
418
+ end
419
+
420
+ response = @client_stub.make_http_request(
421
+ verb,
422
+ uri: uri,
423
+ body: body || "",
424
+ params: query_string_params,
425
+ method_name: "get_dataset_config",
426
+ options: options
427
+ )
428
+ operation = ::Gapic::Rest::TransportOperation.new response
429
+ result = ::Google::Cloud::StorageInsights::V1::DatasetConfig.decode_json response.body, ignore_unknown_fields: true
430
+ catch :response do
431
+ yield result, operation if block_given?
432
+ result
433
+ end
434
+ end
435
+
436
+ ##
437
+ # Baseline implementation for the create_dataset_config REST call
438
+ #
439
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::CreateDatasetConfigRequest]
440
+ # A request object representing the call parameters. Required.
441
+ # @param options [::Gapic::CallOptions]
442
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
443
+ #
444
+ # @yield [result, operation] Access the result along with the TransportOperation object
445
+ # @yieldparam result [::Google::Longrunning::Operation]
446
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
447
+ #
448
+ # @return [::Google::Longrunning::Operation]
449
+ # A result object deserialized from the server's reply
450
+ def create_dataset_config request_pb, options = nil
451
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
452
+
453
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_dataset_config_request request_pb
454
+ query_string_params = if query_string_params.any?
455
+ query_string_params.to_h { |p| p.split "=", 2 }
456
+ else
457
+ {}
458
+ end
459
+
460
+ response = @client_stub.make_http_request(
461
+ verb,
462
+ uri: uri,
463
+ body: body || "",
464
+ params: query_string_params,
465
+ method_name: "create_dataset_config",
466
+ options: options
467
+ )
468
+ operation = ::Gapic::Rest::TransportOperation.new response
469
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
470
+ catch :response do
471
+ yield result, operation if block_given?
472
+ result
473
+ end
474
+ end
475
+
476
+ ##
477
+ # Baseline implementation for the update_dataset_config REST call
478
+ #
479
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::UpdateDatasetConfigRequest]
480
+ # A request object representing the call parameters. Required.
481
+ # @param options [::Gapic::CallOptions]
482
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
483
+ #
484
+ # @yield [result, operation] Access the result along with the TransportOperation object
485
+ # @yieldparam result [::Google::Longrunning::Operation]
486
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
487
+ #
488
+ # @return [::Google::Longrunning::Operation]
489
+ # A result object deserialized from the server's reply
490
+ def update_dataset_config request_pb, options = nil
491
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
492
+
493
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_dataset_config_request request_pb
494
+ query_string_params = if query_string_params.any?
495
+ query_string_params.to_h { |p| p.split "=", 2 }
496
+ else
497
+ {}
498
+ end
499
+
500
+ response = @client_stub.make_http_request(
501
+ verb,
502
+ uri: uri,
503
+ body: body || "",
504
+ params: query_string_params,
505
+ method_name: "update_dataset_config",
506
+ options: options
507
+ )
508
+ operation = ::Gapic::Rest::TransportOperation.new response
509
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
510
+ catch :response do
511
+ yield result, operation if block_given?
512
+ result
513
+ end
514
+ end
515
+
516
+ ##
517
+ # Baseline implementation for the delete_dataset_config REST call
518
+ #
519
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::DeleteDatasetConfigRequest]
520
+ # A request object representing the call parameters. Required.
521
+ # @param options [::Gapic::CallOptions]
522
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
523
+ #
524
+ # @yield [result, operation] Access the result along with the TransportOperation object
525
+ # @yieldparam result [::Google::Longrunning::Operation]
526
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
527
+ #
528
+ # @return [::Google::Longrunning::Operation]
529
+ # A result object deserialized from the server's reply
530
+ def delete_dataset_config request_pb, options = nil
531
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
532
+
533
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_dataset_config_request request_pb
534
+ query_string_params = if query_string_params.any?
535
+ query_string_params.to_h { |p| p.split "=", 2 }
536
+ else
537
+ {}
538
+ end
539
+
540
+ response = @client_stub.make_http_request(
541
+ verb,
542
+ uri: uri,
543
+ body: body || "",
544
+ params: query_string_params,
545
+ method_name: "delete_dataset_config",
546
+ options: options
547
+ )
548
+ operation = ::Gapic::Rest::TransportOperation.new response
549
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
550
+ catch :response do
551
+ yield result, operation if block_given?
552
+ result
553
+ end
554
+ end
555
+
556
+ ##
557
+ # Baseline implementation for the link_dataset REST call
558
+ #
559
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::LinkDatasetRequest]
560
+ # A request object representing the call parameters. Required.
561
+ # @param options [::Gapic::CallOptions]
562
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
563
+ #
564
+ # @yield [result, operation] Access the result along with the TransportOperation object
565
+ # @yieldparam result [::Google::Longrunning::Operation]
566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
567
+ #
568
+ # @return [::Google::Longrunning::Operation]
569
+ # A result object deserialized from the server's reply
570
+ def link_dataset request_pb, options = nil
571
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
572
+
573
+ verb, uri, query_string_params, body = ServiceStub.transcode_link_dataset_request request_pb
574
+ query_string_params = if query_string_params.any?
575
+ query_string_params.to_h { |p| p.split "=", 2 }
576
+ else
577
+ {}
578
+ end
579
+
580
+ response = @client_stub.make_http_request(
581
+ verb,
582
+ uri: uri,
583
+ body: body || "",
584
+ params: query_string_params,
585
+ method_name: "link_dataset",
586
+ options: options
587
+ )
588
+ operation = ::Gapic::Rest::TransportOperation.new response
589
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
590
+ catch :response do
591
+ yield result, operation if block_given?
592
+ result
593
+ end
594
+ end
595
+
596
+ ##
597
+ # Baseline implementation for the unlink_dataset REST call
598
+ #
599
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::UnlinkDatasetRequest]
600
+ # A request object representing the call parameters. Required.
601
+ # @param options [::Gapic::CallOptions]
602
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
603
+ #
604
+ # @yield [result, operation] Access the result along with the TransportOperation object
605
+ # @yieldparam result [::Google::Longrunning::Operation]
606
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
607
+ #
608
+ # @return [::Google::Longrunning::Operation]
609
+ # A result object deserialized from the server's reply
610
+ def unlink_dataset request_pb, options = nil
611
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
612
+
613
+ verb, uri, query_string_params, body = ServiceStub.transcode_unlink_dataset_request request_pb
614
+ query_string_params = if query_string_params.any?
615
+ query_string_params.to_h { |p| p.split "=", 2 }
616
+ else
617
+ {}
618
+ end
619
+
620
+ response = @client_stub.make_http_request(
621
+ verb,
622
+ uri: uri,
623
+ body: body || "",
624
+ params: query_string_params,
625
+ method_name: "unlink_dataset",
626
+ options: options
627
+ )
628
+ operation = ::Gapic::Rest::TransportOperation.new response
629
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
630
+ catch :response do
631
+ yield result, operation if block_given?
632
+ result
633
+ end
634
+ end
635
+
356
636
  ##
357
637
  # @private
358
638
  #
@@ -501,6 +781,157 @@ module Google
501
781
  )
502
782
  transcoder.transcode request_pb
503
783
  end
784
+
785
+ ##
786
+ # @private
787
+ #
788
+ # GRPC transcoding helper method for the list_dataset_configs REST call
789
+ #
790
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::ListDatasetConfigsRequest]
791
+ # A request object representing the call parameters. Required.
792
+ # @return [Array(String, [String, nil], Hash{String => String})]
793
+ # Uri, Body, Query string parameters
794
+ def self.transcode_list_dataset_configs_request request_pb
795
+ transcoder = Gapic::Rest::GrpcTranscoder.new
796
+ .with_bindings(
797
+ uri_method: :get,
798
+ uri_template: "/v1/{parent}/datasetConfigs",
799
+ matches: [
800
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
801
+ ]
802
+ )
803
+ transcoder.transcode request_pb
804
+ end
805
+
806
+ ##
807
+ # @private
808
+ #
809
+ # GRPC transcoding helper method for the get_dataset_config REST call
810
+ #
811
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::GetDatasetConfigRequest]
812
+ # A request object representing the call parameters. Required.
813
+ # @return [Array(String, [String, nil], Hash{String => String})]
814
+ # Uri, Body, Query string parameters
815
+ def self.transcode_get_dataset_config_request request_pb
816
+ transcoder = Gapic::Rest::GrpcTranscoder.new
817
+ .with_bindings(
818
+ uri_method: :get,
819
+ uri_template: "/v1/{name}",
820
+ matches: [
821
+ ["name", %r{^projects/[^/]+/locations/[^/]+/datasetConfigs/[^/]+/?$}, false]
822
+ ]
823
+ )
824
+ transcoder.transcode request_pb
825
+ end
826
+
827
+ ##
828
+ # @private
829
+ #
830
+ # GRPC transcoding helper method for the create_dataset_config REST call
831
+ #
832
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::CreateDatasetConfigRequest]
833
+ # A request object representing the call parameters. Required.
834
+ # @return [Array(String, [String, nil], Hash{String => String})]
835
+ # Uri, Body, Query string parameters
836
+ def self.transcode_create_dataset_config_request request_pb
837
+ transcoder = Gapic::Rest::GrpcTranscoder.new
838
+ .with_bindings(
839
+ uri_method: :post,
840
+ uri_template: "/v1/{parent}/datasetConfigs",
841
+ body: "dataset_config",
842
+ matches: [
843
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
844
+ ]
845
+ )
846
+ transcoder.transcode request_pb
847
+ end
848
+
849
+ ##
850
+ # @private
851
+ #
852
+ # GRPC transcoding helper method for the update_dataset_config REST call
853
+ #
854
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::UpdateDatasetConfigRequest]
855
+ # A request object representing the call parameters. Required.
856
+ # @return [Array(String, [String, nil], Hash{String => String})]
857
+ # Uri, Body, Query string parameters
858
+ def self.transcode_update_dataset_config_request request_pb
859
+ transcoder = Gapic::Rest::GrpcTranscoder.new
860
+ .with_bindings(
861
+ uri_method: :patch,
862
+ uri_template: "/v1/{dataset_config.name}",
863
+ body: "dataset_config",
864
+ matches: [
865
+ ["dataset_config.name", %r{^projects/[^/]+/locations/[^/]+/datasetConfigs/[^/]+/?$}, false]
866
+ ]
867
+ )
868
+ transcoder.transcode request_pb
869
+ end
870
+
871
+ ##
872
+ # @private
873
+ #
874
+ # GRPC transcoding helper method for the delete_dataset_config REST call
875
+ #
876
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::DeleteDatasetConfigRequest]
877
+ # A request object representing the call parameters. Required.
878
+ # @return [Array(String, [String, nil], Hash{String => String})]
879
+ # Uri, Body, Query string parameters
880
+ def self.transcode_delete_dataset_config_request request_pb
881
+ transcoder = Gapic::Rest::GrpcTranscoder.new
882
+ .with_bindings(
883
+ uri_method: :delete,
884
+ uri_template: "/v1/{name}",
885
+ matches: [
886
+ ["name", %r{^projects/[^/]+/locations/[^/]+/datasetConfigs/[^/]+/?$}, false]
887
+ ]
888
+ )
889
+ transcoder.transcode request_pb
890
+ end
891
+
892
+ ##
893
+ # @private
894
+ #
895
+ # GRPC transcoding helper method for the link_dataset REST call
896
+ #
897
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::LinkDatasetRequest]
898
+ # A request object representing the call parameters. Required.
899
+ # @return [Array(String, [String, nil], Hash{String => String})]
900
+ # Uri, Body, Query string parameters
901
+ def self.transcode_link_dataset_request request_pb
902
+ transcoder = Gapic::Rest::GrpcTranscoder.new
903
+ .with_bindings(
904
+ uri_method: :post,
905
+ uri_template: "/v1/{name}:linkDataset",
906
+ body: "*",
907
+ matches: [
908
+ ["name", %r{^projects/[^/]+/locations/[^/]+/datasetConfigs/[^/]+/?$}, false]
909
+ ]
910
+ )
911
+ transcoder.transcode request_pb
912
+ end
913
+
914
+ ##
915
+ # @private
916
+ #
917
+ # GRPC transcoding helper method for the unlink_dataset REST call
918
+ #
919
+ # @param request_pb [::Google::Cloud::StorageInsights::V1::UnlinkDatasetRequest]
920
+ # A request object representing the call parameters. Required.
921
+ # @return [Array(String, [String, nil], Hash{String => String})]
922
+ # Uri, Body, Query string parameters
923
+ def self.transcode_unlink_dataset_request request_pb
924
+ transcoder = Gapic::Rest::GrpcTranscoder.new
925
+ .with_bindings(
926
+ uri_method: :post,
927
+ uri_template: "/v1/{name}:unlinkDataset",
928
+ body: "*",
929
+ matches: [
930
+ ["name", %r{^projects/[^/]+/locations/[^/]+/datasetConfigs/[^/]+/?$}, false]
931
+ ]
932
+ )
933
+ transcoder.transcode request_pb
934
+ end
504
935
  end
505
936
  end
506
937
  end
@@ -25,6 +25,7 @@ require "google/cloud/storage_insights/v1/bindings_override"
25
25
 
26
26
  require "google/cloud/storage_insights/v1/storage_insights/credentials"
27
27
  require "google/cloud/storage_insights/v1/storage_insights/paths"
28
+ require "google/cloud/storage_insights/v1/storage_insights/rest/operations"
28
29
  require "google/cloud/storage_insights/v1/storage_insights/rest/client"
29
30
 
30
31
  module Google
@@ -24,6 +24,7 @@ require "google/cloud/storage_insights/v1/version"
24
24
 
25
25
  require "google/cloud/storage_insights/v1/storage_insights/credentials"
26
26
  require "google/cloud/storage_insights/v1/storage_insights/paths"
27
+ require "google/cloud/storage_insights/v1/storage_insights/operations"
27
28
  require "google/cloud/storage_insights/v1/storage_insights/client"
28
29
  require "google/cloud/storage_insights/v1/storage_insights/rest"
29
30
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module StorageInsights
23
23
  module V1
24
- VERSION = "1.0.1"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -8,6 +8,7 @@ require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
10
  require 'google/api/resource_pb'
11
+ require 'google/longrunning/operations_pb'
11
12
  require 'google/protobuf/empty_pb'
12
13
  require 'google/protobuf/field_mask_pb'
13
14
  require 'google/protobuf/timestamp_pb'
@@ -16,7 +17,7 @@ require 'google/type/date_pb'
16
17
  require 'google/type/datetime_pb'
17
18
 
18
19
 
19
- descriptor_data = "\n5google/cloud/storageinsights/v1/storageinsights.proto\x12\x1fgoogle.cloud.storageinsights.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/datetime.proto\"\xa8\x01\n\x18ListReportConfigsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportConfig\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\"\x90\x01\n\x19ListReportConfigsResponse\x12\x45\n\x0ereport_configs\x18\x01 \x03(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x16GetReportConfigRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportConfig\"\xc4\x01\n\x19\x43reateReportConfigRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportConfig\x12I\n\rreport_config\x18\x03 \x01(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n\x19UpdateReportConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12I\n\rreport_config\x18\x02 \x01(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x19\x44\x65leteReportConfigRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportConfig\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xe3\x04\n\x0cReportDetail\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x31\n\rsnapshot_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12report_path_prefix\x18\x08 \x01(\t\x12\x14\n\x0cshards_count\x18\t \x01(\x03\x12\"\n\x06status\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12I\n\x06labels\x18\x05 \x03(\x0b\x32\x39.google.cloud.storageinsights.v1.ReportDetail.LabelsEntry\x12.\n\x0ftarget_datetime\x18\x06 \x01(\x0b\x32\x15.google.type.DateTime\x12M\n\x0ereport_metrics\x18\x07 \x01(\x0b\x32\x35.google.cloud.storageinsights.v1.ReportDetail.Metrics\x1a*\n\x07Metrics\x12\x1f\n\x17processed_records_count\x18\x01 \x01(\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x96\x01\xea\x41\x92\x01\n+storageinsights.googleapis.com/ReportDetail\x12\x63projects/{project}/locations/{location}/reportConfigs/{report_config}/reportDetails/{report_detail}\"\xa8\x01\n\x18ListReportDetailsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportDetail\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\"\x90\x01\n\x19ListReportDetailsResponse\x12\x45\n\x0ereport_details\x18\x01 \x03(\x0b\x32-.google.cloud.storageinsights.v1.ReportDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x16GetReportDetailRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportDetail\"\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\x01\n\x10\x46requencyOptions\x12N\n\tfrequency\x18\x01 \x01(\x0e\x32;.google.cloud.storageinsights.v1.FrequencyOptions.Frequency\x12%\n\nstart_date\x18\x02 \x01(\x0b\x32\x11.google.type.Date\x12#\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x11.google.type.Date\"=\n\tFrequency\x12\x19\n\x15\x46REQUENCY_UNSPECIFIED\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\"R\n\nCSVOptions\x12\x18\n\x10record_separator\x18\x01 \x01(\t\x12\x11\n\tdelimiter\x18\x02 \x01(\t\x12\x17\n\x0fheader_required\x18\x03 \x01(\x08\"\x10\n\x0eParquetOptions\"%\n\x13\x43loudStorageFilters\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\"J\n\x1e\x43loudStorageDestinationOptions\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\"\x90\x02\n\x1bObjectMetadataReportOptions\x12\x17\n\x0fmetadata_fields\x18\x01 \x03(\t\x12O\n\x0fstorage_filters\x18\x02 \x01(\x0b\x32\x34.google.cloud.storageinsights.v1.CloudStorageFiltersH\x00\x12\x66\n\x1bstorage_destination_options\x18\x03 \x01(\x0b\x32?.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsH\x01\x42\x08\n\x06\x66ilterB\x15\n\x13\x64\x65stination_options\"\xf7\x05\n\x0cReportConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x11\x66requency_options\x18\x05 \x01(\x0b\x32\x31.google.cloud.storageinsights.v1.FrequencyOptions\x12\x42\n\x0b\x63sv_options\x18\x06 \x01(\x0b\x32+.google.cloud.storageinsights.v1.CSVOptionsH\x00\x12J\n\x0fparquet_options\x18\x07 \x01(\x0b\x32/.google.cloud.storageinsights.v1.ParquetOptionsH\x00\x12\x66\n\x1eobject_metadata_report_options\x18\x08 \x01(\x0b\x32<.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsH\x01\x12I\n\x06labels\x18\n \x03(\x0b\x32\x39.google.cloud.storageinsights.v1.ReportConfig.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n+storageinsights.googleapis.com/ReportConfig\x12\x45projects/{project}/locations/{location}/reportConfigs/{report_config}B\x0f\n\rreport_formatB\r\n\x0breport_kind2\xa9\x0c\n\x0fStorageInsights\x12\xce\x01\n\x11ListReportConfigs\x12\x39.google.cloud.storageinsights.v1.ListReportConfigsRequest\x1a:.google.cloud.storageinsights.v1.ListReportConfigsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/reportConfigs\x12\xbb\x01\n\x0fGetReportConfig\x12\x37.google.cloud.storageinsights.v1.GetReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/reportConfigs/*}\x12\xe0\x01\n\x12\x43reateReportConfig\x12:.google.cloud.storageinsights.v1.CreateReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"_\xda\x41\x14parent,report_config\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/reportConfigs:\rreport_config\x12\xf3\x01\n\x12UpdateReportConfig\x12:.google.cloud.storageinsights.v1.UpdateReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"r\xda\x41\x19report_config,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{report_config.name=projects/*/locations/*/reportConfigs/*}:\rreport_config\x12\xaa\x01\n\x12\x44\x65leteReportConfig\x12:.google.cloud.storageinsights.v1.DeleteReportConfigRequest\x1a\x16.google.protobuf.Empty\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/reportConfigs/*}\x12\xde\x01\n\x11ListReportDetails\x12\x39.google.cloud.storageinsights.v1.ListReportDetailsRequest\x1a:.google.cloud.storageinsights.v1.ListReportDetailsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/reportConfigs/*}/reportDetails\x12\xcb\x01\n\x0fGetReportDetail\x12\x37.google.cloud.storageinsights.v1.GetReportDetailRequest\x1a-.google.cloud.storageinsights.v1.ReportDetail\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/reportConfigs/*/reportDetails/*}\x1aR\xca\x41\x1estorageinsights.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe8\x01\n#com.google.cloud.storageinsights.v1B\x07V1ProtoP\x01ZMcloud.google.com/go/storageinsights/apiv1/storageinsightspb;storageinsightspb\xaa\x02\x1fGoogle.Cloud.StorageInsights.V1\xca\x02\x1fGoogle\\Cloud\\StorageInsights\\V1\xea\x02\"Google::Cloud::StorageInsights::V1b\x06proto3"
20
+ descriptor_data = "\n5google/cloud/storageinsights/v1/storageinsights.proto\x12\x1fgoogle.cloud.storageinsights.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\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/datetime.proto\"\xa8\x01\n\x18ListReportConfigsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportConfig\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\"\x90\x01\n\x19ListReportConfigsResponse\x12\x45\n\x0ereport_configs\x18\x01 \x03(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x16GetReportConfigRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportConfig\"\xc4\x01\n\x19\x43reateReportConfigRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportConfig\x12I\n\rreport_config\x18\x03 \x01(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n\x19UpdateReportConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12I\n\rreport_config\x18\x02 \x01(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x19\x44\x65leteReportConfigRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportConfig\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xe3\x04\n\x0cReportDetail\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x31\n\rsnapshot_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12report_path_prefix\x18\x08 \x01(\t\x12\x14\n\x0cshards_count\x18\t \x01(\x03\x12\"\n\x06status\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12I\n\x06labels\x18\x05 \x03(\x0b\x32\x39.google.cloud.storageinsights.v1.ReportDetail.LabelsEntry\x12.\n\x0ftarget_datetime\x18\x06 \x01(\x0b\x32\x15.google.type.DateTime\x12M\n\x0ereport_metrics\x18\x07 \x01(\x0b\x32\x35.google.cloud.storageinsights.v1.ReportDetail.Metrics\x1a*\n\x07Metrics\x12\x1f\n\x17processed_records_count\x18\x01 \x01(\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x96\x01\xea\x41\x92\x01\n+storageinsights.googleapis.com/ReportDetail\x12\x63projects/{project}/locations/{location}/reportConfigs/{report_config}/reportDetails/{report_detail}\"\xa8\x01\n\x18ListReportDetailsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportDetail\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\"\x90\x01\n\x19ListReportDetailsResponse\x12\x45\n\x0ereport_details\x18\x01 \x03(\x0b\x32-.google.cloud.storageinsights.v1.ReportDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x16GetReportDetailRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportDetail\"\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\x01\n\x10\x46requencyOptions\x12N\n\tfrequency\x18\x01 \x01(\x0e\x32;.google.cloud.storageinsights.v1.FrequencyOptions.Frequency\x12%\n\nstart_date\x18\x02 \x01(\x0b\x32\x11.google.type.Date\x12#\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x11.google.type.Date\"=\n\tFrequency\x12\x19\n\x15\x46REQUENCY_UNSPECIFIED\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\"R\n\nCSVOptions\x12\x18\n\x10record_separator\x18\x01 \x01(\t\x12\x11\n\tdelimiter\x18\x02 \x01(\t\x12\x17\n\x0fheader_required\x18\x03 \x01(\x08\"\x10\n\x0eParquetOptions\"%\n\x13\x43loudStorageFilters\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\"J\n\x1e\x43loudStorageDestinationOptions\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\"\x90\x02\n\x1bObjectMetadataReportOptions\x12\x17\n\x0fmetadata_fields\x18\x01 \x03(\t\x12O\n\x0fstorage_filters\x18\x02 \x01(\x0b\x32\x34.google.cloud.storageinsights.v1.CloudStorageFiltersH\x00\x12\x66\n\x1bstorage_destination_options\x18\x03 \x01(\x0b\x32?.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsH\x01\x42\x08\n\x06\x66ilterB\x15\n\x13\x64\x65stination_options\"\xf7\x05\n\x0cReportConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x11\x66requency_options\x18\x05 \x01(\x0b\x32\x31.google.cloud.storageinsights.v1.FrequencyOptions\x12\x42\n\x0b\x63sv_options\x18\x06 \x01(\x0b\x32+.google.cloud.storageinsights.v1.CSVOptionsH\x00\x12J\n\x0fparquet_options\x18\x07 \x01(\x0b\x32/.google.cloud.storageinsights.v1.ParquetOptionsH\x00\x12\x66\n\x1eobject_metadata_report_options\x18\x08 \x01(\x0b\x32<.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsH\x01\x12I\n\x06labels\x18\n \x03(\x0b\x32\x39.google.cloud.storageinsights.v1.ReportConfig.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n+storageinsights.googleapis.com/ReportConfig\x12\x45projects/{project}/locations/{location}/reportConfigs/{report_config}B\x0f\n\rreport_formatB\r\n\x0breport_kind\"\xcf\x01\n\x08Identity\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x04type\x18\x02 \x01(\x0e\x32\x36.google.cloud.storageinsights.v1.Identity.IdentityType\"j\n\x0cIdentityType\x12\x1d\n\x19IDENTITY_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18IDENTITY_TYPE_PER_CONFIG\x10\x01\x12\x1d\n\x19IDENTITY_TYPE_PER_PROJECT\x10\x02\"\x9d\x1b\n\rDatasetConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x06labels\x18\x04 \x03(\x0b\x32:.google.cloud.storageinsights.v1.DatasetConfig.LabelsEntry\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13organization_number\x18\x16 \x01(\x03\x42\x03\xe0\x41\x01\x12X\n\x0fsource_projects\x18\x07 \x01(\x0b\x32=.google.cloud.storageinsights.v1.DatasetConfig.SourceProjectsH\x00\x12V\n\x0esource_folders\x18\x18 \x01(\x0b\x32<.google.cloud.storageinsights.v1.DatasetConfig.SourceFoldersH\x00\x12\x1c\n\x12organization_scope\x18\x19 \x01(\x08H\x00\x12(\n\x19\x63loud_storage_object_path\x18\x15 \x01(\tB\x03\xe0\x41\x04H\x00\x12o\n\x1finclude_cloud_storage_locations\x18\x08 \x01(\x0b\x32\x44.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocationsH\x01\x12o\n\x1f\x65xclude_cloud_storage_locations\x18\t \x01(\x0b\x32\x44.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocationsH\x01\x12k\n\x1dinclude_cloud_storage_buckets\x18\n \x01(\x0b\x32\x42.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBucketsH\x02\x12k\n\x1d\x65xclude_cloud_storage_buckets\x18\x0b \x01(\x0b\x32\x42.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBucketsH\x02\x12%\n\x1dinclude_newly_created_buckets\x18\x0c \x01(\x08\x12+\n\x1cskip_verification_and_ingest\x18\x13 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12\x1d\n\x15retention_period_days\x18\x0e \x01(\x05\x12\x41\n\x04link\x18\x0f \x01(\x0b\x32\x33.google.cloud.storageinsights.v1.DatasetConfig.Link\x12;\n\x08identity\x18\x10 \x01(\x0b\x32).google.cloud.storageinsights.v1.Identity\x12\'\n\x06status\x18\x11 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12]\n\x14\x64\x61taset_config_state\x18\x12 \x01(\x0e\x32:.google.cloud.storageinsights.v1.DatasetConfig.ConfigStateB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x14 \x01(\tB\x03\xe0\x41\x01\x1a)\n\x0eSourceProjects\x12\x17\n\x0fproject_numbers\x18\x01 \x03(\x03\x1a,\n\rSourceFolders\x12\x1b\n\x0e\x66older_numbers\x18\x01 \x03(\x03\x42\x03\xe0\x41\x01\x1a*\n\x15\x43loudStorageLocations\x12\x11\n\tlocations\x18\x01 \x03(\t\x1a\xef\x01\n\x13\x43loudStorageBuckets\x12t\n\x15\x63loud_storage_buckets\x18\x01 \x03(\x0b\x32U.google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets.CloudStorageBucket\x1a\x62\n\x12\x43loudStorageBucket\x12\x15\n\x0b\x62ucket_name\x18\x01 \x01(\tH\x00\x12\x1d\n\x13\x62ucket_prefix_regex\x18\x02 \x01(\tH\x00\x42\x16\n\x14\x63loud_storage_bucket\x1a\x31\n\x04Link\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06linked\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x1a\xc3\x02\n\x0c\x42ucketErrors\x12\x1c\n\x0fvalidated_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12$\n\x17permission_denied_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12)\n\x1cpermission_denied_bucket_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x30\n!non_management_hub_entitled_count\x18\x05 \x01(\x03\x42\x05\x18\x01\xe0\x41\x01\x12!\n\x14internal_error_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x34\n\'non_storage_intelligence_entitled_count\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12\x39\n,non_storage_intelligence_entitled_bucket_ids\x18\x08 \x03(\tB\x03\xe0\x41\x01\x1a\xdf\x05\n\rProjectErrors\x12!\n\x0fvalidated_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12)\n\x17outside_org_error_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12(\n\x1boutside_org_project_numbers\x18\x03 \x03(\x03\x42\x03\xe0\x41\x01\x12;\n\'non_management_hub_entitled_error_count\x18\x07 \x01(\x03\x42\x05\x18\x01\xe0\x41\x01H\x03\x88\x01\x01\x12:\n+non_management_hub_entitled_project_numbers\x18\x08 \x03(\x03\x42\x05\x18\x01\xe0\x41\x01\x12?\n-non_storage_intelligence_entitled_error_count\x18\t \x01(\x03\x42\x03\xe0\x41\x01H\x04\x88\x01\x01\x12>\n1non_storage_intelligence_entitled_project_numbers\x18\n \x03(\x03\x42\x03\xe0\x41\x01\x12&\n\x14internal_error_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01H\x05\x88\x01\x01\x12,\n\x1d\x64\x65stination_project_org_error\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12;\n,destination_project_check_has_internal_error\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x42\"\n destination_project_check_resultB\x12\n\x10_validated_countB\x1a\n\x18_outside_org_error_countB*\n(_non_management_hub_entitled_error_countB0\n._non_storage_intelligence_entitled_error_countB\x17\n\x15_internal_error_count\x1a\xd5\x01\n\x1fValidationErrorsBeforeIngestion\x12W\n\rbucket_errors\x18\x01 \x01(\x0b\x32;.google.cloud.storageinsights.v1.DatasetConfig.BucketErrorsB\x03\xe0\x41\x01\x12Y\n\x0eproject_errors\x18\x02 \x01(\x0b\x32<.google.cloud.storageinsights.v1.DatasetConfig.ProjectErrorsB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0b\x43onfigState\x12\x1c\n\x18\x43ONFIG_STATE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43ONFIG_STATE_ACTIVE\x10\x01\x12)\n%CONFIG_STATE_VERIFICATION_IN_PROGRESS\x10\x02\x12\x18\n\x14\x43ONFIG_STATE_CREATED\x10\x03\x12\x1b\n\x17\x43ONFIG_STATE_PROCESSING\x10\x04:z\xea\x41w\n,storageinsights.googleapis.com/DatasetConfig\x12Gprojects/{project}/locations/{location}/datasetConfigs/{dataset_config}B\x10\n\x0esource_optionsB\x19\n\x17\x63loud_storage_locationsB\x17\n\x15\x63loud_storage_buckets\"\xaa\x01\n\x19ListDatasetConfigsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,storageinsights.googleapis.com/DatasetConfig\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\"\x93\x01\n\x1aListDatasetConfigsResponse\x12G\n\x0f\x64\x61taset_configs\x18\x01 \x03(\x0b\x32..google.cloud.storageinsights.v1.DatasetConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"]\n\x17GetDatasetConfigRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,storageinsights.googleapis.com/DatasetConfig\"\xe8\x01\n\x1a\x43reateDatasetConfigRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,storageinsights.googleapis.com/DatasetConfig\x12\x1e\n\x11\x64\x61taset_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0e\x64\x61taset_config\x18\x03 \x01(\x0b\x32..google.cloud.storageinsights.v1.DatasetConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb8\x01\n\x1aUpdateDatasetConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\x0e\x64\x61taset_config\x18\x02 \x01(\x0b\x32..google.cloud.storageinsights.v1.DatasetConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"y\n\x1a\x44\x65leteDatasetConfigRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,storageinsights.googleapis.com/DatasetConfig\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"X\n\x12LinkDatasetRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,storageinsights.googleapis.com/DatasetConfig\"\x15\n\x13LinkDatasetResponse\"Z\n\x14UnlinkDatasetRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,storageinsights.googleapis.com/DatasetConfig\"U\n\x10LocationMetadata\x12\x1f\n\x17report_config_available\x18\x01 \x01(\x08\x12 \n\x18\x64\x61taset_config_available\x18\x02 \x01(\x08\x32\x90\x19\n\x0fStorageInsights\x12\xce\x01\n\x11ListReportConfigs\x12\x39.google.cloud.storageinsights.v1.ListReportConfigsRequest\x1a:.google.cloud.storageinsights.v1.ListReportConfigsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/reportConfigs\x12\xbb\x01\n\x0fGetReportConfig\x12\x37.google.cloud.storageinsights.v1.GetReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/reportConfigs/*}\x12\xe0\x01\n\x12\x43reateReportConfig\x12:.google.cloud.storageinsights.v1.CreateReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"_\xda\x41\x14parent,report_config\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/reportConfigs:\rreport_config\x12\xf3\x01\n\x12UpdateReportConfig\x12:.google.cloud.storageinsights.v1.UpdateReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"r\xda\x41\x19report_config,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{report_config.name=projects/*/locations/*/reportConfigs/*}:\rreport_config\x12\xaa\x01\n\x12\x44\x65leteReportConfig\x12:.google.cloud.storageinsights.v1.DeleteReportConfigRequest\x1a\x16.google.protobuf.Empty\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/reportConfigs/*}\x12\xde\x01\n\x11ListReportDetails\x12\x39.google.cloud.storageinsights.v1.ListReportDetailsRequest\x1a:.google.cloud.storageinsights.v1.ListReportDetailsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/reportConfigs/*}/reportDetails\x12\xcb\x01\n\x0fGetReportDetail\x12\x37.google.cloud.storageinsights.v1.GetReportDetailRequest\x1a-.google.cloud.storageinsights.v1.ReportDetail\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/reportConfigs/*/reportDetails/*}\x12\xd2\x01\n\x12ListDatasetConfigs\x12:.google.cloud.storageinsights.v1.ListDatasetConfigsRequest\x1a;.google.cloud.storageinsights.v1.ListDatasetConfigsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/datasetConfigs\x12\xbf\x01\n\x10GetDatasetConfig\x12\x38.google.cloud.storageinsights.v1.GetDatasetConfigRequest\x1a..google.cloud.storageinsights.v1.DatasetConfig\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/datasetConfigs/*}\x12\x8d\x02\n\x13\x43reateDatasetConfig\x12;.google.cloud.storageinsights.v1.CreateDatasetConfigRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\xca\x41\"\n\rDatasetConfig\x12\x11OperationMetadata\xda\x41\'parent,dataset_config,dataset_config_id\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/datasetConfigs:\x0e\x64\x61taset_config\x12\x8f\x02\n\x13UpdateDatasetConfig\x12;.google.cloud.storageinsights.v1.UpdateDatasetConfigRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41\"\n\rDatasetConfig\x12\x11OperationMetadata\xda\x41\x1a\x64\x61taset_config,update_mask\x82\xd3\xe4\x93\x02S2A/v1/{dataset_config.name=projects/*/locations/*/datasetConfigs/*}:\x0e\x64\x61taset_config\x12\xe1\x01\n\x13\x44\x65leteDatasetConfig\x12;.google.cloud.storageinsights.v1.DeleteDatasetConfigRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/datasetConfigs/*}\x12\xde\x01\n\x0bLinkDataset\x12\x33.google.cloud.storageinsights.v1.LinkDatasetRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41(\n\x13LinkDatasetResponse\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/datasetConfigs/*}:linkDataset:\x01*\x12\xe6\x01\n\rUnlinkDataset\x12\x35.google.cloud.storageinsights.v1.UnlinkDatasetRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/*/datasetConfigs/*}:unlinkDataset:\x01*\x1aR\xca\x41\x1estorageinsights.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe8\x01\n#com.google.cloud.storageinsights.v1B\x07V1ProtoP\x01ZMcloud.google.com/go/storageinsights/apiv1/storageinsightspb;storageinsightspb\xaa\x02\x1fGoogle.Cloud.StorageInsights.V1\xca\x02\x1fGoogle\\Cloud\\StorageInsights\\V1\xea\x02\"Google::Cloud::StorageInsights::V1b\x06proto3"
20
21
 
21
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
23
 
@@ -71,6 +72,29 @@ module Google
71
72
  CloudStorageDestinationOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.CloudStorageDestinationOptions").msgclass
72
73
  ObjectMetadataReportOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.ObjectMetadataReportOptions").msgclass
73
74
  ReportConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.ReportConfig").msgclass
75
+ Identity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.Identity").msgclass
76
+ Identity::IdentityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.Identity.IdentityType").enummodule
77
+ DatasetConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig").msgclass
78
+ DatasetConfig::SourceProjects = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.SourceProjects").msgclass
79
+ DatasetConfig::SourceFolders = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.SourceFolders").msgclass
80
+ DatasetConfig::CloudStorageLocations = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations").msgclass
81
+ DatasetConfig::CloudStorageBuckets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets").msgclass
82
+ DatasetConfig::CloudStorageBuckets::CloudStorageBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets.CloudStorageBucket").msgclass
83
+ DatasetConfig::Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.Link").msgclass
84
+ DatasetConfig::BucketErrors = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.BucketErrors").msgclass
85
+ DatasetConfig::ProjectErrors = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.ProjectErrors").msgclass
86
+ DatasetConfig::ValidationErrorsBeforeIngestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.ValidationErrorsBeforeIngestion").msgclass
87
+ DatasetConfig::ConfigState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DatasetConfig.ConfigState").enummodule
88
+ ListDatasetConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.ListDatasetConfigsRequest").msgclass
89
+ ListDatasetConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.ListDatasetConfigsResponse").msgclass
90
+ GetDatasetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.GetDatasetConfigRequest").msgclass
91
+ CreateDatasetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.CreateDatasetConfigRequest").msgclass
92
+ UpdateDatasetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.UpdateDatasetConfigRequest").msgclass
93
+ DeleteDatasetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.DeleteDatasetConfigRequest").msgclass
94
+ LinkDatasetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.LinkDatasetRequest").msgclass
95
+ LinkDatasetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.LinkDatasetResponse").msgclass
96
+ UnlinkDatasetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.UnlinkDatasetRequest").msgclass
97
+ LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.storageinsights.v1.LocationMetadata").msgclass
74
98
  end
75
99
  end
76
100
  end
@@ -47,6 +47,21 @@ module Google
47
47
  rpc :ListReportDetails, ::Google::Cloud::StorageInsights::V1::ListReportDetailsRequest, ::Google::Cloud::StorageInsights::V1::ListReportDetailsResponse
48
48
  # Gets details of a single ReportDetail.
49
49
  rpc :GetReportDetail, ::Google::Cloud::StorageInsights::V1::GetReportDetailRequest, ::Google::Cloud::StorageInsights::V1::ReportDetail
50
+ # Lists the dataset configurations in a given project for a given location.
51
+ rpc :ListDatasetConfigs, ::Google::Cloud::StorageInsights::V1::ListDatasetConfigsRequest, ::Google::Cloud::StorageInsights::V1::ListDatasetConfigsResponse
52
+ # Gets the dataset configuration in a given project for a given location.
53
+ rpc :GetDatasetConfig, ::Google::Cloud::StorageInsights::V1::GetDatasetConfigRequest, ::Google::Cloud::StorageInsights::V1::DatasetConfig
54
+ # Creates a dataset configuration in a given project for a given location.
55
+ rpc :CreateDatasetConfig, ::Google::Cloud::StorageInsights::V1::CreateDatasetConfigRequest, ::Google::Longrunning::Operation
56
+ # Updates a dataset configuration in a given project for a given location.
57
+ rpc :UpdateDatasetConfig, ::Google::Cloud::StorageInsights::V1::UpdateDatasetConfigRequest, ::Google::Longrunning::Operation
58
+ # Deletes a dataset configuration in a given project for a given location.
59
+ rpc :DeleteDatasetConfig, ::Google::Cloud::StorageInsights::V1::DeleteDatasetConfigRequest, ::Google::Longrunning::Operation
60
+ # Links a dataset to BigQuery in a given project for a given location.
61
+ rpc :LinkDataset, ::Google::Cloud::StorageInsights::V1::LinkDatasetRequest, ::Google::Longrunning::Operation
62
+ # Unlinks a dataset from BigQuery in a given project
63
+ # for a given location.
64
+ rpc :UnlinkDataset, ::Google::Cloud::StorageInsights::V1::UnlinkDatasetRequest, ::Google::Longrunning::Operation
50
65
  end
51
66
 
52
67
  Stub = Service.rpc_stub_class