Skip to content

Commit 0f84f5c

Browse files
feat: Automated regeneration of securitycenter v1beta2 client (googleapis#24298)
Auto-created at 2025-09-14 10:42:52 +0000 using the toys pull request generator.
1 parent 66bf6ff commit 0f84f5c

File tree

5 files changed

+54
-9
lines changed

5 files changed

+54
-9
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342002,13 +342002,16 @@
342002342002
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueMute/muteState": mute_state
342003342003
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueMute/muteUpdateTime": mute_update_time
342004342004
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource": google_cloud_securitycenter_v2_issue_resource
342005+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/application": application
342005342006
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/awsMetadata": aws_metadata
342006342007
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/azureMetadata": azure_metadata
342007342008
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/cloudProvider": cloud_provider
342008342009
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/displayName": display_name
342009342010
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/googleCloudMetadata": google_cloud_metadata
342010342011
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/name": name
342011342012
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/type": type
342013+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplication": google_cloud_securitycenter_v2_issue_resource_application
342014+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplication/name": name
342012342015
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": google_cloud_securitycenter_v2_issue_resource_aws_metadata
342013342016
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata/account": account
342014342017
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": google_cloud_securitycenter_v2_issue_resource_aws_metadata_aws_account

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.90.0 (2025-09-14)
4+
5+
* Regenerated from discovery document revision 20250905
6+
37
### v0.89.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250815

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

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6249,14 +6249,11 @@ class GoogleCloudSecuritycenterV2Finding
62496249
attr_accessor :backup_disaster_recovery
62506250

62516251
# Output only. The canonical name of the finding. The following list shows some
6252-
# examples: + `organizations/`organization_id`/sources/`source_id`/findings/`
6253-
# finding_id`` + `organizations/`organization_id`/sources/`source_id`/locations/`
6252+
# examples: + `organizations/`organization_id`/sources/`source_id`/locations/`
62546253
# location_id`/findings/`finding_id`` + `folders/`folder_id`/sources/`source_id`/
6255-
# findings/`finding_id`` + `folders/`folder_id`/sources/`source_id`/locations/`
6256-
# location_id`/findings/`finding_id`` + `projects/`project_id`/sources/`
6257-
# source_id`/findings/`finding_id`` + `projects/`project_id`/sources/`source_id`/
6258-
# locations/`location_id`/findings/`finding_id`` The prefix is the closest CRM
6259-
# ancestor of the resource associated with the finding.
6254+
# locations/`location_id`/findings/`finding_id`` + `projects/`project_id`/
6255+
# sources/`source_id`/locations/`location_id`/findings/`finding_id`` The prefix
6256+
# is the closest CRM ancestor of the resource associated with the finding.
62606257
# Corresponds to the JSON property `canonicalName`
62616258
# @return [String]
62626259
attr_accessor :canonical_name
@@ -7218,6 +7215,11 @@ def update!(**args)
72187215
class GoogleCloudSecuritycenterV2IssueResource
72197216
include Google::Apis::Core::Hashable
72207217

7218+
# The AppHub application associated with the resource, if any.
7219+
# Corresponds to the JSON property `application`
7220+
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplication]
7221+
attr_accessor :application
7222+
72217223
# The AWS metadata of a resource associated with an issue.
72227224
# Corresponds to the JSON property `awsMetadata`
72237225
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata]
@@ -7260,6 +7262,7 @@ def initialize(**args)
72607262

72617263
# Update properties of this object
72627264
def update!(**args)
7265+
@application = args[:application] if args.key?(:application)
72637266
@aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
72647267
@azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
72657268
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@@ -7270,6 +7273,26 @@ def update!(**args)
72707273
end
72717274
end
72727275

7276+
# The AppHub application associated with the resource, if any.
7277+
class GoogleCloudSecuritycenterV2IssueResourceApplication
7278+
include Google::Apis::Core::Hashable
7279+
7280+
# The resource name of an Application. Format: `projects/`host-project-id`/
7281+
# locations/`location`/applications/`application-id``
7282+
# Corresponds to the JSON property `name`
7283+
# @return [String]
7284+
attr_accessor :name
7285+
7286+
def initialize(**args)
7287+
update!(**args)
7288+
end
7289+
7290+
# Update properties of this object
7291+
def update!(**args)
7292+
@name = args[:name] if args.key?(:name)
7293+
end
7294+
end
7295+
72737296
# The AWS metadata of a resource associated with an issue.
72747297
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
72757298
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.89.0"
19+
GEM_VERSION = "0.90.0"
2020

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

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

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
958958
include Google::Apis::Core::JsonObjectSupport
959959
end
960960

961+
class GoogleCloudSecuritycenterV2IssueResourceApplication
962+
class Representation < Google::Apis::Core::JsonRepresentation; end
963+
964+
include Google::Apis::Core::JsonObjectSupport
965+
end
966+
961967
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
962968
class Representation < Google::Apis::Core::JsonRepresentation; end
963969

@@ -3410,6 +3416,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
34103416
class GoogleCloudSecuritycenterV2IssueResource
34113417
# @private
34123418
class Representation < Google::Apis::Core::JsonRepresentation
3419+
property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplication, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplication::Representation
3420+
34133421
property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata::Representation
34143422

34153423
property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata::Representation
@@ -3423,6 +3431,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
34233431
end
34243432
end
34253433

3434+
class GoogleCloudSecuritycenterV2IssueResourceApplication
3435+
# @private
3436+
class Representation < Google::Apis::Core::JsonRepresentation
3437+
property :name, as: 'name'
3438+
end
3439+
end
3440+
34263441
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
34273442
# @private
34283443
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)