lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.28.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.29.0

- old
+ new

@@ -26,10 +26,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AccessReview + 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 @@ -56,10 +62,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Container + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ContainerThreatDetectionSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -140,10 +152,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV1Binding + 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 @@ -230,10 +248,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Kubernetes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Label + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MemoryHashSignature class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -242,16 +272,34 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Node + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodePool + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OnboardingState 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 + class Process class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -272,10 +320,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Role + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SecurityCenterSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -290,10 +344,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Subject + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Subscription class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -333,10 +393,23 @@ property :service_name, as: 'serviceName' property :user_agent_family, as: 'userAgentFamily' end end + class AccessReview + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :group, as: 'group' + property :name, as: 'name' + property :ns, as: 'ns' + property :resource, as: 'resource' + property :subresource, as: 'subresource' + property :verb, as: 'verb' + property :version, as: 'version' + end + end + class Compliance # @private class Representation < Google::Apis::Core::JsonRepresentation collection :ids, as: 'ids' property :standard, as: 'standard' @@ -376,10 +449,21 @@ collection :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::Contact, decorator: Google::Apis::SecuritycenterV1beta2::Contact::Representation end end + class Container + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_id, as: 'imageId' + collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::Label, decorator: Google::Apis::SecuritycenterV1beta2::Label::Representation + + property :name, as: 'name' + property :uri, as: 'uri' + end + end + class ContainerThreatDetectionSettings # @private class Representation < Google::Apis::Core::JsonRepresentation hash :modules, as: 'modules', class: Google::Apis::SecuritycenterV1beta2::Config, decorator: Google::Apis::SecuritycenterV1beta2::Config::Representation @@ -494,10 +578,12 @@ collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta2::Connection, decorator: Google::Apis::SecuritycenterV1beta2::Connection::Representation hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::ContactDetails, decorator: Google::Apis::SecuritycenterV1beta2::ContactDetails::Representation + collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation + property :create_time, as: 'createTime' property :description, as: 'description' property :event_time, as: 'eventTime' property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::Exfiltration::Representation @@ -507,10 +593,12 @@ property :finding_class, as: 'findingClass' collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta2::IamBinding, decorator: Google::Apis::SecuritycenterV1beta2::IamBinding::Representation property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation + property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::Kubernetes::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' @@ -557,10 +645,22 @@ property :principal, as: 'principal' property :update_time, as: 'updateTime' end end + class GoogleCloudSecuritycenterV1Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :ns, as: 'ns' + property :role, as: 'role', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation + + collection :subjects, as: 'subjects', class: Google::Apis::SecuritycenterV1beta2::Subject, decorator: Google::Apis::SecuritycenterV1beta2::Subject::Representation + + end + end + class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation end end @@ -716,10 +816,36 @@ collection :signatures, as: 'signatures', class: Google::Apis::SecuritycenterV1beta2::ProcessSignature, decorator: Google::Apis::SecuritycenterV1beta2::ProcessSignature::Representation end end + class Kubernetes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1beta2::AccessReview, decorator: Google::Apis::SecuritycenterV1beta2::AccessReview::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding::Representation + + collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1beta2::NodePool, decorator: Google::Apis::SecuritycenterV1beta2::NodePool::Representation + + collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation + + collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta2::Pod, decorator: Google::Apis::SecuritycenterV1beta2::Pod::Representation + + collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation + + end + end + + class Label + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :value, as: 'value' + end + end + class MemoryHashSignature # @private class Representation < Google::Apis::Core::JsonRepresentation property :binary_family, as: 'binaryFamily' collection :detections, as: 'detections', class: Google::Apis::SecuritycenterV1beta2::Detection, decorator: Google::Apis::SecuritycenterV1beta2::Detection::Representation @@ -736,18 +862,46 @@ collection :primary_techniques, as: 'primaryTechniques' property :version, as: 'version' end end + class Node + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class NodePool + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation + + end + end + class OnboardingState # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' property :onboarding_level, as: 'onboardingLevel' end end + class Pod + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation + + collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::Label, decorator: Google::Apis::SecuritycenterV1beta2::Label::Representation + + property :name, as: 'name' + property :ns, as: 'ns' + end + end + class Process # @private class Representation < Google::Apis::Core::JsonRepresentation collection :args, as: 'args' property :arguments_truncated, as: 'argumentsTruncated' @@ -793,10 +947,19 @@ property :source, as: 'source' property :uri, as: 'uri' end end + class Role + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + property :ns, as: 'ns' + end + end + class SecurityCenterSettings # @private class Representation < Google::Apis::Core::JsonRepresentation property :log_sink_project, as: 'logSinkProject' property :name, as: 'name' @@ -821,9 +984,18 @@ # @private class Representation < Google::Apis::Core::JsonRepresentation property :canonical_name, as: 'canonicalName' hash :marks, as: 'marks' property :name, as: 'name' + end + end + + class Subject + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + property :ns, as: 'ns' end end class Subscription # @private