Skip to content

Commit e0dff0c

Browse files
feat(securitycenter): update the api
#### securitycenter:v1 The following keys were added: - resources.folders.resources.sources.resources.findings.methods.list.parameters.compareDuration.deprecated (Total Keys: 1) - resources.folders.resources.sources.resources.findings.methods.list.parameters.readTime.deprecated (Total Keys: 1) - resources.organizations.resources.sources.resources.findings.methods.list.parameters.compareDuration.deprecated (Total Keys: 1) - resources.organizations.resources.sources.resources.findings.methods.list.parameters.readTime.deprecated (Total Keys: 1) - resources.projects.resources.sources.resources.findings.methods.list.parameters.compareDuration.deprecated (Total Keys: 1) - resources.projects.resources.sources.resources.findings.methods.list.parameters.readTime.deprecated (Total Keys: 1) - schemas.GroupFindingsRequest.properties.compareDuration.deprecated (Total Keys: 1) - schemas.GroupFindingsRequest.properties.readTime.deprecated (Total Keys: 1) - schemas.SetFindingStateRequest.properties.startTime.deprecated (Total Keys: 1)
1 parent 4975f96 commit e0dff0c

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

docs/dyn/securitycenter_v1beta1.organizations.sources.findings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ <h3>Method Details</h3>
350350
The object takes the form of:
351351

352352
{ # Request message for updating a finding&#x27;s state.
353-
&quot;startTime&quot;: &quot;A String&quot;, # Required. The time at which the updated state takes effect.
353+
&quot;startTime&quot;: &quot;A String&quot;, # Optional. The time at which the updated state takes effect. If not set uses the current time.
354354
&quot;state&quot;: &quot;A String&quot;, # Required. The desired State of the finding.
355355
}
356356

googleapiclient/discovery_cache/documents/securitycenter.v1.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,6 +1509,7 @@
15091509
],
15101510
"parameters": {
15111511
"compareDuration": {
1512+
"deprecated": true,
15121513
"description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.",
15131514
"format": "google-duration",
15141515
"location": "query",
@@ -1549,6 +1550,7 @@
15491550
"type": "string"
15501551
},
15511552
"readTime": {
1553+
"deprecated": true,
15521554
"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.",
15531555
"format": "google-datetime",
15541556
"location": "query",
@@ -3989,6 +3991,7 @@
39893991
],
39903992
"parameters": {
39913993
"compareDuration": {
3994+
"deprecated": true,
39923995
"description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.",
39933996
"format": "google-duration",
39943997
"location": "query",
@@ -4029,6 +4032,7 @@
40294032
"type": "string"
40304033
},
40314034
"readTime": {
4035+
"deprecated": true,
40324036
"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.",
40334037
"format": "google-datetime",
40344038
"location": "query",
@@ -5656,6 +5660,7 @@
56565660
],
56575661
"parameters": {
56585662
"compareDuration": {
5663+
"deprecated": true,
56595664
"description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.",
56605665
"format": "google-duration",
56615666
"location": "query",
@@ -5696,6 +5701,7 @@
56965701
"type": "string"
56975702
},
56985703
"readTime": {
5704+
"deprecated": true,
56995705
"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.",
57005706
"format": "google-datetime",
57015707
"location": "query",
@@ -5887,7 +5893,7 @@
58875893
}
58885894
}
58895895
},
5890-
"revision": "20241018",
5896+
"revision": "20241026",
58915897
"rootUrl": "https://securitycenter.googleapis.com/",
58925898
"schemas": {
58935899
"Access": {
@@ -12034,6 +12040,7 @@
1203412040
"id": "GroupFindingsRequest",
1203512041
"properties": {
1203612042
"compareDuration": {
12043+
"deprecated": true,
1203712044
"description": "When compare_duration is set, the GroupResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.",
1203812045
"format": "google-duration",
1203912046
"type": "string"
@@ -12056,6 +12063,7 @@
1205612063
"type": "string"
1205712064
},
1205812065
"readTime": {
12066+
"deprecated": true,
1205912067
"description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.",
1206012068
"format": "google-datetime",
1206112069
"type": "string"
@@ -13936,6 +13944,7 @@
1393613944
"id": "SetFindingStateRequest",
1393713945
"properties": {
1393813946
"startTime": {
13947+
"deprecated": true,
1393913948
"description": "Optional. The time at which the updated state takes effect. If unset, defaults to the request time.",
1394013949
"format": "google-datetime",
1394113950
"type": "string"

googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@
913913
}
914914
}
915915
},
916-
"revision": "20241018",
916+
"revision": "20241026",
917917
"rootUrl": "https://securitycenter.googleapis.com/",
918918
"schemas": {
919919
"Access": {
@@ -8233,7 +8233,7 @@
82338233
"id": "SetFindingStateRequest",
82348234
"properties": {
82358235
"startTime": {
8236-
"description": "Required. The time at which the updated state takes effect.",
8236+
"description": "Optional. The time at which the updated state takes effect. If not set uses the current time.",
82378237
"format": "google-datetime",
82388238
"type": "string"
82398239
},

0 commit comments

Comments
 (0)