Skip to content

Commit a514439

Browse files
feat: Automated regeneration of securitycenter v1beta2 client (#24760)
Auto-created at 2025-10-26 10:56:51 +0000 using the toys pull request generator.
1 parent e86cb6e commit a514439

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
@@ -349891,7 +349891,23 @@
349891349891
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/name": name
349892349892
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResource/type": type
349893349893
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplication": google_cloud_securitycenter_v2_issue_resource_application
349894+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplication/attributes": attributes
349894349895
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplication/name": name
349896+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes": google_cloud_securitycenter_v2_issue_resource_application_attributes
349897+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners": business_owners
349898+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners/business_owner": business_owner
349899+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/criticality": criticality
349900+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners": developer_owners
349901+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners/developer_owner": developer_owner
349902+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/environment": environment
349903+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners": operator_owners
349904+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners/operator_owner": operator_owner
349905+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo": google_cloud_securitycenter_v2_issue_resource_application_attributes_contact_info
349906+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo/email": email
349907+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality": google_cloud_securitycenter_v2_issue_resource_application_attributes_criticality
349908+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality/type": type
349909+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment": google_cloud_securitycenter_v2_issue_resource_application_attributes_environment
349910+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment/type": type
349895349911
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": google_cloud_securitycenter_v2_issue_resource_aws_metadata
349896349912
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata/account": account
349897349913
"/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.92.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251017
6+
37
### v0.91.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251006

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

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

7330+
# Consumer provided attributes for the application
7331+
# Corresponds to the JSON property `attributes`
7332+
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes]
7333+
attr_accessor :attributes
7334+
73307335
# The resource name of an Application. Format: `projects/`host-project-id`/
73317336
# locations/`location`/applications/`application-id``
73327337
# Corresponds to the JSON property `name`
@@ -7339,10 +7344,111 @@ def initialize(**args)
73397344

73407345
# Update properties of this object
73417346
def update!(**args)
7347+
@attributes = args[:attributes] if args.key?(:attributes)
73427348
@name = args[:name] if args.key?(:name)
73437349
end
73447350
end
73457351

7352+
# Consumer provided attributes for the application
7353+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
7354+
include Google::Apis::Core::Hashable
7355+
7356+
# Business team that ensures user needs are met and value is delivered
7357+
# Corresponds to the JSON property `businessOwners`
7358+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
7359+
attr_accessor :business_owners
7360+
7361+
# Criticality of the Application, Service, or Workload
7362+
# Corresponds to the JSON property `criticality`
7363+
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality]
7364+
attr_accessor :criticality
7365+
7366+
# Developer team that owns development and coding.
7367+
# Corresponds to the JSON property `developerOwners`
7368+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
7369+
attr_accessor :developer_owners
7370+
7371+
# Environment of the Application, Service, or Workload
7372+
# Corresponds to the JSON property `environment`
7373+
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment]
7374+
attr_accessor :environment
7375+
7376+
# Operator team that ensures runtime and operations.
7377+
# Corresponds to the JSON property `operatorOwners`
7378+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
7379+
attr_accessor :operator_owners
7380+
7381+
def initialize(**args)
7382+
update!(**args)
7383+
end
7384+
7385+
# Update properties of this object
7386+
def update!(**args)
7387+
@business_owners = args[:business_owners] if args.key?(:business_owners)
7388+
@criticality = args[:criticality] if args.key?(:criticality)
7389+
@developer_owners = args[:developer_owners] if args.key?(:developer_owners)
7390+
@environment = args[:environment] if args.key?(:environment)
7391+
@operator_owners = args[:operator_owners] if args.key?(:operator_owners)
7392+
end
7393+
end
7394+
7395+
# Contact information of stakeholders.
7396+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
7397+
include Google::Apis::Core::Hashable
7398+
7399+
# Email address of the contacts.
7400+
# Corresponds to the JSON property `email`
7401+
# @return [String]
7402+
attr_accessor :email
7403+
7404+
def initialize(**args)
7405+
update!(**args)
7406+
end
7407+
7408+
# Update properties of this object
7409+
def update!(**args)
7410+
@email = args[:email] if args.key?(:email)
7411+
end
7412+
end
7413+
7414+
# Criticality of the Application, Service, or Workload
7415+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
7416+
include Google::Apis::Core::Hashable
7417+
7418+
# Criticality Type.
7419+
# Corresponds to the JSON property `type`
7420+
# @return [String]
7421+
attr_accessor :type
7422+
7423+
def initialize(**args)
7424+
update!(**args)
7425+
end
7426+
7427+
# Update properties of this object
7428+
def update!(**args)
7429+
@type = args[:type] if args.key?(:type)
7430+
end
7431+
end
7432+
7433+
# Environment of the Application, Service, or Workload
7434+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
7435+
include Google::Apis::Core::Hashable
7436+
7437+
# Environment Type.
7438+
# Corresponds to the JSON property `type`
7439+
# @return [String]
7440+
attr_accessor :type
7441+
7442+
def initialize(**args)
7443+
update!(**args)
7444+
end
7445+
7446+
# Update properties of this object
7447+
def update!(**args)
7448+
@type = args[:type] if args.key?(:type)
7449+
end
7450+
end
7451+
73467452
# The AWS metadata of a resource associated with an issue.
73477453
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
73487454
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.91.0"
19+
GEM_VERSION = "0.92.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_v1beta2/lib/google/apis/securitycenter_v1beta2/representations.rb

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
970970
include Google::Apis::Core::JsonObjectSupport
971971
end
972972

