google-cloud-storage-control-v2 1.12.0 → 1.13.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 +4 -4
- data/lib/google/cloud/storage/control/v2/storage_control/client.rb +578 -29
- data/lib/google/cloud/storage/control/v2/storage_control/paths.rb +19 -0
- data/lib/google/cloud/storage/control/v2/storage_control/rest/client.rb +784 -17
- data/lib/google/cloud/storage/control/v2/storage_control/rest/operations.rb +929 -0
- data/lib/google/cloud/storage/control/v2/storage_control/rest/service_stub.rb +430 -0
- data/lib/google/cloud/storage/control/v2/storage_control/rest.rb +1 -0
- data/lib/google/cloud/storage/control/v2/version.rb +1 -1
- data/lib/google/storage/control/v2/storage_control_pb.rb +13 -1
- data/lib/google/storage/control/v2/storage_control_services_pb.rb +14 -3
- data/proto_docs/google/storage/control/v2/storage_control.rb +314 -44
- metadata +2 -1
|
@@ -380,9 +380,60 @@ module Google
|
|
|
380
380
|
# @!attribute [r] update_time
|
|
381
381
|
# @return [::Google::Protobuf::Timestamp]
|
|
382
382
|
# Output only. The modification time of the managed folder.
|
|
383
|
+
# @!attribute [rw] rapid_cache_config
|
|
384
|
+
# @return [::Google::Cloud::Storage::Control::V2::ManagedFolder::RapidCacheConfig]
|
|
385
|
+
# Rapid Cache configuration for a managed prefix.
|
|
383
386
|
class ManagedFolder
|
|
384
387
|
include ::Google::Protobuf::MessageExts
|
|
385
388
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
389
|
+
|
|
390
|
+
# Rapid Cache configuration for a managed prefix. This configuration is used
|
|
391
|
+
# to determine how the rapid cache behaves for objects under the managed
|
|
392
|
+
# folder.
|
|
393
|
+
# @!attribute [rw] policies
|
|
394
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Storage::Control::V2::ManagedFolder::RapidCacheConfig::RapidCachePolicy}]
|
|
395
|
+
# Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix.
|
|
396
|
+
# Currently, the key rapid_cache_id is the zone. However, the
|
|
397
|
+
# field is generalized as rapid_cache_id to align the policy lifetime
|
|
398
|
+
# with the cache instance lifetime. This allows for a future transition
|
|
399
|
+
# from zone to a cache id if required.
|
|
400
|
+
class RapidCacheConfig
|
|
401
|
+
include ::Google::Protobuf::MessageExts
|
|
402
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
403
|
+
|
|
404
|
+
# Rapid Cache policy for a managed folder.
|
|
405
|
+
# @!attribute [rw] rapid_cache_id
|
|
406
|
+
# @return [::String]
|
|
407
|
+
# Required. The identifier for the rapid cache.
|
|
408
|
+
# @!attribute [rw] ingest_on_write
|
|
409
|
+
# @return [::Google::Cloud::Storage::Control::V2::ManagedFolder::RapidCacheConfig::RapidCachePolicy::IngestOnWrite]
|
|
410
|
+
# Required. If enabled, objects in the Managed Folder will be ingested
|
|
411
|
+
# into the cache when they are written.
|
|
412
|
+
class RapidCachePolicy
|
|
413
|
+
include ::Google::Protobuf::MessageExts
|
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
415
|
+
|
|
416
|
+
# The behavior of the rapid cache when an object is written.
|
|
417
|
+
module IngestOnWrite
|
|
418
|
+
# The behavior is not specified at this resource level.
|
|
419
|
+
# It should be inherited from the parent resource's configuration.
|
|
420
|
+
# This is the default value.
|
|
421
|
+
INGEST_ON_WRITE_UNSPECIFIED = 0
|
|
422
|
+
|
|
423
|
+
# Ingestion on write is explicitly enabled for this resource.
|
|
424
|
+
INGEST_ON_WRITE_ENABLED = 1
|
|
425
|
+
end
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# @!attribute [rw] key
|
|
429
|
+
# @return [::String]
|
|
430
|
+
# @!attribute [rw] value
|
|
431
|
+
# @return [::Google::Cloud::Storage::Control::V2::ManagedFolder::RapidCacheConfig::RapidCachePolicy]
|
|
432
|
+
class PoliciesEntry
|
|
433
|
+
include ::Google::Protobuf::MessageExts
|
|
434
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
435
|
+
end
|
|
436
|
+
end
|
|
386
437
|
end
|
|
387
438
|
|
|
388
439
|
# Request message for GetManagedFolder.
|
|
@@ -498,6 +549,39 @@ module Google
|
|
|
498
549
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
499
550
|
end
|
|
500
551
|
|
|
552
|
+
# Request message for UpdateManagedFolder.
|
|
553
|
+
# @!attribute [rw] managed_folder
|
|
554
|
+
# @return [::Google::Cloud::Storage::Control::V2::ManagedFolder]
|
|
555
|
+
# Required. Properties of the managed folder being updated. Currently, this
|
|
556
|
+
# RPC only supports updating the `rapid_cache_config` field in
|
|
557
|
+
# `managed_folder`.
|
|
558
|
+
# @!attribute [rw] update_mask
|
|
559
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
560
|
+
# Optional. Update mask for managed_folder.
|
|
561
|
+
# Currently, this RPC only supports updating the `rapid_cache_config`
|
|
562
|
+
# field in `managed_folder`. This field also supports update mask for the
|
|
563
|
+
# subfields in the map of `rapid_cache_config`. The user can specify the
|
|
564
|
+
# update mask for `rapid_cache_config.policies` and
|
|
565
|
+
# `rapid_cache_config.policies.<key>`, but patching is not supported for
|
|
566
|
+
# a field within `RapidCachePolicy.policies.<key>`, like
|
|
567
|
+
# rapid_cache_config.policies.[key].ingest_on_write.
|
|
568
|
+
# @!attribute [rw] if_metageneration_match
|
|
569
|
+
# @return [::Integer]
|
|
570
|
+
# Optional. The operation succeeds conditional on the managed folder's
|
|
571
|
+
# current metageneration matching the value here specified.
|
|
572
|
+
# @!attribute [rw] if_metageneration_not_match
|
|
573
|
+
# @return [::Integer]
|
|
574
|
+
# Optional. The operation succeeds conditional on the managed folder's
|
|
575
|
+
# current metageneration NOT matching the value here specified.
|
|
576
|
+
# @!attribute [rw] request_id
|
|
577
|
+
# @return [::String]
|
|
578
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
|
579
|
+
# format, but other formats are still accepted.
|
|
580
|
+
class UpdateManagedFolderRequest
|
|
581
|
+
include ::Google::Protobuf::MessageExts
|
|
582
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
583
|
+
end
|
|
584
|
+
|
|
501
585
|
# Message returned in the metadata field of the Operation resource for
|
|
502
586
|
# CreateAnywhereCache operations.
|
|
503
587
|
# @!attribute [rw] common_metadata
|
|
@@ -520,11 +604,49 @@ module Google
|
|
|
520
604
|
# Anywhere Cache entry Admission Policy in kebab-case (e.g.,
|
|
521
605
|
# "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is
|
|
522
606
|
# applied if not specified in the create request.
|
|
607
|
+
# @!attribute [rw] ingest_on_write
|
|
608
|
+
# @return [::Boolean]
|
|
609
|
+
# Optional. Specifies whether objects are ingested into the cache upon write.
|
|
610
|
+
# Defaults to false.
|
|
523
611
|
class CreateAnywhereCacheMetadata
|
|
524
612
|
include ::Google::Protobuf::MessageExts
|
|
525
613
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
526
614
|
end
|
|
527
615
|
|
|
616
|
+
# Message returned in the metadata field of the Operation resource for
|
|
617
|
+
# CreateRapidCache operations.
|
|
618
|
+
# @!attribute [rw] common_metadata
|
|
619
|
+
# @return [::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata]
|
|
620
|
+
# Generic metadata for the long running operation.
|
|
621
|
+
# @!attribute [rw] rapid_cache_id
|
|
622
|
+
# @return [::String]
|
|
623
|
+
# Rapid Cache ID.
|
|
624
|
+
# @!attribute [rw] zone
|
|
625
|
+
# @return [::String]
|
|
626
|
+
# The zone in which the cache instance is running. For example,
|
|
627
|
+
# us-central1-a.
|
|
628
|
+
# @!attribute [rw] ttl
|
|
629
|
+
# @return [::Google::Protobuf::Duration]
|
|
630
|
+
# Rapid Cache entry's TTL. A cache-level config that is applied to all new
|
|
631
|
+
# cache entries on admission. Default ttl value (24hrs) is applied if not
|
|
632
|
+
# specified in the create request.
|
|
633
|
+
# @!attribute [rw] admission_policy
|
|
634
|
+
# @return [::String]
|
|
635
|
+
# Anywhere Cache entry Admission Policy in kebab-case (e.g.,
|
|
636
|
+
# "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is
|
|
637
|
+
# applied if not specified in the create request.
|
|
638
|
+
# @!attribute [rw] ingest_on_write
|
|
639
|
+
# @return [::Boolean]
|
|
640
|
+
# Optional. Specifies whether objects are ingested into the cache upon write.
|
|
641
|
+
# Defaults to false.
|
|
642
|
+
# @!attribute [rw] cache_type
|
|
643
|
+
# @return [::String]
|
|
644
|
+
# Optional. The type of cache. Either rapid cache or rapid cache ultra.
|
|
645
|
+
class CreateRapidCacheMetadata
|
|
646
|
+
include ::Google::Protobuf::MessageExts
|
|
647
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
648
|
+
end
|
|
649
|
+
|
|
528
650
|
# Message returned in the metadata field of the Operation resource for
|
|
529
651
|
# UpdateAnywhereCache operation.
|
|
530
652
|
# @!attribute [rw] common_metadata
|
|
@@ -544,14 +666,52 @@ module Google
|
|
|
544
666
|
# update, this field equals to the new value specified in the Update request.
|
|
545
667
|
# @!attribute [rw] admission_policy
|
|
546
668
|
# @return [::String]
|
|
547
|
-
#
|
|
669
|
+
# Optional. Anywhere Cache entry Admission Policy in kebab-case (e.g.,
|
|
548
670
|
# "admit-on-first-miss"). If `admission_policy` is pending
|
|
549
671
|
# update, this field equals to the new value specified in the Update request.
|
|
672
|
+
# @!attribute [rw] ingest_on_write
|
|
673
|
+
# @return [::Boolean]
|
|
674
|
+
# Specifies whether objects are ingested into the cache upon write. If not
|
|
675
|
+
# set, it defaults to false.
|
|
550
676
|
class UpdateAnywhereCacheMetadata
|
|
551
677
|
include ::Google::Protobuf::MessageExts
|
|
552
678
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
553
679
|
end
|
|
554
680
|
|
|
681
|
+
# Message returned in the metadata field of the Operation resource for
|
|
682
|
+
# UpdateRapidCache operation.
|
|
683
|
+
# @!attribute [rw] common_metadata
|
|
684
|
+
# @return [::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata]
|
|
685
|
+
# Generic metadata for the long running operation.
|
|
686
|
+
# @!attribute [rw] rapid_cache_id
|
|
687
|
+
# @return [::String]
|
|
688
|
+
# Rapid Cache ID.
|
|
689
|
+
# @!attribute [rw] zone
|
|
690
|
+
# @return [::String]
|
|
691
|
+
# The zone in which the cache instance is running. For example,
|
|
692
|
+
# us-central1-a.
|
|
693
|
+
# @!attribute [rw] ttl
|
|
694
|
+
# @return [::Google::Protobuf::Duration]
|
|
695
|
+
# Rapid Cache entry's TTL between 1h and 7days. A cache-level config that
|
|
696
|
+
# is applied to all new cache entries on admission. If `ttl` is pending
|
|
697
|
+
# update, this field equals to the new value specified in the Update request.
|
|
698
|
+
# @!attribute [rw] admission_policy
|
|
699
|
+
# @return [::String]
|
|
700
|
+
# Optional. Rapid Cache entry Admission Policy in kebab-case (e.g.,
|
|
701
|
+
# "admit-on-first-miss"). If `admission_policy` is pending
|
|
702
|
+
# update, this field equals to the new value specified in the Update request.
|
|
703
|
+
# @!attribute [rw] ingest_on_write
|
|
704
|
+
# @return [::Boolean]
|
|
705
|
+
# Specifies whether objects are ingested into the cache upon write. If not
|
|
706
|
+
# set, it defaults to false.
|
|
707
|
+
# @!attribute [rw] cache_type
|
|
708
|
+
# @return [::String]
|
|
709
|
+
# Optional. The type of cache. Either rapid cache or rapid cache ultra.
|
|
710
|
+
class UpdateRapidCacheMetadata
|
|
711
|
+
include ::Google::Protobuf::MessageExts
|
|
712
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
713
|
+
end
|
|
714
|
+
|
|
555
715
|
# An Anywhere Cache Instance.
|
|
556
716
|
# @!attribute [rw] name
|
|
557
717
|
# @return [::String]
|
|
@@ -576,7 +736,8 @@ module Google
|
|
|
576
736
|
# create request.
|
|
577
737
|
# @!attribute [r] state
|
|
578
738
|
# @return [::String]
|
|
579
|
-
# Output only. Cache state including
|
|
739
|
+
# Output only. Cache state including `running`, `creating`, `disabled` and
|
|
740
|
+
# `paused`.
|
|
580
741
|
# @!attribute [r] create_time
|
|
581
742
|
# @return [::Google::Protobuf::Timestamp]
|
|
582
743
|
# Output only. Time when Anywhere cache instance is allocated.
|
|
@@ -589,6 +750,10 @@ module Google
|
|
|
589
750
|
# Output only. True if there is an active update operation against this cache
|
|
590
751
|
# instance. Subsequential update requests will be rejected if this field is
|
|
591
752
|
# true. Output only.
|
|
753
|
+
# @!attribute [rw] ingest_on_write
|
|
754
|
+
# @return [::Boolean]
|
|
755
|
+
# Optional. Specifies whether objects are ingested into the cache upon write.
|
|
756
|
+
# Defaults to false.
|
|
592
757
|
class AnywhereCache
|
|
593
758
|
include ::Google::Protobuf::MessageExts
|
|
594
759
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -733,6 +898,144 @@ module Google
|
|
|
733
898
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
734
899
|
end
|
|
735
900
|
|
|
901
|
+
# A Rapid Cache Instance.
|
|
902
|
+
# @!attribute [rw] name
|
|
903
|
+
# @return [::String]
|
|
904
|
+
# Immutable. The resource name of this RapidCache.
|
|
905
|
+
# Format:
|
|
906
|
+
# projects/\\{project}/buckets/\\{bucket}/rapidCaches/\\{rapid_cache}
|
|
907
|
+
# @!attribute [rw] zone
|
|
908
|
+
# @return [::String]
|
|
909
|
+
# Immutable. The zone in which the cache instance is running. For example,
|
|
910
|
+
# us-central1-a.
|
|
911
|
+
# @!attribute [rw] cache_type
|
|
912
|
+
# @return [::String]
|
|
913
|
+
# Immutable. The type of Rapid Cache this represents. Valid values include:
|
|
914
|
+
# 'rapid-cache' and 'rapid-cache-ultra'.
|
|
915
|
+
# @!attribute [rw] ttl
|
|
916
|
+
# @return [::Google::Protobuf::Duration]
|
|
917
|
+
# Cache entry TTL (ranges between 1h to 7d). This is a cache-level config
|
|
918
|
+
# that defines how long a cache entry can live. Default ttl value (24hrs)
|
|
919
|
+
# is applied if not specified in the create request. TTL must be in whole
|
|
920
|
+
# seconds.
|
|
921
|
+
# @!attribute [rw] admission_policy
|
|
922
|
+
# @return [::String]
|
|
923
|
+
# Cache admission policy. Valid policies includes:
|
|
924
|
+
# no_read_admission, admit-on-first-miss and admit-on-second-miss. Defaults
|
|
925
|
+
# to admit-on-first-miss for both AC and RCU. Default value is applied if not
|
|
926
|
+
# specified in the create request.
|
|
927
|
+
# @!attribute [r] state
|
|
928
|
+
# @return [::String]
|
|
929
|
+
# Output only. Cache state including running, creating, and disabled.
|
|
930
|
+
# @!attribute [r] create_time
|
|
931
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
932
|
+
# Output only. Time when Rapid cache instance is allocated.
|
|
933
|
+
# @!attribute [r] update_time
|
|
934
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
935
|
+
# Output only. Time when Rapid cache instance is last updated, including
|
|
936
|
+
# creation.
|
|
937
|
+
# @!attribute [r] pending_update
|
|
938
|
+
# @return [::Boolean]
|
|
939
|
+
# Output only. True if there is an active update operation against this cache
|
|
940
|
+
# instance. Subsequential update requests will be rejected if this field is
|
|
941
|
+
# true. Output only.
|
|
942
|
+
class RapidCache
|
|
943
|
+
include ::Google::Protobuf::MessageExts
|
|
944
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
945
|
+
end
|
|
946
|
+
|
|
947
|
+
# Request message for CreateRapidCache.
|
|
948
|
+
# @!attribute [rw] parent
|
|
949
|
+
# @return [::String]
|
|
950
|
+
# Required. The bucket to which this cache belongs.
|
|
951
|
+
# Format: `projects/{project}/buckets/{bucket}`
|
|
952
|
+
# @!attribute [rw] rapid_cache
|
|
953
|
+
# @return [::Google::Cloud::Storage::Control::V2::RapidCache]
|
|
954
|
+
# Required. The RapidCache to create. Default values for ingest_on_write, ttl
|
|
955
|
+
# and admission_policy will be applied if not specified in the request.
|
|
956
|
+
# @!attribute [rw] request_id
|
|
957
|
+
# @return [::String]
|
|
958
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
|
959
|
+
# format, but other formats are still accepted. This request is only
|
|
960
|
+
# idempotent if a `request_id` is provided.
|
|
961
|
+
class CreateRapidCacheRequest
|
|
962
|
+
include ::Google::Protobuf::MessageExts
|
|
963
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
964
|
+
end
|
|
965
|
+
|
|
966
|
+
# Request message for UpdateRapidCache.
|
|
967
|
+
# @!attribute [rw] rapid_cache
|
|
968
|
+
# @return [::Google::Cloud::Storage::Control::V2::RapidCache]
|
|
969
|
+
# Required. The RapidCache to update.
|
|
970
|
+
# @!attribute [rw] update_mask
|
|
971
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
972
|
+
# Required. List of fields to be updated. Mutable fields of RapidCache
|
|
973
|
+
# include `ttl`, `admission_policy` and `ingest_on_write`.
|
|
974
|
+
#
|
|
975
|
+
# To specify ALL fields, specify a single field with the value `*`. Note: We
|
|
976
|
+
# recommend against doing this. If a new field is introduced at a later time,
|
|
977
|
+
# an older client updating with the `*` may accidentally reset the new
|
|
978
|
+
# field's value.
|
|
979
|
+
#
|
|
980
|
+
# Not specifying any fields is an error.
|
|
981
|
+
# @!attribute [rw] request_id
|
|
982
|
+
# @return [::String]
|
|
983
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
|
984
|
+
# format, but other formats are still accepted. This request is only
|
|
985
|
+
# idempotent if a `request_id` is provided.
|
|
986
|
+
class UpdateRapidCacheRequest
|
|
987
|
+
include ::Google::Protobuf::MessageExts
|
|
988
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
# Request message for GetRapidCache.
|
|
992
|
+
# @!attribute [rw] name
|
|
993
|
+
# @return [::String]
|
|
994
|
+
# Required. The name field in the request should be:
|
|
995
|
+
# `projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}`
|
|
996
|
+
# @!attribute [rw] request_id
|
|
997
|
+
# @return [::String]
|
|
998
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
|
999
|
+
# format, but other formats are still accepted.
|
|
1000
|
+
class GetRapidCacheRequest
|
|
1001
|
+
include ::Google::Protobuf::MessageExts
|
|
1002
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1003
|
+
end
|
|
1004
|
+
|
|
1005
|
+
# Request message for ListRapidCaches.
|
|
1006
|
+
# @!attribute [rw] parent
|
|
1007
|
+
# @return [::String]
|
|
1008
|
+
# Required. The bucket to which this cache belongs.
|
|
1009
|
+
# @!attribute [rw] page_size
|
|
1010
|
+
# @return [::Integer]
|
|
1011
|
+
# Maximum number of caches to return in a single response.
|
|
1012
|
+
# The service will use this parameter or 1,000 items, whichever is smaller.
|
|
1013
|
+
# @!attribute [rw] page_token
|
|
1014
|
+
# @return [::String]
|
|
1015
|
+
# A previously-returned page token representing part of the larger set of
|
|
1016
|
+
# results to view.
|
|
1017
|
+
# @!attribute [rw] request_id
|
|
1018
|
+
# @return [::String]
|
|
1019
|
+
# Optional. A unique identifier for this request. UUID is the recommended
|
|
1020
|
+
# format, but other formats are still accepted.
|
|
1021
|
+
class ListRapidCachesRequest
|
|
1022
|
+
include ::Google::Protobuf::MessageExts
|
|
1023
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1024
|
+
end
|
|
1025
|
+
|
|
1026
|
+
# Response message for ListRapidCaches.
|
|
1027
|
+
# @!attribute [rw] rapid_caches
|
|
1028
|
+
# @return [::Array<::Google::Cloud::Storage::Control::V2::RapidCache>]
|
|
1029
|
+
# The list of rapid caches.
|
|
1030
|
+
# @!attribute [rw] next_page_token
|
|
1031
|
+
# @return [::String]
|
|
1032
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
1033
|
+
# If this field is omitted, there are no subsequent pages.
|
|
1034
|
+
class ListRapidCachesResponse
|
|
1035
|
+
include ::Google::Protobuf::MessageExts
|
|
1036
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1037
|
+
end
|
|
1038
|
+
|
|
736
1039
|
# The `IntelligenceConfig` resource associated with your organization, folder,
|
|
737
1040
|
# or project.
|
|
738
1041
|
# @!attribute [rw] name
|
|
@@ -863,7 +1166,7 @@ module Google
|
|
|
863
1166
|
# signifies the edition used for configuring the `IntelligenceConfig`
|
|
864
1167
|
# resource and can only take the following values:
|
|
865
1168
|
# `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and
|
|
866
|
-
# `
|
|
1169
|
+
# `EVALUATE`.
|
|
867
1170
|
module EditionConfig
|
|
868
1171
|
# This is an unknown edition of the resource.
|
|
869
1172
|
EDITION_CONFIG_UNSPECIFIED = 0
|
|
@@ -885,17 +1188,14 @@ module Google
|
|
|
885
1188
|
# using filters. At the end of the trial period, the `IntelligenceConfig`
|
|
886
1189
|
# resource is upgraded to `STANDARD` edition.
|
|
887
1190
|
TRIAL = 5
|
|
1191
|
+
|
|
1192
|
+
# The `IntelligenceConfig` resource is of ESSENTIALS edition.
|
|
1193
|
+
ESSENTIALS = 6
|
|
888
1194
|
end
|
|
889
1195
|
end
|
|
890
1196
|
|
|
891
1197
|
# Request message to update the `IntelligenceConfig` resource associated with
|
|
892
1198
|
# your organization.
|
|
893
|
-
#
|
|
894
|
-
# **IAM Permissions**:
|
|
895
|
-
#
|
|
896
|
-
# Requires `storage.intelligenceConfigs.update`
|
|
897
|
-
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
|
898
|
-
# the organization.
|
|
899
1199
|
# @!attribute [rw] intelligence_config
|
|
900
1200
|
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
|
901
1201
|
# Required. The `IntelligenceConfig` resource to be updated.
|
|
@@ -915,12 +1215,6 @@ module Google
|
|
|
915
1215
|
|
|
916
1216
|
# Request message to update the `IntelligenceConfig` resource associated with
|
|
917
1217
|
# your folder.
|
|
918
|
-
#
|
|
919
|
-
# **IAM Permissions**:
|
|
920
|
-
#
|
|
921
|
-
# Requires `storage.intelligenceConfigs.update`
|
|
922
|
-
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
|
923
|
-
# the folder.
|
|
924
1218
|
# @!attribute [rw] intelligence_config
|
|
925
1219
|
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
|
926
1220
|
# Required. The `IntelligenceConfig` resource to be updated.
|
|
@@ -940,12 +1234,6 @@ module Google
|
|
|
940
1234
|
|
|
941
1235
|
# Request message to update the `IntelligenceConfig` resource associated with
|
|
942
1236
|
# your project.
|
|
943
|
-
#
|
|
944
|
-
# **IAM Permissions**:
|
|
945
|
-
#
|
|
946
|
-
# Requires `storage.intelligenceConfigs.update`
|
|
947
|
-
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
|
948
|
-
# the folder.
|
|
949
1237
|
# @!attribute [rw] intelligence_config
|
|
950
1238
|
# @return [::Google::Cloud::Storage::Control::V2::IntelligenceConfig]
|
|
951
1239
|
# Required. The `IntelligenceConfig` resource to be updated.
|
|
@@ -965,12 +1253,6 @@ module Google
|
|
|
965
1253
|
|
|
966
1254
|
# Request message to get the `IntelligenceConfig` resource associated with your
|
|
967
1255
|
# organization.
|
|
968
|
-
#
|
|
969
|
-
# **IAM Permissions**
|
|
970
|
-
#
|
|
971
|
-
# Requires `storage.intelligenceConfigs.get`
|
|
972
|
-
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
|
973
|
-
# the organization.
|
|
974
1256
|
# @!attribute [rw] name
|
|
975
1257
|
# @return [::String]
|
|
976
1258
|
# Required. The name of the `IntelligenceConfig` resource associated with
|
|
@@ -984,12 +1266,6 @@ module Google
|
|
|
984
1266
|
|
|
985
1267
|
# Request message to get the `IntelligenceConfig` resource associated with your
|
|
986
1268
|
# folder.
|
|
987
|
-
#
|
|
988
|
-
# **IAM Permissions**
|
|
989
|
-
#
|
|
990
|
-
# Requires `storage.intelligenceConfigs.get`
|
|
991
|
-
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
|
|
992
|
-
# the folder.
|
|
993
1269
|
# @!attribute [rw] name
|
|
994
1270
|
# @return [::String]
|
|
995
1271
|
# Required. The name of the `IntelligenceConfig` resource associated with
|
|
@@ -1003,12 +1279,6 @@ module Google
|
|
|
1003
1279
|
|
|
1004
1280
|
# Request message to get the `IntelligenceConfig` resource associated with your
|
|
1005
1281
|
# project.
|
|
1006
|
-
#
|
|
1007
|
-
# **IAM Permissions**:
|
|
1008
|
-
#
|
|
1009
|
-
# Requires `storage.intelligenceConfigs.get`
|
|
1010
|
-
# [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission
|
|
1011
|
-
# on the project.
|
|
1012
1282
|
# @!attribute [rw] name
|
|
1013
1283
|
# @return [::String]
|
|
1014
1284
|
# Required. The name of the `IntelligenceConfig` resource associated with
|
|
@@ -1353,9 +1623,9 @@ module Google
|
|
|
1353
1623
|
|
|
1354
1624
|
# An `IntelligenceFindingRevision` represents a specific revision of an
|
|
1355
1625
|
# `IntelligenceFinding` resource.
|
|
1356
|
-
# @!attribute [
|
|
1626
|
+
# @!attribute [r] name
|
|
1357
1627
|
# @return [::String]
|
|
1358
|
-
#
|
|
1628
|
+
# Output only. The resource name of `IntelligenceFindingRevision`.
|
|
1359
1629
|
# Format:
|
|
1360
1630
|
# `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}`
|
|
1361
1631
|
# @!attribute [r] snapshot
|
|
@@ -1429,7 +1699,7 @@ module Google
|
|
|
1429
1699
|
end
|
|
1430
1700
|
|
|
1431
1701
|
# Request message to summarize the intelligence findings for the specified
|
|
1432
|
-
# scope(
|
|
1702
|
+
# scope (organization, folder or project).
|
|
1433
1703
|
# @!attribute [rw] parent
|
|
1434
1704
|
# @return [::String]
|
|
1435
1705
|
# Required. The scope to summarize the findings for.
|
|
@@ -1487,7 +1757,7 @@ module Google
|
|
|
1487
1757
|
end
|
|
1488
1758
|
|
|
1489
1759
|
# Response message to summarize the intelligence findings for a specified
|
|
1490
|
-
# scope(
|
|
1760
|
+
# scope (organization, folder or project).
|
|
1491
1761
|
# @!attribute [rw] finding_summaries
|
|
1492
1762
|
# @return [::Array<::Google::Cloud::Storage::Control::V2::FindingSummary>]
|
|
1493
1763
|
# The list of `FindingSummary` summaries.
|
|
@@ -1572,7 +1842,7 @@ module Google
|
|
|
1572
1842
|
# @return [::Google::Protobuf::Timestamp]
|
|
1573
1843
|
# Output only. The time of the most recent update among all the findings that
|
|
1574
1844
|
# this summary is based on.
|
|
1575
|
-
# @!attribute [
|
|
1845
|
+
# @!attribute [rw] severity
|
|
1576
1846
|
# @return [::Google::Cloud::Storage::Control::V2::FindingSeverity]
|
|
1577
1847
|
# Severity of the finding.
|
|
1578
1848
|
# @!attribute [r] summary_details
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-storage-control-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -79,6 +79,7 @@ files:
|
|
|
79
79
|
- lib/google/cloud/storage/control/v2/storage_control/paths.rb
|
|
80
80
|
- lib/google/cloud/storage/control/v2/storage_control/rest.rb
|
|
81
81
|
- lib/google/cloud/storage/control/v2/storage_control/rest/client.rb
|
|
82
|
+
- lib/google/cloud/storage/control/v2/storage_control/rest/operations.rb
|
|
82
83
|
- lib/google/cloud/storage/control/v2/storage_control/rest/service_stub.rb
|
|
83
84
|
- lib/google/cloud/storage/control/v2/version.rb
|
|
84
85
|
- lib/google/storage/control/v2/storage_control_pb.rb
|