# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/channel/v1/reports_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/longrunning/operations_pb' require 'google/protobuf/timestamp_pb' require 'google/type/date_pb' require 'google/type/datetime_pb' require 'google/type/decimal_pb' require 'google/type/money_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/channel/v1/reports_service.proto", :syntax => :proto3) do add_message "google.cloud.channel.v1.RunReportJobRequest" do optional :name, :string, 1 optional :date_range, :message, 2, "google.cloud.channel.v1.DateRange" optional :filter, :string, 3 optional :language_code, :string, 4 end add_message "google.cloud.channel.v1.RunReportJobResponse" do optional :report_job, :message, 1, "google.cloud.channel.v1.ReportJob" optional :report_metadata, :message, 2, "google.cloud.channel.v1.ReportResultsMetadata" end add_message "google.cloud.channel.v1.FetchReportResultsRequest" do optional :report_job, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.channel.v1.FetchReportResultsResponse" do optional :report_metadata, :message, 1, "google.cloud.channel.v1.ReportResultsMetadata" repeated :rows, :message, 2, "google.cloud.channel.v1.Row" optional :next_page_token, :string, 3 end add_message "google.cloud.channel.v1.ListReportsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :language_code, :string, 4 end add_message "google.cloud.channel.v1.ListReportsResponse" do repeated :reports, :message, 1, "google.cloud.channel.v1.Report" optional :next_page_token, :string, 2 end add_message "google.cloud.channel.v1.ReportJob" do optional :name, :string, 1 optional :report_status, :message, 2, "google.cloud.channel.v1.ReportStatus" end add_message "google.cloud.channel.v1.ReportResultsMetadata" do optional :report, :message, 1, "google.cloud.channel.v1.Report" optional :row_count, :int64, 2 optional :date_range, :message, 3, "google.cloud.channel.v1.DateRange" optional :preceding_date_range, :message, 4, "google.cloud.channel.v1.DateRange" end add_message "google.cloud.channel.v1.Column" do optional :column_id, :string, 1 optional :display_name, :string, 2 optional :data_type, :enum, 3, "google.cloud.channel.v1.Column.DataType" end add_enum "google.cloud.channel.v1.Column.DataType" do value :DATA_TYPE_UNSPECIFIED, 0 value :STRING, 1 value :INT, 2 value :DECIMAL, 3 value :MONEY, 4 value :DATE, 5 value :DATE_TIME, 6 end add_message "google.cloud.channel.v1.DateRange" do optional :usage_start_date_time, :message, 1, "google.type.DateTime" optional :usage_end_date_time, :message, 2, "google.type.DateTime" optional :invoice_start_date, :message, 3, "google.type.Date" optional :invoice_end_date, :message, 4, "google.type.Date" end add_message "google.cloud.channel.v1.Row" do repeated :values, :message, 1, "google.cloud.channel.v1.ReportValue" end add_message "google.cloud.channel.v1.ReportValue" do oneof :value do optional :string_value, :string, 1 optional :int_value, :int64, 2 optional :decimal_value, :message, 3, "google.type.Decimal" optional :money_value, :message, 4, "google.type.Money" optional :date_value, :message, 5, "google.type.Date" optional :date_time_value, :message, 6, "google.type.DateTime" end end add_message "google.cloud.channel.v1.ReportStatus" do optional :state, :enum, 1, "google.cloud.channel.v1.ReportStatus.State" optional :start_time, :message, 2, "google.protobuf.Timestamp" optional :end_time, :message, 3, "google.protobuf.Timestamp" end add_enum "google.cloud.channel.v1.ReportStatus.State" do value :STATE_UNSPECIFIED, 0 value :STARTED, 1 value :WRITING, 2 value :AVAILABLE, 3 value :FAILED, 4 end add_message "google.cloud.channel.v1.Report" do optional :name, :string, 1 optional :display_name, :string, 2 repeated :columns, :message, 3, "google.cloud.channel.v1.Column" optional :description, :string, 4 end end end module Google module Cloud module Channel module V1 RunReportJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RunReportJobRequest").msgclass RunReportJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.RunReportJobResponse").msgclass FetchReportResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.FetchReportResultsRequest").msgclass FetchReportResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.FetchReportResultsResponse").msgclass ListReportsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListReportsRequest").msgclass ListReportsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ListReportsResponse").msgclass ReportJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ReportJob").msgclass ReportResultsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ReportResultsMetadata").msgclass Column = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.Column").msgclass Column::DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.Column.DataType").enummodule DateRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.DateRange").msgclass Row = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.Row").msgclass ReportValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ReportValue").msgclass ReportStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ReportStatus").msgclass ReportStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.ReportStatus.State").enummodule Report = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.Report").msgclass end end end end