# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/asset/v1beta1/asset_service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/asset/v1beta1/assets_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/asset/v1beta1/asset_service.proto", :syntax => :proto3) do add_message "google.cloud.asset.v1beta1.ExportAssetsRequest" do optional :parent, :string, 1 optional :read_time, :message, 2, "google.protobuf.Timestamp" repeated :asset_types, :string, 3 optional :content_type, :enum, 4, "google.cloud.asset.v1beta1.ContentType" optional :output_config, :message, 5, "google.cloud.asset.v1beta1.OutputConfig" end add_message "google.cloud.asset.v1beta1.ExportAssetsResponse" do optional :read_time, :message, 1, "google.protobuf.Timestamp" optional :output_config, :message, 2, "google.cloud.asset.v1beta1.OutputConfig" end add_message "google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest" do optional :parent, :string, 1 repeated :asset_names, :string, 2 optional :content_type, :enum, 3, "google.cloud.asset.v1beta1.ContentType" optional :read_time_window, :message, 4, "google.cloud.asset.v1beta1.TimeWindow" end add_message "google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse" do repeated :assets, :message, 1, "google.cloud.asset.v1beta1.TemporalAsset" end add_message "google.cloud.asset.v1beta1.OutputConfig" do oneof :destination do optional :gcs_destination, :message, 1, "google.cloud.asset.v1beta1.GcsDestination" end end add_message "google.cloud.asset.v1beta1.GcsDestination" do oneof :object_uri do optional :uri, :string, 1 optional :uri_prefix, :string, 2 end end add_enum "google.cloud.asset.v1beta1.ContentType" do value :CONTENT_TYPE_UNSPECIFIED, 0 value :RESOURCE, 1 value :IAM_POLICY, 2 end end end module Google module Cloud module Asset module V1beta1 ExportAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1beta1.ExportAssetsRequest").msgclass ExportAssetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1beta1.ExportAssetsResponse").msgclass BatchGetAssetsHistoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1beta1.BatchGetAssetsHistoryRequest").msgclass BatchGetAssetsHistoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1beta1.BatchGetAssetsHistoryResponse").msgclass OutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1beta1.OutputConfig").msgclass GcsDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1beta1.GcsDestination").msgclass ContentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1beta1.ContentType").enummodule end end end end