diff --git a/api_names_out.yaml b/api_names_out.yaml index dfd53947380..47418f75b91 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -343782,7 +343782,23 @@ "/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResource/name": name "/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResource/type": type "/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplication": google_cloud_securitycenter_v2_issue_resource_application +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplication/attributes": attributes "/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplication/name": name +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes": google_cloud_securitycenter_v2_issue_resource_application_attributes +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners": business_owners +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/businessOwners/business_owner": business_owner +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/criticality": criticality +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners": developer_owners +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/developerOwners/developer_owner": developer_owner +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/environment": environment +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners": operator_owners +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes/operatorOwners/operator_owner": operator_owner +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo": google_cloud_securitycenter_v2_issue_resource_application_attributes_contact_info +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo/email": email +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality": google_cloud_securitycenter_v2_issue_resource_application_attributes_criticality +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality/type": type +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment": google_cloud_securitycenter_v2_issue_resource_application_attributes_environment +"/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment/type": type "/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": google_cloud_securitycenter_v2_issue_resource_aws_metadata "/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadata/account": account "/securitycenter:v1/GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": google_cloud_securitycenter_v2_issue_resource_aws_metadata_aws_account diff --git a/generated/google-apis-securitycenter_v1/CHANGELOG.md b/generated/google-apis-securitycenter_v1/CHANGELOG.md index 079bf59fd2e..f1b2eb8d918 100644 --- a/generated/google-apis-securitycenter_v1/CHANGELOG.md +++ b/generated/google-apis-securitycenter_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-securitycenter_v1 +### v0.110.0 (2025-10-26) + +* Regenerated from discovery document revision 20251017 + ### v0.109.0 (2025-10-12) * Regenerated from discovery document revision 20251006 diff --git a/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/classes.rb b/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/classes.rb index a3af6dd2f92..652c57a51dd 100644 --- a/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/classes.rb +++ b/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/classes.rb @@ -7993,6 +7993,11 @@ def update!(**args) class GoogleCloudSecuritycenterV2IssueResourceApplication include Google::Apis::Core::Hashable + # Consumer provided attributes for the application + # Corresponds to the JSON property `attributes` + # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes] + attr_accessor :attributes + # The resource name of an Application. Format: `projects/`host-project-id`/ # locations/`location`/applications/`application-id`` # Corresponds to the JSON property `name` @@ -8005,10 +8010,111 @@ def initialize(**args) # Update properties of this object def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) @name = args[:name] if args.key?(:name) end end + # Consumer provided attributes for the application + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes + include Google::Apis::Core::Hashable + + # Business team that ensures user needs are met and value is delivered + # Corresponds to the JSON property `businessOwners` + # @return [Array] + attr_accessor :business_owners + + # Criticality of the Application, Service, or Workload + # Corresponds to the JSON property `criticality` + # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality] + attr_accessor :criticality + + # Developer team that owns development and coding. + # Corresponds to the JSON property `developerOwners` + # @return [Array] + attr_accessor :developer_owners + + # Environment of the Application, Service, or Workload + # Corresponds to the JSON property `environment` + # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment] + attr_accessor :environment + + # Operator team that ensures runtime and operations. + # Corresponds to the JSON property `operatorOwners` + # @return [Array] + attr_accessor :operator_owners + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @business_owners = args[:business_owners] if args.key?(:business_owners) + @criticality = args[:criticality] if args.key?(:criticality) + @developer_owners = args[:developer_owners] if args.key?(:developer_owners) + @environment = args[:environment] if args.key?(:environment) + @operator_owners = args[:operator_owners] if args.key?(:operator_owners) + end + end + + # Contact information of stakeholders. + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + include Google::Apis::Core::Hashable + + # Email address of the contacts. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + end + end + + # Criticality of the Application, Service, or Workload + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality + include Google::Apis::Core::Hashable + + # Criticality Type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + end + end + + # Environment of the Application, Service, or Workload + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment + include Google::Apis::Core::Hashable + + # Environment Type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + end + end + # The AWS metadata of a resource associated with an issue. class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata include Google::Apis::Core::Hashable diff --git a/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/gem_version.rb b/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/gem_version.rb index 5a12865081f..2b1bc449444 100644 --- a/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/gem_version.rb +++ b/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module SecuritycenterV1 # Version of the google-apis-securitycenter_v1 gem - GEM_VERSION = "0.109.0" + GEM_VERSION = "0.110.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251006" + REVISION = "20251017" end end end diff --git a/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/representations.rb b/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/representations.rb index 53a6dfff145..bbbdb930030 100644 --- a/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/representations.rb +++ b/generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/representations.rb @@ -1066,6 +1066,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3993,10 +4017,49 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudSecuritycenterV2IssueResourceApplication # @private class Representation < Google::Apis::Core::JsonRepresentation + property :attributes, as: 'attributes', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes::Representation + property :name, as: 'name' end end + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :business_owners, as: 'businessOwners', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation + + property :criticality, as: 'criticality', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality::Representation + + collection :developer_owners, as: 'developerOwners', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation + + property :environment, as: 'environment', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment::Representation + + collection :operator_owners, as: 'operatorOwners', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo::Representation + + end + end + + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + end + end + + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + end + end + + class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + end + end + class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation