Skip to content

Commit 09fbb62

Browse files
feat: Automated regeneration of securitycenter v1beta2 client (#11658)
Auto-created at 2022-09-15 11:14:21 +0000 using the toys pull request generator.
1 parent 649e7cf commit 09fbb62

File tree

5 files changed

+69
-2
lines changed

5 files changed

+69
-2
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201450,6 +201450,7 @@
201450201450
"/securitycenter:v1beta2/Finding/name": name
201451201451
"/securitycenter:v1beta2/Finding/nextSteps": next_steps
201452201452
"/securitycenter:v1beta2/Finding/parent": parent
201453+
"/securitycenter:v1beta2/Finding/parentDisplayName": parent_display_name
201453201454
"/securitycenter:v1beta2/Finding/processes": processes
201454201455
"/securitycenter:v1beta2/Finding/processes/process": process
201455201456
"/securitycenter:v1beta2/Finding/resourceName": resource_name
@@ -201509,6 +201510,11 @@
201509201510
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1Resource/project": project
201510201511
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1Resource/projectDisplayName": project_display_name
201511201512
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1Resource/type": type
201513+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1ResourceValueConfig": google_cloud_securitycenter_v1_resource_value_config
201514+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1ResourceValueConfig/name": name
201515+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1ResourceValueConfig/resourceValue": resource_value
201516+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1ResourceValueConfig/tagValues": tag_values
201517+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1ResourceValueConfig/tagValues/tag_value": tag_value
201512201518
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": google_cloud_securitycenter_v1_run_asset_discovery_response
201513201519
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse/duration": duration
201514201520
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse/state": state

generated/google-apis-securitycenter_v1beta2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-securitycenter_v1beta2
22

3+
### v0.35.0 (2022-09-15)
4+
5+
* Regenerated from discovery document revision 20220909
6+
37
### v0.34.0 (2022-08-30)
48

59
* Regenerated from discovery document revision 20220825

generated/google-apis-securitycenter_v1beta2/lib/google/apis/securitycenter_v1beta2/classes.rb

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,12 @@ class Finding
977977
# @return [String]
978978
attr_accessor :parent
979979

980+
# Output only. The human readable display name of the finding source such as "
981+
# Event Threat Detection" or "Security Health Analytics"
982+
# Corresponds to the JSON property `parentDisplayName`
983+
# @return [String]
984+
attr_accessor :parent_display_name
985+
980986
# Represents operating system processes associated with the Finding.
981987
# Corresponds to the JSON property `processes`
982988
# @return [Array<Google::Apis::SecuritycenterV1beta2::Process>]
@@ -1054,6 +1060,7 @@ def update!(**args)
10541060
@name = args[:name] if args.key?(:name)
10551061
@next_steps = args[:next_steps] if args.key?(:next_steps)
10561062
@parent = args[:parent] if args.key?(:parent)
1063+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
10571064
@processes = args[:processes] if args.key?(:processes)
10581065
@resource_name = args[:resource_name] if args.key?(:resource_name)
10591066
@security_marks = args[:security_marks] if args.key?(:security_marks)
@@ -1462,6 +1469,40 @@ def update!(**args)
14621469
end
14631470
end
14641471

1472+
# A resource value config is a mapping configuration of user's tag values to
1473+
# resource values. Used by the attack path simulation.
1474+
class GoogleCloudSecuritycenterV1ResourceValueConfig
1475+
include Google::Apis::Core::Hashable
1476+
1477+
# Name for the resource value config
1478+
# Corresponds to the JSON property `name`
1479+
# @return [String]
1480+
attr_accessor :name
1481+
1482+
# Required. Resource value level this expression represents
1483+
# Corresponds to the JSON property `resourceValue`
1484+
# @return [String]
1485+
attr_accessor :resource_value
1486+
1487+
# Required. Tag values combined with AND to check against. Values in the form "
1488+
# tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
1489+
# https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
1490+
# Corresponds to the JSON property `tagValues`
1491+
# @return [Array<String>]
1492+
attr_accessor :tag_values
1493+
1494+
def initialize(**args)
1495+
update!(**args)
1496+
end
1497+
1498+
# Update properties of this object
1499+
def update!(**args)
1500+
@name = args[:name] if args.key?(:name)
1501+
@resource_value = args[:resource_value] if args.key?(:resource_value)
1502+
@tag_values = args[:tag_values] if args.key?(:tag_values)
1503+
end
1504+
end
1505+
14651506
# Response of asset discovery run
14661507
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
14671508
include Google::Apis::Core::Hashable

generated/google-apis-securitycenter_v1beta2/lib/google/apis/securitycenter_v1beta2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SecuritycenterV1beta2
1818
# Version of the google-apis-securitycenter_v1beta2 gem
19-
GEM_VERSION = "0.34.0"
19+
GEM_VERSION = "0.35.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.9.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20220825"
25+
REVISION = "20220909"
2626
end
2727
end
2828
end

generated/google-apis-securitycenter_v1beta2/lib/google/apis/securitycenter_v1beta2/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
196196
include Google::Apis::Core::JsonObjectSupport
197197
end
198198

199+
class GoogleCloudSecuritycenterV1ResourceValueConfig
200+
class Representation < Google::Apis::Core::JsonRepresentation; end
201+
202+
include Google::Apis::Core::JsonObjectSupport
203+
end
204+
199205
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
200206
class Representation < Google::Apis::Core::JsonRepresentation; end
201207

@@ -634,6 +640,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
634640
property :name, as: 'name'
635641
property :next_steps, as: 'nextSteps'
636642
property :parent, as: 'parent'
643+
property :parent_display_name, as: 'parentDisplayName'
637644
collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
638645

639646
property :resource_name, as: 'resourceName'
@@ -744,6 +751,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
744751
end
745752
end
746753

754+
class GoogleCloudSecuritycenterV1ResourceValueConfig
755+
# @private
756+
class Representation < Google::Apis::Core::JsonRepresentation
757+
property :name, as: 'name'
758+
property :resource_value, as: 'resourceValue'
759+
collection :tag_values, as: 'tagValues'
760+
end
761+
end
762+
747763
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
748764
# @private
749765
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)