Sha256: a9923eb6194a0d578720d7e6cbff823c3cf95401b5503299270c0dfba6f7ebfd

Contents?: true

Size: 1.8 KB

Versions: 11

Compression:

Stored size: 1.8 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/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

11 entries across 11 versions & 1 rubygems

Version Path
google-cloud-security_center-0.4.2 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.4.1 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.4.0 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.3.3 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.3.2 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.3.1 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.3.0 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.2.1 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.2.0 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.1.1 lib/google/cloud/security_center/v1/asset_pb.rb
google-cloud-security_center-0.1.0 lib/google/cloud/security_center/v1/asset_pb.rb