Sha256: 04fdb803efc578332bc9340aa06e398268ddbd2ffb581d463c38c8bf72f30ce0

Contents?: true

Size: 1.99 KB

Versions: 4

Compression:

Stored size: 1.99 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/security_center/v1/asset.proto


require 'google/protobuf'

require 'google/api/resource_pb'
require 'google/cloud/security_center/v1/security_marks_pb'
require 'google/protobuf/struct_pb'
require 'google/protobuf/timestamp_pb'
require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.cloud.securitycenter.v1.Asset" do
    optional :name, :string, 1
    optional :security_center_properties, :message, 2, "google.cloud.securitycenter.v1.Asset.SecurityCenterProperties"
    map :resource_properties, :string, :message, 7, "google.protobuf.Value"
    optional :security_marks, :message, 8, "google.cloud.securitycenter.v1.SecurityMarks"
    optional :create_time, :message, 9, "google.protobuf.Timestamp"
    optional :update_time, :message, 10, "google.protobuf.Timestamp"
    optional :iam_policy, :message, 11, "google.cloud.securitycenter.v1.Asset.IamPolicy"
  end
  add_message "google.cloud.securitycenter.v1.Asset.SecurityCenterProperties" do
    optional :resource_name, :string, 1
    optional :resource_type, :string, 2
    optional :resource_parent, :string, 3
    optional :resource_project, :string, 4
    repeated :resource_owners, :string, 5
    optional :resource_display_name, :string, 6
    optional :resource_parent_display_name, :string, 7
    optional :resource_project_display_name, :string, 8
  end
  add_message "google.cloud.securitycenter.v1.Asset.IamPolicy" do
    optional :policy_blob, :string, 1
  end
end

module Google::Cloud::SecurityCenter::V1
  Asset = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Asset").msgclass
  Asset::SecurityCenterProperties = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Asset.SecurityCenterProperties").msgclass
  Asset::IamPolicy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Asset.IamPolicy").msgclass
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
google-cloud-security_center-0.7.0 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.6.0 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.5.1 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.5.0 lib/google/cloud/security_center/v1/asset_pb.rb