973+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
974+
class Representation < Google::Apis::Core::JsonRepresentation; end
975+
976+
include Google::Apis::Core::JsonObjectSupport
977+
end
978+
979+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
980+
class Representation < Google::Apis::Core::JsonRepresentation; end
981+
982+
include Google::Apis::Core::JsonObjectSupport
983+
end
984+
985+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
986+
class Representation < Google::Apis::Core::JsonRepresentation; end
987+
988+
include Google::Apis::Core::JsonObjectSupport
989+
end
990+
991+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
992+
class Representation < Google::Apis::Core::JsonRepresentation; end
993+
994+
include Google::Apis::Core::JsonObjectSupport
995+
end
996+
973997
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
974998
class Representation < Google::Apis::Core::JsonRepresentation; end
975999

@@ -3472,10 +3496,49 @@ class Representation < Google::Apis::Core::JsonRepresentation
34723496
class GoogleCloudSecuritycenterV2IssueResourceApplication
34733497
# @private
34743498
class Representation < Google::Apis::Core::JsonRepresentation
3499+
property :attributes, as: 'attributes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes::Representation
3500+
34753501
property :name, as: 'name'
34763502
end
34773503
end
34783504

3505+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
3506+
# @private
3507+
class Representation < Google::Apis::Core::JsonRepresentation
3508+
collection :business_owners, as: 'businessOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
3509+
3510+
property :criticality, as: 'criticality', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality::Representation
3511+
3512+
collection :developer_owners, as: 'developerOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
3513+
3514+
property :environment, as: 'environment', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment::Representation
3515+
3516+
collection :operator_owners, as: 'operatorOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
3517+
3518+
end
3519+
end
3520+
3521+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
3522+
# @private
3523+
class Representation < Google::Apis::Core::JsonRepresentation
3524+
property :email, as: 'email'
3525+
end
3526+
end
3527+
3528+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
3529+
# @private
3530+
class Representation < Google::Apis::Core::JsonRepresentation
3531+
property :type, as: 'type'
3532+
end
3533+
end
3534+
3535+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
3536+
# @private
3537+
class Representation < Google::Apis::Core::JsonRepresentation
3538+
property :type, as: 'type'
3539+
end
3540+
end
3541+
34793542
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
34803543
# @private
34813544
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)