Sha256: 94a3e3ee9205b0fccb44b8db61505bd5df58f67ef523ab99ad65d9da9bb1b12f

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 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/annotations_pb'
require 'google/api/resource_pb'
require 'google/cloud/security_center/v1/security_marks_pb'
require 'google/protobuf/struct_pb'
require 'google/protobuf/timestamp_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
  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

1 entries across 1 versions & 1 rubygems

Version Path
google-cloud-security_center-0.4.3 lib/google/cloud/security_center/v1/asset_pb.rb