google-apis-securitycenter_v1beta2 0.53.0 → 0.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/securitycenter_v1beta2/classes.rb +123 -14
- data/lib/google/apis/securitycenter_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1beta2/representations.rb +42 -3
- data/lib/google/apis/securitycenter_v1beta2/service.rb +0 -96
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8e069777d6594914249a4263ceb0bb81e8aee667beb41f5e97dd3aec151e416
|
4
|
+
data.tar.gz: db7aa641eacca4a4f52a689c351cea8fb3daac91180db3e10e6f31eea7952b5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a458609f7c55275e77a092c7c19e7963040217fe545eaa9610de895d94bd2f49d5373f007814010af318910cc34c7fe94a9ce4519c646519fe28a2c8ac4e4cdc
|
7
|
+
data.tar.gz: 5af7ce5f0672bc5906b36720e5ad84a68ada82937ba5e699c9ffb19f1c319af65e2f4e2c0d4dd93563791353558870ae53824577a43e5ea212d2ba567af3f86a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.55.0 (2023-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231001
|
6
|
+
|
7
|
+
### v0.54.0 (2023-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230904
|
10
|
+
|
3
11
|
### v0.53.0 (2023-08-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230727
|
@@ -908,6 +908,11 @@ module Google
|
|
908
908
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::ExfilResource>]
|
909
909
|
attr_accessor :targets
|
910
910
|
|
911
|
+
# Total exfiltrated bytes processed for the entire job.
|
912
|
+
# Corresponds to the JSON property `totalExfiltratedBytes`
|
913
|
+
# @return [Fixnum]
|
914
|
+
attr_accessor :total_exfiltrated_bytes
|
915
|
+
|
911
916
|
def initialize(**args)
|
912
917
|
update!(**args)
|
913
918
|
end
|
@@ -916,6 +921,7 @@ module Google
|
|
916
921
|
def update!(**args)
|
917
922
|
@sources = args[:sources] if args.key?(:sources)
|
918
923
|
@targets = args[:targets] if args.key?(:targets)
|
924
|
+
@total_exfiltrated_bytes = args[:total_exfiltrated_bytes] if args.key?(:total_exfiltrated_bytes)
|
919
925
|
end
|
920
926
|
end
|
921
927
|
|
@@ -1185,6 +1191,11 @@ module Google
|
|
1185
1191
|
# @return [Google::Apis::SecuritycenterV1beta2::Kubernetes]
|
1186
1192
|
attr_accessor :kubernetes
|
1187
1193
|
|
1194
|
+
# The load balancers associated with the finding.
|
1195
|
+
# Corresponds to the JSON property `loadBalancers`
|
1196
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::LoadBalancer>]
|
1197
|
+
attr_accessor :load_balancers
|
1198
|
+
|
1188
1199
|
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
1189
1200
|
# attack.mitre.org
|
1190
1201
|
# Corresponds to the JSON property `mitreAttack`
|
@@ -1266,6 +1277,14 @@ module Google
|
|
1266
1277
|
# @return [Google::Apis::SecuritycenterV1beta2::SecurityMarks]
|
1267
1278
|
attr_accessor :security_marks
|
1268
1279
|
|
1280
|
+
# Represents a posture that is deployed on Google Cloud by the Security Command
|
1281
|
+
# Center Posture Management service. A posture contains one or more policy sets.
|
1282
|
+
# A policy set is a group of policies that enforce a set of security rules on
|
1283
|
+
# Google Cloud.
|
1284
|
+
# Corresponds to the JSON property `securityPosture`
|
1285
|
+
# @return [Google::Apis::SecuritycenterV1beta2::SecurityPosture]
|
1286
|
+
attr_accessor :security_posture
|
1287
|
+
|
1269
1288
|
# The severity of the finding. This field is managed by the source that writes
|
1270
1289
|
# the finding.
|
1271
1290
|
# Corresponds to the JSON property `severity`
|
@@ -1319,6 +1338,7 @@ module Google
|
|
1319
1338
|
@indicator = args[:indicator] if args.key?(:indicator)
|
1320
1339
|
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
1321
1340
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
1341
|
+
@load_balancers = args[:load_balancers] if args.key?(:load_balancers)
|
1322
1342
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
1323
1343
|
@module_name = args[:module_name] if args.key?(:module_name)
|
1324
1344
|
@mute = args[:mute] if args.key?(:mute)
|
@@ -1331,6 +1351,7 @@ module Google
|
|
1331
1351
|
@processes = args[:processes] if args.key?(:processes)
|
1332
1352
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1333
1353
|
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
1354
|
+
@security_posture = args[:security_posture] if args.key?(:security_posture)
|
1334
1355
|
@severity = args[:severity] if args.key?(:severity)
|
1335
1356
|
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
1336
1357
|
@state = args[:state] if args.key?(:state)
|
@@ -1676,13 +1697,13 @@ module Google
|
|
1676
1697
|
# @return [Array<String>]
|
1677
1698
|
attr_accessor :assignees
|
1678
1699
|
|
1679
|
-
# The
|
1680
|
-
# updated in the external system.
|
1700
|
+
# The time when the case was last updated, as reported by the external system.
|
1681
1701
|
# Corresponds to the JSON property `externalSystemUpdateTime`
|
1682
1702
|
# @return [String]
|
1683
1703
|
attr_accessor :external_system_update_time
|
1684
1704
|
|
1685
|
-
#
|
1705
|
+
# The identifier that's used to track the finding's corresponding case in the
|
1706
|
+
# external system.
|
1686
1707
|
# Corresponds to the JSON property `externalUid`
|
1687
1708
|
# @return [String]
|
1688
1709
|
attr_accessor :external_uid
|
@@ -1695,7 +1716,7 @@ module Google
|
|
1695
1716
|
# @return [String]
|
1696
1717
|
attr_accessor :name
|
1697
1718
|
|
1698
|
-
#
|
1719
|
+
# The most recent status of the finding's corresponding case, as reported by the
|
1699
1720
|
# external system.
|
1700
1721
|
# Corresponds to the JSON property `status`
|
1701
1722
|
# @return [String]
|
@@ -2633,6 +2654,11 @@ module Google
|
|
2633
2654
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
2634
2655
|
attr_accessor :nodes
|
2635
2656
|
|
2657
|
+
# Kubernetes objects related to the finding.
|
2658
|
+
# Corresponds to the JSON property `objects`
|
2659
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Object>]
|
2660
|
+
attr_accessor :objects
|
2661
|
+
|
2636
2662
|
# Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod)
|
2637
2663
|
# associated with the finding. This field contains Pod records for each
|
2638
2664
|
# container that is owned by a Pod.
|
@@ -2657,6 +2683,7 @@ module Google
|
|
2657
2683
|
@bindings = args[:bindings] if args.key?(:bindings)
|
2658
2684
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
2659
2685
|
@nodes = args[:nodes] if args.key?(:nodes)
|
2686
|
+
@objects = args[:objects] if args.key?(:objects)
|
2660
2687
|
@pods = args[:pods] if args.key?(:pods)
|
2661
2688
|
@roles = args[:roles] if args.key?(:roles)
|
2662
2689
|
end
|
@@ -2691,6 +2718,25 @@ module Google
|
|
2691
2718
|
end
|
2692
2719
|
end
|
2693
2720
|
|
2721
|
+
# Contains information related to the load balancer associated with the finding.
|
2722
|
+
class LoadBalancer
|
2723
|
+
include Google::Apis::Core::Hashable
|
2724
|
+
|
2725
|
+
# The name of the load balancer associated with the finding.
|
2726
|
+
# Corresponds to the JSON property `name`
|
2727
|
+
# @return [String]
|
2728
|
+
attr_accessor :name
|
2729
|
+
|
2730
|
+
def initialize(**args)
|
2731
|
+
update!(**args)
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
# Update properties of this object
|
2735
|
+
def update!(**args)
|
2736
|
+
@name = args[:name] if args.key?(:name)
|
2737
|
+
end
|
2738
|
+
end
|
2739
|
+
|
2694
2740
|
# A signature corresponding to memory page hashes.
|
2695
2741
|
class MemoryHashSignature
|
2696
2742
|
include Google::Apis::Core::Hashable
|
@@ -2811,22 +2857,33 @@ module Google
|
|
2811
2857
|
end
|
2812
2858
|
end
|
2813
2859
|
|
2814
|
-
#
|
2815
|
-
|
2860
|
+
# Kubernetes object related to the finding, uniquely identified by GKNN. Used if
|
2861
|
+
# the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
|
2862
|
+
class Object
|
2816
2863
|
include Google::Apis::Core::Hashable
|
2817
2864
|
|
2818
|
-
#
|
2819
|
-
#
|
2820
|
-
#
|
2865
|
+
# Kubernetes object group, such as "policy.k8s.io/v1".
|
2866
|
+
# Corresponds to the JSON property `group`
|
2867
|
+
# @return [String]
|
2868
|
+
attr_accessor :group
|
2869
|
+
|
2870
|
+
# Kubernetes object kind, such as “Namespace”.
|
2871
|
+
# Corresponds to the JSON property `kind`
|
2872
|
+
# @return [String]
|
2873
|
+
attr_accessor :kind
|
2874
|
+
|
2875
|
+
# Kubernetes object name. For details see https://kubernetes.io/docs/concepts/
|
2876
|
+
# overview/working-with-objects/names/.
|
2821
2877
|
# Corresponds to the JSON property `name`
|
2822
2878
|
# @return [String]
|
2823
2879
|
attr_accessor :name
|
2824
2880
|
|
2825
|
-
#
|
2826
|
-
#
|
2827
|
-
#
|
2881
|
+
# Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid
|
2882
|
+
# collision with C++ namespace keyword. For details see https://kubernetes.io/
|
2883
|
+
# docs/tasks/administer-cluster/namespaces/.
|
2884
|
+
# Corresponds to the JSON property `ns`
|
2828
2885
|
# @return [String]
|
2829
|
-
attr_accessor :
|
2886
|
+
attr_accessor :ns
|
2830
2887
|
|
2831
2888
|
def initialize(**args)
|
2832
2889
|
update!(**args)
|
@@ -2834,8 +2891,10 @@ module Google
|
|
2834
2891
|
|
2835
2892
|
# Update properties of this object
|
2836
2893
|
def update!(**args)
|
2894
|
+
@group = args[:group] if args.key?(:group)
|
2895
|
+
@kind = args[:kind] if args.key?(:kind)
|
2837
2896
|
@name = args[:name] if args.key?(:name)
|
2838
|
-
@
|
2897
|
+
@ns = args[:ns] if args.key?(:ns)
|
2839
2898
|
end
|
2840
2899
|
end
|
2841
2900
|
|
@@ -3220,6 +3279,56 @@ module Google
|
|
3220
3279
|
end
|
3221
3280
|
end
|
3222
3281
|
|
3282
|
+
# Represents a posture that is deployed on Google Cloud by the Security Command
|
3283
|
+
# Center Posture Management service. A posture contains one or more policy sets.
|
3284
|
+
# A policy set is a group of policies that enforce a set of security rules on
|
3285
|
+
# Google Cloud.
|
3286
|
+
class SecurityPosture
|
3287
|
+
include Google::Apis::Core::Hashable
|
3288
|
+
|
3289
|
+
# The name of the policy that has been updated, for example, `projects/`
|
3290
|
+
# project_id`/policies/`constraint_name``.
|
3291
|
+
# Corresponds to the JSON property `changedPolicy`
|
3292
|
+
# @return [String]
|
3293
|
+
attr_accessor :changed_policy
|
3294
|
+
|
3295
|
+
# Name of the posture, for example, `organizations/`org_id`/locations/`location`/
|
3296
|
+
# postures/`posture_name``.
|
3297
|
+
# Corresponds to the JSON property `name`
|
3298
|
+
# @return [String]
|
3299
|
+
attr_accessor :name
|
3300
|
+
|
3301
|
+
# The name of the posture deployment, for example, `projects/`project_id`/
|
3302
|
+
# posturedeployments/`posture_deployment_id``.
|
3303
|
+
# Corresponds to the JSON property `postureDeployment`
|
3304
|
+
# @return [String]
|
3305
|
+
attr_accessor :posture_deployment
|
3306
|
+
|
3307
|
+
# The project, folder, or organization on which the posture is deployed, for
|
3308
|
+
# example, `projects/`project_id``.
|
3309
|
+
# Corresponds to the JSON property `postureDeploymentResource`
|
3310
|
+
# @return [String]
|
3311
|
+
attr_accessor :posture_deployment_resource
|
3312
|
+
|
3313
|
+
# The version of the posture, for example, `c7cfa2a8`.
|
3314
|
+
# Corresponds to the JSON property `revisionId`
|
3315
|
+
# @return [String]
|
3316
|
+
attr_accessor :revision_id
|
3317
|
+
|
3318
|
+
def initialize(**args)
|
3319
|
+
update!(**args)
|
3320
|
+
end
|
3321
|
+
|
3322
|
+
# Update properties of this object
|
3323
|
+
def update!(**args)
|
3324
|
+
@changed_policy = args[:changed_policy] if args.key?(:changed_policy)
|
3325
|
+
@name = args[:name] if args.key?(:name)
|
3326
|
+
@posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
|
3327
|
+
@posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
|
3328
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
3329
|
+
end
|
3330
|
+
end
|
3331
|
+
|
3223
3332
|
# Identity delegation history of an authenticated service account.
|
3224
3333
|
class ServiceAccountDelegationInfo
|
3225
3334
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta2
|
18
18
|
# Version of the google-apis-securitycenter_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231001"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -340,6 +340,12 @@ module Google
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
341
341
|
end
|
342
342
|
|
343
|
+
class LoadBalancer
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
343
349
|
class MemoryHashSignature
|
344
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
351
|
|
@@ -364,7 +370,7 @@ module Google
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
365
371
|
end
|
366
372
|
|
367
|
-
class
|
373
|
+
class Object
|
368
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
375
|
|
370
376
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -424,6 +430,12 @@ module Google
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
425
431
|
end
|
426
432
|
|
433
|
+
class SecurityPosture
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
427
439
|
class ServiceAccountDelegationInfo
|
428
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
441
|
|
@@ -686,6 +698,7 @@ module Google
|
|
686
698
|
|
687
699
|
collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1beta2::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::ExfilResource::Representation
|
688
700
|
|
701
|
+
property :total_exfiltrated_bytes, :numeric_string => true, as: 'totalExfiltratedBytes'
|
689
702
|
end
|
690
703
|
end
|
691
704
|
|
@@ -753,6 +766,8 @@ module Google
|
|
753
766
|
|
754
767
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::Kubernetes::Representation
|
755
768
|
|
769
|
+
collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta2::LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta2::LoadBalancer::Representation
|
770
|
+
|
756
771
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation
|
757
772
|
|
758
773
|
property :module_name, as: 'moduleName'
|
@@ -768,6 +783,8 @@ module Google
|
|
768
783
|
property :resource_name, as: 'resourceName'
|
769
784
|
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
|
770
785
|
|
786
|
+
property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::SecurityPosture::Representation
|
787
|
+
|
771
788
|
property :severity, as: 'severity'
|
772
789
|
hash :source_properties, as: 'sourceProperties'
|
773
790
|
property :state, as: 'state'
|
@@ -1082,6 +1099,8 @@ module Google
|
|
1082
1099
|
|
1083
1100
|
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
1084
1101
|
|
1102
|
+
collection :objects, as: 'objects', class: Google::Apis::SecuritycenterV1beta2::Object, decorator: Google::Apis::SecuritycenterV1beta2::Object::Representation
|
1103
|
+
|
1085
1104
|
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta2::Pod, decorator: Google::Apis::SecuritycenterV1beta2::Pod::Representation
|
1086
1105
|
|
1087
1106
|
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation
|
@@ -1097,6 +1116,13 @@ module Google
|
|
1097
1116
|
end
|
1098
1117
|
end
|
1099
1118
|
|
1119
|
+
class LoadBalancer
|
1120
|
+
# @private
|
1121
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1122
|
+
property :name, as: 'name'
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1100
1126
|
class MemoryHashSignature
|
1101
1127
|
# @private
|
1102
1128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1133,11 +1159,13 @@ module Google
|
|
1133
1159
|
end
|
1134
1160
|
end
|
1135
1161
|
|
1136
|
-
class
|
1162
|
+
class Object
|
1137
1163
|
# @private
|
1138
1164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1165
|
+
property :group, as: 'group'
|
1166
|
+
property :kind, as: 'kind'
|
1139
1167
|
property :name, as: 'name'
|
1140
|
-
property :
|
1168
|
+
property :ns, as: 'ns'
|
1141
1169
|
end
|
1142
1170
|
end
|
1143
1171
|
|
@@ -1242,6 +1270,17 @@ module Google
|
|
1242
1270
|
end
|
1243
1271
|
end
|
1244
1272
|
|
1273
|
+
class SecurityPosture
|
1274
|
+
# @private
|
1275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1276
|
+
property :changed_policy, as: 'changedPolicy'
|
1277
|
+
property :name, as: 'name'
|
1278
|
+
property :posture_deployment, as: 'postureDeployment'
|
1279
|
+
property :posture_deployment_resource, as: 'postureDeploymentResource'
|
1280
|
+
property :revision_id, as: 'revisionId'
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
1245
1284
|
class ServiceAccountDelegationInfo
|
1246
1285
|
# @private
|
1247
1286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -126,38 +126,6 @@ module Google
|
|
126
126
|
execute_or_queue_command(command, &block)
|
127
127
|
end
|
128
128
|
|
129
|
-
# Retrieve the OnboardingState of a resource.
|
130
|
-
# @param [String] name
|
131
|
-
# Required. The name of the OnboardingState to retrieve. Formats: *
|
132
|
-
# organizations/`organization`/onboardingState * folders/`folder`/
|
133
|
-
# onboardingState * projects/`project`/onboardingState
|
134
|
-
# @param [String] fields
|
135
|
-
# Selector specifying which fields to include in a partial response.
|
136
|
-
# @param [String] quota_user
|
137
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
138
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
139
|
-
# @param [Google::Apis::RequestOptions] options
|
140
|
-
# Request-specific options
|
141
|
-
#
|
142
|
-
# @yield [result, err] Result & error if block supplied
|
143
|
-
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::OnboardingState] parsed result object
|
144
|
-
# @yieldparam err [StandardError] error object if request failed
|
145
|
-
#
|
146
|
-
# @return [Google::Apis::SecuritycenterV1beta2::OnboardingState]
|
147
|
-
#
|
148
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
149
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
|
-
def get_folder_onboarding_state(name, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
-
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
153
|
-
command.response_representation = Google::Apis::SecuritycenterV1beta2::OnboardingState::Representation
|
154
|
-
command.response_class = Google::Apis::SecuritycenterV1beta2::OnboardingState
|
155
|
-
command.params['name'] = name unless name.nil?
|
156
|
-
command.query['fields'] = fields unless fields.nil?
|
157
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
|
-
execute_or_queue_command(command, &block)
|
159
|
-
end
|
160
|
-
|
161
129
|
# Get the RapidVulnerabilityDetectionSettings resource. In the returned settings
|
162
130
|
# response, a missing field only indicates that it was not explicitly set, so no
|
163
131
|
# assumption should be made about these fields. In other words,
|
@@ -885,38 +853,6 @@ module Google
|
|
885
853
|
execute_or_queue_command(command, &block)
|
886
854
|
end
|
887
855
|
|
888
|
-
# Retrieve the OnboardingState of a resource.
|
889
|
-
# @param [String] name
|
890
|
-
# Required. The name of the OnboardingState to retrieve. Formats: *
|
891
|
-
# organizations/`organization`/onboardingState * folders/`folder`/
|
892
|
-
# onboardingState * projects/`project`/onboardingState
|
893
|
-
# @param [String] fields
|
894
|
-
# Selector specifying which fields to include in a partial response.
|
895
|
-
# @param [String] quota_user
|
896
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
897
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
898
|
-
# @param [Google::Apis::RequestOptions] options
|
899
|
-
# Request-specific options
|
900
|
-
#
|
901
|
-
# @yield [result, err] Result & error if block supplied
|
902
|
-
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::OnboardingState] parsed result object
|
903
|
-
# @yieldparam err [StandardError] error object if request failed
|
904
|
-
#
|
905
|
-
# @return [Google::Apis::SecuritycenterV1beta2::OnboardingState]
|
906
|
-
#
|
907
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
908
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
909
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
910
|
-
def get_organization_onboarding_state(name, fields: nil, quota_user: nil, options: nil, &block)
|
911
|
-
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
912
|
-
command.response_representation = Google::Apis::SecuritycenterV1beta2::OnboardingState::Representation
|
913
|
-
command.response_class = Google::Apis::SecuritycenterV1beta2::OnboardingState
|
914
|
-
command.params['name'] = name unless name.nil?
|
915
|
-
command.query['fields'] = fields unless fields.nil?
|
916
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
917
|
-
execute_or_queue_command(command, &block)
|
918
|
-
end
|
919
|
-
|
920
856
|
# Get the RapidVulnerabilityDetectionSettings resource. In the returned settings
|
921
857
|
# response, a missing field only indicates that it was not explicitly set, so no
|
922
858
|
# assumption should be made about these fields. In other words,
|
@@ -1675,38 +1611,6 @@ module Google
|
|
1675
1611
|
execute_or_queue_command(command, &block)
|
1676
1612
|
end
|
1677
1613
|
|
1678
|
-
# Retrieve the OnboardingState of a resource.
|
1679
|
-
# @param [String] name
|
1680
|
-
# Required. The name of the OnboardingState to retrieve. Formats: *
|
1681
|
-
# organizations/`organization`/onboardingState * folders/`folder`/
|
1682
|
-
# onboardingState * projects/`project`/onboardingState
|
1683
|
-
# @param [String] fields
|
1684
|
-
# Selector specifying which fields to include in a partial response.
|
1685
|
-
# @param [String] quota_user
|
1686
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1687
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1688
|
-
# @param [Google::Apis::RequestOptions] options
|
1689
|
-
# Request-specific options
|
1690
|
-
#
|
1691
|
-
# @yield [result, err] Result & error if block supplied
|
1692
|
-
# @yieldparam result [Google::Apis::SecuritycenterV1beta2::OnboardingState] parsed result object
|
1693
|
-
# @yieldparam err [StandardError] error object if request failed
|
1694
|
-
#
|
1695
|
-
# @return [Google::Apis::SecuritycenterV1beta2::OnboardingState]
|
1696
|
-
#
|
1697
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1698
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1699
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1700
|
-
def get_project_onboarding_state(name, fields: nil, quota_user: nil, options: nil, &block)
|
1701
|
-
command = make_simple_command(:get, 'v1beta2/{+name}', options)
|
1702
|
-
command.response_representation = Google::Apis::SecuritycenterV1beta2::OnboardingState::Representation
|
1703
|
-
command.response_class = Google::Apis::SecuritycenterV1beta2::OnboardingState
|
1704
|
-
command.params['name'] = name unless name.nil?
|
1705
|
-
command.query['fields'] = fields unless fields.nil?
|
1706
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1707
|
-
execute_or_queue_command(command, &block)
|
1708
|
-
end
|
1709
|
-
|
1710
1614
|
# Get the RapidVulnerabilityDetectionSettings resource. In the returned settings
|
1711
1615
|
# response, a missing field only indicates that it was not explicitly set, so no
|
1712
1616
|
# assumption should be made about these fields. In other words,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08
|
11
|
+
date: 2023-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.55.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Security Command Center API V1beta2
|