Skip to content

Commit c7a7cd7

Browse files
feat: Automated regeneration of securitycenter v1beta1 client (#24242)
Auto-created at 2025-09-14 09:13:09 +0000 using the toys pull request generator.
1 parent 2b1f1f4 commit c7a7cd7

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
@@ -339532,13 +339532,16 @@
339532339532
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueMute/muteState": mute_state
339533339533
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueMute/muteUpdateTime": mute_update_time
339534339534
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource": google_cloud_securitycenter_v2_issue_resource
339535+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/application": application
339535339536
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/awsMetadata": aws_metadata
339536339537
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/azureMetadata": azure_metadata
339537339538
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/cloudProvider": cloud_provider
339538339539
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/displayName": display_name
339539339540
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/googleCloudMetadata": google_cloud_metadata
339540339541
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/name": name
339541339542
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/type": type
339543+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplication": google_cloud_securitycenter_v2_issue_resource_application
339544+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplication/name": name
339542339545
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": google_cloud_securitycenter_v2_issue_resource_aws_metadata
339543339546
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata/account": account
339544339547
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": google_cloud_securitycenter_v2_issue_resource_aws_metadata_aws_account

generated/google-apis-securitycenter_v1beta1/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_v1beta1
22

3+
### v0.97.0 (2025-09-14)
4+
5+
* Regenerated from discovery document revision 20250905
6+
37
### v0.96.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250815

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

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6565,14 +6565,11 @@ class GoogleCloudSecuritycenterV2Finding
65656565
attr_accessor :backup_disaster_recovery
65666566

65676567
# Output only. The canonical name of the finding. The following list shows some
6568-
# examples: + `organizations/`organization_id`/sources/`source_id`/findings/`
6569-
# finding_id`` + `organizations/`organization_id`/sources/`source_id`/locations/`
6568+
# examples: + `organizations/`organization_id`/sources/`source_id`/locations/`
65706569
# location_id`/findings/`finding_id`` + `folders/`folder_id`/sources/`source_id`/
6571-
# findings/`finding_id`` + `folders/`folder_id`/sources/`source_id`/locations/`
6572-
# location_id`/findings/`finding_id`` + `projects/`project_id`/sources/`
6573-
# source_id`/findings/`finding_id`` + `projects/`project_id`/sources/`source_id`/
6574-
# locations/`location_id`/findings/`finding_id`` The prefix is the closest CRM
6575-
# ancestor of the resource associated with the finding.
6570+
# locations/`location_id`/findings/`finding_id`` + `projects/`project_id`/
6571+
# sources/`source_id`/locations/`location_id`/findings/`finding_id`` The prefix
6572+
# is the closest CRM ancestor of the resource associated with the finding.
65766573
# Corresponds to the JSON property `canonicalName`
65776574
# @return [String]
65786575
attr_accessor :canonical_name
@@ -7534,6 +7531,11 @@ def update!(**args)
75347531
class GoogleCloudSecuritycenterV2IssueResource
75357532
include Google::Apis::Core::Hashable
75367533

7534+
# The AppHub application associated with the resource, if any.
7535+
# Corresponds to the JSON property `application`
7536+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplication]
7537+
attr_accessor :application
7538+
75377539
# The AWS metadata of a resource associated with an issue.
75387540
# Corresponds to the JSON property `awsMetadata`
75397541
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata]
@@ -7576,6 +7578,7 @@ def initialize(**args)
75767578

75777579
# Update properties of this object
75787580
def update!(**args)
7581+
@application = args[:application] if args.key?(:application)
75797582
@aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
75807583
@azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
75817584
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@@ -7586,6 +7589,26 @@ def update!(**args)
75867589
end
75877590
end
75887591

7592+
# The AppHub application associated with the resource, if any.
7593+
class GoogleCloudSecuritycenterV2IssueResourceApplication
7594+
include Google::Apis::Core::Hashable
7595+
7596+
# The resource name of an Application. Format: `projects/`host-project-id`/
7597+
# locations/`location`/applications/`application-id``
7598+
# Corresponds to the JSON property `name`
7599+
# @return [String]
7600+
attr_accessor :name
7601+
7602+
def initialize(**args)
7603+
update!(**args)
7604+
end
7605+
7606+
# Update properties of this object
7607+
def update!(**args)
7608+
@name = args[:name] if args.key?(:name)
7609+
end
7610+
end
7611+
75897612
# The AWS metadata of a resource associated with an issue.
75907613
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
75917614
include Google::Apis::Core::Hashable

generated/google-apis-securitycenter_v1beta1/lib/google/apis/securitycenter_v1beta1/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 SecuritycenterV1beta1
1818
# Version of the google-apis-securitycenter_v1beta1 gem
19-
GEM_VERSION = "0.96.0"
19+
GEM_VERSION = "0.97.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_v1beta1/lib/google/apis/securitycenter_v1beta1/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10001000
include Google::Apis::Core::JsonObjectSupport
10011001
end
10021002

1003+
class GoogleCloudSecuritycenterV2IssueResourceApplication
1004+
class Representation < Google::Apis::Core::JsonRepresentation; end
1005+
1006+
include Google::Apis::Core::JsonObjectSupport
1007+
end
1008+
10031009
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
10041010
class Representation < Google::Apis::Core::JsonRepresentation; end
10051011

@@ -3603,6 +3609,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
36033609
class GoogleCloudSecuritycenterV2IssueResource
36043610
# @private
36053611
class Representation < Google::Apis::Core::JsonRepresentation
3612+
property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplication, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplication::Representation
3613+
36063614
property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata::Representation
36073615

36083616
property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata::Representation
@@ -3616,6 +3624,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
36163624
end
36173625
end
36183626

3627+
class GoogleCloudSecuritycenterV2IssueResourceApplication
3628+
# @private
3629+
class Representation < Google::Apis::Core::JsonRepresentation
3630+
property :name, as: 'name'
3631+
end
3632+
end
3633+
36193634
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
36203635
# @private
36213636
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)