Skip to content

Commit bd7f4a7

Browse files
feat: Automated regeneration of securitycenter v1beta1 client (#24758)
Auto-created at 2025-10-26 10:54:10 +0000 using the toys pull request generator.
1 parent 345e3ff commit bd7f4a7

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
@@ -347418,7 +347418,23 @@
347418347418
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/name": name
347419347419
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResource/type": type
347420347420
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplication": google_cloud_securitycenter_v2_issue_resource_application
347421+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplication/attributes": attributes
347421347422
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplication/name": name
347423+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes": google_cloud_securitycenter_v2_issue_resource_application_attributes
347424+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners": business_owners
347425+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners/business_owner": business_owner
347426+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/criticality": criticality
347427+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners": developer_owners
347428+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners/developer_owner": developer_owner
347429+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/environment": environment
347430+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners": operator_owners
347431+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners/operator_owner": operator_owner
347432+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo": google_cloud_securitycenter_v2_issue_resource_application_attributes_contact_info
347433+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo/email": email
347434+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality": google_cloud_securitycenter_v2_issue_resource_application_attributes_criticality
347435+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality/type": type
347436+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment": google_cloud_securitycenter_v2_issue_resource_application_attributes_environment
347437+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment/type": type
347422347438
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": google_cloud_securitycenter_v2_issue_resource_aws_metadata
347423347439
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata/account": account
347424347440
"/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.99.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251017
6+
37
### v0.98.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251006

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

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

7646+
# Consumer provided attributes for the application
7647+
# Corresponds to the JSON property `attributes`
7648+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes]
7649+
attr_accessor :attributes
7650+
76467651
# The resource name of an Application. Format: `projects/`host-project-id`/
76477652
# locations/`location`/applications/`application-id``
76487653
# Corresponds to the JSON property `name`
@@ -7655,10 +7660,111 @@ def initialize(**args)
76557660

76567661
# Update properties of this object
76577662
def update!(**args)
7663+
@attributes = args[:attributes] if args.key?(:attributes)
76587664
@name = args[:name] if args.key?(:name)
76597665
end
76607666
end
76617667

7668+
# Consumer provided attributes for the application
7669+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
7670+
include Google::Apis::Core::Hashable
7671+
7672+
# Business team that ensures user needs are met and value is delivered
7673+
# Corresponds to the JSON property `businessOwners`
7674+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
7675+
attr_accessor :business_owners
7676+
7677+
# Criticality of the Application, Service, or Workload
7678+
# Corresponds to the JSON property `criticality`
7679+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality]
7680+
attr_accessor :criticality
7681+
7682+
# Developer team that owns development and coding.
7683+
# Corresponds to the JSON property `developerOwners`
7684+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
7685+
attr_accessor :developer_owners
7686+
7687+
# Environment of the Application, Service, or Workload
7688+
# Corresponds to the JSON property `environment`
7689+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment]
7690+
attr_accessor :environment
7691+
7692+
# Operator team that ensures runtime and operations.
7693+
# Corresponds to the JSON property `operatorOwners`
7694+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo>]
7695+
attr_accessor :operator_owners
7696+
7697+
def initialize(**args)
7698+
update!(**args)
7699+
end
7700+
7701+
# Update properties of this object
7702+
def update!(**args)
7703+
@business_owners = args[:business_owners] if args.key?(:business_owners)
7704+
@criticality = args[:criticality] if args.key?(:criticality)
7705+
@developer_owners = args[:developer_owners] if args.key?(:developer_owners)
7706+
@environment = args[:environment] if args.key?(:environment)
7707+
@operator_owners = args[:operator_owners] if args.key?(:operator_owners)
7708+
end
7709+
end
7710+
7711+
# Contact information of stakeholders.
7712+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
7713+
include Google::Apis::Core::Hashable
7714+
7715+
# Email address of the contacts.
7716+
# Corresponds to the JSON property `email`
7717+
# @return [String]
7718+
attr_accessor :email
7719+
7720+
def initialize(**args)
7721+
update!(**args)
7722+
end
7723+
7724+
# Update properties of this object
7725+
def update!(**args)
7726+
@email = args[:email] if args.key?(:email)
7727+
end
7728+
end
7729+
7730+
# Criticality of the Application, Service, or Workload
7731+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
7732+
include Google::Apis::Core::Hashable
7733+
7734+
# Criticality Type.
7735+
# Corresponds to the JSON property `type`
7736+
# @return [String]
7737+
attr_accessor :type
7738+
7739+
def initialize(**args)
7740+
update!(**args)
7741+
end
7742+
7743+
# Update properties of this object
7744+
def update!(**args)
7745+
@type = args[:type] if args.key?(:type)
7746+
end
7747+
end
7748+
7749+
# Environment of the Application, Service, or Workload
7750+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
7751+
include Google::Apis::Core::Hashable
7752+
7753+
# Environment Type.
7754+
# Corresponds to the JSON property `type`
7755+
# @return [String]
7756+
attr_accessor :type
7757+
7758+
def initialize(**args)
7759+
update!(**args)
7760+
end
7761+
7762+
# Update properties of this object
7763+
def update!(**args)
7764+
@type = args[:type] if args.key?(:type)
7765+
end
7766+
end
7767+
76627768
# The AWS metadata of a resource associated with an issue.
76637769
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
76647770
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.98.0"
19+
GEM_VERSION = "0.99.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_v1beta1/lib/google/apis/securitycenter_v1beta1/representations.rb

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10121012
include Google::Apis::Core::JsonObjectSupport
10131013
end
10141014

