lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.10.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.11.0

- old
+ new

@@ -20,10 +20,16 @@ module Google module Apis module SecuritycenterV1beta2 + class Access + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Config class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -68,10 +74,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Geolocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV1ExternalSystem class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -146,10 +164,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class MitreAttack + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Reference class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -188,10 +212,23 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Access + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :caller_ip, as: 'callerIp' + property :caller_ip_geo, as: 'callerIpGeo', class: Google::Apis::SecuritycenterV1beta2::Geolocation, decorator: Google::Apis::SecuritycenterV1beta2::Geolocation::Representation + + property :method_name, as: 'methodName' + property :principal_email, as: 'principalEmail' + property :service_name, as: 'serviceName' + property :user_agent_family, as: 'userAgentFamily' + end + end + class Config # @private class Representation < Google::Apis::Core::JsonRepresentation property :module_enablement_state, as: 'moduleEnablementState' hash :value, as: 'value' @@ -257,20 +294,24 @@ end class Finding # @private class Representation < Google::Apis::Core::JsonRepresentation + property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::Access, decorator: Google::Apis::SecuritycenterV1beta2::Access::Representation + property :canonical_name, as: 'canonicalName' property :category, as: 'category' property :create_time, as: 'createTime' property :event_time, as: 'eventTime' hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem::Representation property :external_uri, as: 'externalUri' property :finding_class, as: 'findingClass' property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation + property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation + property :mute, as: 'mute' property :mute_initiator, as: 'muteInitiator' property :mute_update_time, as: 'muteUpdateTime' property :name, as: 'name' property :parent, as: 'parent' @@ -291,10 +332,23 @@ property :resource_folder, as: 'resourceFolder' property :resource_folder_display_name, as: 'resourceFolderDisplayName' end end + class Geolocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :region_code, as: 'regionCode' + end + end + + class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudSecuritycenterV1ExternalSystem # @private class Representation < Google::Apis::Core::JsonRepresentation collection :assignees, as: 'assignees' property :external_system_update_time, as: 'externalSystemUpdateTime' @@ -430,9 +484,20 @@ class Indicator # @private class Representation < Google::Apis::Core::JsonRepresentation collection :domains, as: 'domains' collection :ip_addresses, as: 'ipAddresses' + end + end + + class MitreAttack + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_tactics, as: 'additionalTactics' + collection :additional_techniques, as: 'additionalTechniques' + property :primary_tactic, as: 'primaryTactic' + collection :primary_techniques, as: 'primaryTechniques' + property :version, as: 'version' end end class Reference # @private