lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.37.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.38.0

- old
+ new

@@ -32,10 +32,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AssociatedFinding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Compliance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -104,10 +110,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Edge + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EnvironmentVariable class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -314,10 +326,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class PathNode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Pod class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -424,11 +442,11 @@ collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo, decorator: Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo::Representation property :service_account_key_name, as: 'serviceAccountKeyName' property :service_name, as: 'serviceName' property :user_agent_family, as: 'userAgentFamily' - property :username, as: 'username' + property :user_name, as: 'userName' end end class AccessReview # @private @@ -441,10 +459,18 @@ property :verb, as: 'verb' property :version, as: 'version' end end + class AssociatedFinding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :canonical_finding_name, as: 'canonicalFindingName' + property :finding_category, as: 'findingCategory' + end + end + class Compliance # @private class Representation < Google::Apis::Core::JsonRepresentation collection :ids, as: 'ids' property :standard, as: 'standard' @@ -562,10 +588,18 @@ property :binary, as: 'binary' property :percent_pages_matched, as: 'percentPagesMatched' end end + class Edge + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination, as: 'destination' + property :source, as: 'source' + end + end + class EnvironmentVariable # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :val, as: 'val' @@ -715,16 +749,29 @@ end class GoogleCloudSecuritycenterV1ExposedResource # @private class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + collection :methods_prop, as: 'methods' + property :name, as: 'name' + property :resource, as: 'resource' + property :resource_type, as: 'resourceType' + property :resource_value, as: 'resourceValue' end end class GoogleCloudSecuritycenterV1ExposurePath # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :edges, as: 'edges', class: Google::Apis::SecuritycenterV1beta2::Edge, decorator: Google::Apis::SecuritycenterV1beta2::Edge::Representation + + property :exposed_resource, as: 'exposedResource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource::Representation + + property :name, as: 'name' + collection :path_nodes, as: 'pathNodes', class: Google::Apis::SecuritycenterV1beta2::PathNode, decorator: Google::Apis::SecuritycenterV1beta2::PathNode::Representation + end end class GoogleCloudSecuritycenterV1ExternalSystem # @private @@ -954,9 +1001,20 @@ class OnboardingState # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :onboarding_level, as: 'onboardingLevel' + end + end + + class PathNode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :associated_findings, as: 'associatedFindings', class: Google::Apis::SecuritycenterV1beta2::AssociatedFinding, decorator: Google::Apis::SecuritycenterV1beta2::AssociatedFinding::Representation + + property :display_name, as: 'displayName' + property :resource, as: 'resource' + property :resource_type, as: 'resourceType' end end class Pod # @private