Skip to content

Commit 1f62ea5

Browse files
feat: Automated regeneration of securitycenter v1 client (#24710)
Auto-created at 2025-10-26 09:34:34 +0000 using the toys pull request generator.
1 parent a336cac commit 1f62ea5

File tree

5 files changed

+191
-2
lines changed

5 files changed

+191
-2
lines changed

api_names_out.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344175,7 +344175,23 @@
344175344175
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResource/name": name
344176344176
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResource/type": type
344177344177
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplication": google_cloud_securitycenter_v2_issue_resource_application
344178+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplication/attributes": attributes
344178344179
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplication/name": name
344180+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes": google_cloud_securitycenter_v2_issue_resource_application_attributes
344181+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners": business_owners
344182+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners/business_owner": business_owner
344183+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/criticality": criticality
344184+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners": developer_owners
344185+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners/developer_owner": developer_owner
344186+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/environment": environment
344187+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners": operator_owners
344188+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners/operator_owner": operator_owner
344189+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo": google_cloud_securitycenter_v2_issue_resource_application_attributes_contact_info
344190+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo/email": email
344191+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality": google_cloud_securitycenter_v2_issue_resource_application_attributes_criticality
344192+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality/type": type
344193+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment": google_cloud_securitycenter_v2_issue_resource_application_attributes_environment
344194+
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment/type": type
344179344195
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": google_cloud_securitycenter_v2_issue_resource_aws_metadata
344180344196
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata/account": account
344181344197
"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": google_cloud_securitycenter_v2_issue_resource_aws_metadata_aws_account

generated/google-apis-securitycenter_v1/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_v1
22

3+
### v0.110.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251017
6+
37
### v0.109.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251006

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

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7993,6 +7993,11 @@ def update!(**args)
79937993
class GoogleCloudSecuritycenterV2IssueResourceApplication
79947994
include Google::Apis::Core::Hashable
79957995

7996+
# Consumer provided attributes for the application
7997+
# Corresponds to the JSON property `attributes`
7998+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes]
7999+
attr_accessor :attributes
8000+
79968001
# The resource name of an Application. Format: `projects/`host-project-id`/
79978002
# locations/`location`/applications/`application-id``
79988003
# Corresponds to the JSON property `name`
@@ -8005,10 +8010,111 @@ def initialize(**args)
80058010

80068011
# Update properties of this object
80078012
def update!(**args)
8013+
@attributes = args[:attributes] if args.key?(:attributes)
80088014
@name = args[:name] if args.key?(:name)
80098015
end
80108016
end
80118017

8018+
# Consumer provided attributes for the application
8019+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
8020+
include Google::Apis::Core::Hashable
8021+
8022+
# Business team that ensures user needs are met and value is delivered
8023+
# Corresponds to the JSON property `businessOwners`
8024+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
8025+
attr_accessor :business_owners
8026+
8027+
# Criticality of the Application, Service, or Workload
8028+
# Corresponds to the JSON property `criticality`
8029+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality]
8030+
attr_accessor :criticality
8031+
8032+
# Developer team that owns development and coding.
8033+
# Corresponds to the JSON property `developerOwners`
8034+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
8035+
attr_accessor :developer_owners
8036+
8037+
# Environment of the Application, Service, or Workload
8038+
# Corresponds to the JSON property `environment`
8039+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment]
8040+
attr_accessor :environment
8041+
8042+
# Operator team that ensures runtime and operations.
8043+
# Corresponds to the JSON property `operatorOwners`
8044+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
8045+
attr_accessor :operator_owners
8046+
8047+
def initialize(**args)
8048+
update!(**args)
8049+
end
8050+
8051+
# Update properties of this object
8052+
def update!(**args)
8053+
@business_owners = args[:business_owners] if args.key?(:business_owners)
8054+
@criticality = args[:criticality] if args.key?(:criticality)
8055+
@developer_owners = args[:developer_owners] if args.key?(:developer_owners)
8056+
@environment = args[:environment] if args.key?(:environment)
8057+
@operator_owners = args[:operator_owners] if args.key?(:operator_owners)
8058+
end
8059+
end
8060+
8061+
# Contact information of stakeholders.
8062+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
8063+
include Google::Apis::Core::Hashable
8064+
8065+
# Email address of the contacts.
8066+
# Corresponds to the JSON property `email`
8067+
# @return [String]
8068+
attr_accessor :email
8069+
8070+
def initialize(**args)
8071+
update!(**args)
8072+
end
8073+
8074+
# Update properties of this object
8075+
def update!(**args)
8076+
@email = args[:email] if args.key?(:email)
8077+
end
8078+
end
8079+
8080+
# Criticality of the Application, Service, or Workload
8081+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
8082+
include Google::Apis::Core::Hashable
8083+
8084+
# Criticality Type.
8085+
# Corresponds to the JSON property `type`
8086+
# @return [String]
8087+
attr_accessor :type
8088+
8089+
def initialize(**args)
8090+
update!(**args)
8091+
end
8092+
8093+
# Update properties of this object
8094+
def update!(**args)
8095+
@type = args[:type] if args.key?(:type)
8096+
end
8097+
end
8098+
8099+
# Environment of the Application, Service, or Workload
8100+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
8101+
include Google::Apis::Core::Hashable
8102+
8103+
# Environment Type.
8104+
# Corresponds to the JSON property `type`
8105+
# @return [String]
8106+
attr_accessor :type
8107+
8108+
def initialize(**args)
8109+
update!(**args)
8110+
end
8111+
8112+
# Update properties of this object
8113+
def update!(**args)
8114+
@type = args[:type] if args.key?(:type)
8115+
end
8116+
end
8117+
80128118
# The AWS metadata of a resource associated with an issue.
80138119
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
80148120
include Google::Apis::Core::Hashable

generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/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 SecuritycenterV1
1818
# Version of the google-apis-securitycenter_v1 gem
19-
GEM_VERSION = "0.109.0"
19+
GEM_VERSION = "0.110.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 = "20251006"
25+
REVISION = "20251017"
2626
end
2727
end
2828
end

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10661066
include Google::Apis::Core::JsonObjectSupport
10671067
end
10681068

1069+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
1070+
class Representation < Google::Apis::Core::JsonRepresentation; end
1071+
1072+
include Google::Apis::Core::JsonObjectSupport
1073+
end
1074+
1075+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
1076+
class Representation < Google::Apis::Core::JsonRepresentation; end
1077+
1078+
include Google::Apis::Core::JsonObjectSupport
1079+
end
1080+
1081+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
1082+
class Representation < Google::Apis::Core::JsonRepresentation; end
1083+
1084+
include Google::Apis::Core::JsonObjectSupport
1085+
end
1086+
1087+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
1088+
class Representation < Google::Apis::Core::JsonRepresentation; end
1089+
1090+
include Google::Apis::Core::JsonObjectSupport
1091+
end
1092+
10691093
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
10701094
class Representation < Google::Apis::Core::JsonRepresentation; end
10711095

@@ -3993,10 +4017,49 @@ class Representation < Google::Apis::Core::JsonRepresentation
39934017
class GoogleCloudSecuritycenterV2IssueResourceApplication
39944018
# @private
39954019
class Representation < Google::Apis::Core::JsonRepresentation
4020+
property :attributes, as: 'attributes', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes::Representation
4021+
39964022
property :name, as: 'name'
39974023
end
39984024
end
39994025

4026+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
4027+
# @private
4028+
class Representation < Google::Apis::Core::JsonRepresentation
4029+
collection :business_owners, as: 'businessOwners', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
4030+
4031+
property :criticality, as: 'criticality', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality::Representation
4032+
4033+
collection :developer_owners, as: 'developerOwners', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
4034+
4035+
property :environment, as: 'environment', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment::Representation
4036+
4037+
collection :operator_owners, as: 'operatorOwners', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
4038+
4039+
end
4040+
end
4041+
4042+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
4043+
# @private
4044+
class Representation < Google::Apis::Core::JsonRepresentation
4045+
property :email, as: 'email'
4046+
end
4047+
end
4048+
4049+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
4050+
# @private
4051+
class Representation < Google::Apis::Core::JsonRepresentation
4052+
property :type, as: 'type'
4053+
end
4054+
end
4055+
4056+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
4057+
# @private
4058+
class Representation < Google::Apis::Core::JsonRepresentation
4059+
property :type, as: 'type'
4060+
end
4061+
end
4062+
40004063
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
40014064
# @private
40024065
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)