google-apis-securitycenter_v1beta2 0.54.0 → 0.56.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/CHANGELOG.md +8 -0
- data/lib/google/apis/securitycenter_v1beta2/classes.rb +115 -12
- data/lib/google/apis/securitycenter_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1beta2/representations.rb +41 -3
- data/lib/google/apis/securitycenter_v1beta2/service.rb +0 -96
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 576684b6fd1300e39a10b6926eb3d61f457f4bf9f403ef30e576b0e4e6c3c250
|
4
|
+
data.tar.gz: 0fd6f328c9cdf41b4464002bbc79536e043c9f808e0e37287097c478dcdeb6fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd472834874756064b5102b4c241b8243c7d97a3c451db4d1ffc4bfeb5ad4dc48c15036310409261a13fb1b5e066de54527209816df696998f66acd03e587ee2
|
7
|
+
data.tar.gz: 250504f69fab8a0b4ebff0dea9f7ba801831273ba8a4d31ae6375792f66ade48f706829e40707bc50c461568cb8ff82ea1758cd68fc5d8d871d8c67c12b6ed7b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.56.0 (2023-10-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231005
|
6
|
+
|
7
|
+
### v0.55.0 (2023-10-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231001
|
10
|
+
|
3
11
|
### v0.54.0 (2023-09-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230904
|
@@ -1191,6 +1191,11 @@ module Google
|
|
1191
1191
|
# @return [Google::Apis::SecuritycenterV1beta2::Kubernetes]
|
1192
1192
|
attr_accessor :kubernetes
|
1193
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
|
+
|
1194
1199
|
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
1195
1200
|
# attack.mitre.org
|
1196
1201
|
# Corresponds to the JSON property `mitreAttack`
|
@@ -1272,6 +1277,14 @@ module Google
|
|
1272
1277
|
# @return [Google::Apis::SecuritycenterV1beta2::SecurityMarks]
|
1273
1278
|
attr_accessor :security_marks
|
1274
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
|
+
|
1275
1288
|
# The severity of the finding. This field is managed by the source that writes
|
1276
1289
|
# the finding.
|
1277
1290
|
# Corresponds to the JSON property `severity`
|
@@ -1325,6 +1338,7 @@ module Google
|
|
1325
1338
|
@indicator = args[:indicator] if args.key?(:indicator)
|
1326
1339
|
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
1327
1340
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
1341
|
+
@load_balancers = args[:load_balancers] if args.key?(:load_balancers)
|
1328
1342
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
1329
1343
|
@module_name = args[:module_name] if args.key?(:module_name)
|
1330
1344
|
@mute = args[:mute] if args.key?(:mute)
|
@@ -1337,6 +1351,7 @@ module Google
|
|
1337
1351
|
@processes = args[:processes] if args.key?(:processes)
|
1338
1352
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1339
1353
|
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
1354
|
+
@security_posture = args[:security_posture] if args.key?(:security_posture)
|
1340
1355
|
@severity = args[:severity] if args.key?(:severity)
|
1341
1356
|
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
1342
1357
|
@state = args[:state] if args.key?(:state)
|
@@ -1950,8 +1965,8 @@ module Google
|
|
1950
1965
|
end
|
1951
1966
|
end
|
1952
1967
|
|
1953
|
-
# A resource value config is a mapping configuration of user's
|
1954
|
-
# resource values. Used
|
1968
|
+
# A resource value config (RVC) is a mapping configuration of user's resources
|
1969
|
+
# to resource values. Used in Attack path simulations.
|
1955
1970
|
class GoogleCloudSecuritycenterV1ResourceValueConfig
|
1956
1971
|
include Google::Apis::Core::Hashable
|
1957
1972
|
|
@@ -2639,6 +2654,11 @@ module Google
|
|
2639
2654
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
2640
2655
|
attr_accessor :nodes
|
2641
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
|
+
|
2642
2662
|
# Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod)
|
2643
2663
|
# associated with the finding. This field contains Pod records for each
|
2644
2664
|
# container that is owned by a Pod.
|
@@ -2663,6 +2683,7 @@ module Google
|
|
2663
2683
|
@bindings = args[:bindings] if args.key?(:bindings)
|
2664
2684
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
2665
2685
|
@nodes = args[:nodes] if args.key?(:nodes)
|
2686
|
+
@objects = args[:objects] if args.key?(:objects)
|
2666
2687
|
@pods = args[:pods] if args.key?(:pods)
|
2667
2688
|
@roles = args[:roles] if args.key?(:roles)
|
2668
2689
|
end
|
@@ -2697,6 +2718,25 @@ module Google
|
|
2697
2718
|
end
|
2698
2719
|
end
|
2699
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
|
+
|
2700
2740
|
# A signature corresponding to memory page hashes.
|
2701
2741
|
class MemoryHashSignature
|
2702
2742
|
include Google::Apis::Core::Hashable
|
@@ -2817,22 +2857,33 @@ module Google
|
|
2817
2857
|
end
|
2818
2858
|
end
|
2819
2859
|
|
2820
|
-
#
|
2821
|
-
|
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
|
2822
2863
|
include Google::Apis::Core::Hashable
|
2823
2864
|
|
2824
|
-
#
|
2825
|
-
#
|
2826
|
-
#
|
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/.
|
2827
2877
|
# Corresponds to the JSON property `name`
|
2828
2878
|
# @return [String]
|
2829
2879
|
attr_accessor :name
|
2830
2880
|
|
2831
|
-
#
|
2832
|
-
#
|
2833
|
-
#
|
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`
|
2834
2885
|
# @return [String]
|
2835
|
-
attr_accessor :
|
2886
|
+
attr_accessor :ns
|
2836
2887
|
|
2837
2888
|
def initialize(**args)
|
2838
2889
|
update!(**args)
|
@@ -2840,8 +2891,10 @@ module Google
|
|
2840
2891
|
|
2841
2892
|
# Update properties of this object
|
2842
2893
|
def update!(**args)
|
2894
|
+
@group = args[:group] if args.key?(:group)
|
2895
|
+
@kind = args[:kind] if args.key?(:kind)
|
2843
2896
|
@name = args[:name] if args.key?(:name)
|
2844
|
-
@
|
2897
|
+
@ns = args[:ns] if args.key?(:ns)
|
2845
2898
|
end
|
2846
2899
|
end
|
2847
2900
|
|
@@ -3226,6 +3279,56 @@ module Google
|
|
3226
3279
|
end
|
3227
3280
|
end
|
3228
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
|
+
|
3229
3332
|
# Identity delegation history of an authenticated service account.
|
3230
3333
|
class ServiceAccountDelegationInfo
|
3231
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.56.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 = "20231005"
|
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
|
|
@@ -754,6 +766,8 @@ module Google
|
|
754
766
|
|
755
767
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::Kubernetes::Representation
|
756
768
|
|
769
|
+
collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1beta2::LoadBalancer, decorator: Google::Apis::SecuritycenterV1beta2::LoadBalancer::Representation
|
770
|
+
|
757
771
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation
|
758
772
|
|
759
773
|
property :module_name, as: 'moduleName'
|
@@ -769,6 +783,8 @@ module Google
|
|
769
783
|
property :resource_name, as: 'resourceName'
|
770
784
|
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
|
771
785
|
|
786
|
+
property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::SecurityPosture::Representation
|
787
|
+
|
772
788
|
property :severity, as: 'severity'
|
773
789
|
hash :source_properties, as: 'sourceProperties'
|
774
790
|
property :state, as: 'state'
|
@@ -1083,6 +1099,8 @@ module Google
|
|
1083
1099
|
|
1084
1100
|
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
1085
1101
|
|
1102
|
+
collection :objects, as: 'objects', class: Google::Apis::SecuritycenterV1beta2::Object, decorator: Google::Apis::SecuritycenterV1beta2::Object::Representation
|
1103
|
+
|
1086
1104
|
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta2::Pod, decorator: Google::Apis::SecuritycenterV1beta2::Pod::Representation
|
1087
1105
|
|
1088
1106
|
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation
|
@@ -1098,6 +1116,13 @@ module Google
|
|
1098
1116
|
end
|
1099
1117
|
end
|
1100
1118
|
|
1119
|
+
class LoadBalancer
|
1120
|
+
# @private
|
1121
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1122
|
+
property :name, as: 'name'
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1101
1126
|
class MemoryHashSignature
|
1102
1127
|
# @private
|
1103
1128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1134,11 +1159,13 @@ module Google
|
|
1134
1159
|
end
|
1135
1160
|
end
|
1136
1161
|
|
1137
|
-
class
|
1162
|
+
class Object
|
1138
1163
|
# @private
|
1139
1164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1165
|
+
property :group, as: 'group'
|
1166
|
+
property :kind, as: 'kind'
|
1140
1167
|
property :name, as: 'name'
|
1141
|
-
property :
|
1168
|
+
property :ns, as: 'ns'
|
1142
1169
|
end
|
1143
1170
|
end
|
1144
1171
|
|
@@ -1243,6 +1270,17 @@ module Google
|
|
1243
1270
|
end
|
1244
1271
|
end
|
1245
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
|
+
|
1246
1284
|
class ServiceAccountDelegationInfo
|
1247
1285
|
# @private
|
1248
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.56.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-
|
11
|
+
date: 2023-10-15 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.56.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: []
|