-
Notifications
You must be signed in to change notification settings - Fork 535
/
asset_pb.rb
41 lines (37 loc) · 1.99 KB
/
asset_pb.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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
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