1015+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
1016+
class Representation < Google::Apis::Core::JsonRepresentation; end
1017+
1018+
include Google::Apis::Core::JsonObjectSupport
1019+
end
1020+
1021+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
1022+
class Representation < Google::Apis::Core::JsonRepresentation; end
1023+
1024+
include Google::Apis::Core::JsonObjectSupport
1025+
end
1026+
1027+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
1028+
class Representation < Google::Apis::Core::JsonRepresentation; end
1029+
1030+
include Google::Apis::Core::JsonObjectSupport
1031+
end
1032+
1033+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
1034+
class Representation < Google::Apis::Core::JsonRepresentation; end
1035+
1036+
include Google::Apis::Core::JsonObjectSupport
1037+
end
1038+
10151039
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
10161040
class Representation < Google::Apis::Core::JsonRepresentation; end
10171041

@@ -3665,10 +3689,49 @@ class Representation < Google::Apis::Core::JsonRepresentation
36653689
class GoogleCloudSecuritycenterV2IssueResourceApplication
36663690
# @private
36673691
class Representation < Google::Apis::Core::JsonRepresentation
3692+
property :attributes, as: 'attributes', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes::Representation
3693+
36683694
property :name, as: 'name'
36693695
end
36703696
end
36713697

3698+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes
3699+
# @private
3700+
class Representation < Google::Apis::Core::JsonRepresentation
3701+
collection :business_owners, as: 'businessOwners', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
3702+
3703+
property :criticality, as: 'criticality', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality::Representation
3704+
3705+
collection :developer_owners, as: 'developerOwners', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
3706+
3707+
property :environment, as: 'environment', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment::Representation
3708+
3709+
collection :operator_owners, as: 'operatorOwners', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation
3710+
3711+
end
3712+
end
3713+
3714+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo
3715+
# @private
3716+
class Representation < Google::Apis::Core::JsonRepresentation
3717+
property :email, as: 'email'
3718+
end
3719+
end
3720+
3721+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality
3722+
# @private
3723+
class Representation < Google::Apis::Core::JsonRepresentation
3724+
property :type, as: 'type'
3725+
end
3726+
end
3727+
3728+
class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment
3729+
# @private
3730+
class Representation < Google::Apis::Core::JsonRepresentation
3731+
property :type, as: 'type'
3732+
end
3733+
end
3734+
36723735
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
36733736
# @private
36743737
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)