Sha256: 63158c02a7904dd715b524b0fbd5bacaf9e11a3859aad2a15d82a93ec3406c16

Contents?: true

Size: 1.97 KB

Versions: 2

Compression:

Stored size: 1.97 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/channel/v1/products.proto

require 'google/api/annotations_pb'
require 'google/api/resource_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/channel/v1/products.proto", :syntax => :proto3) do
    add_message "google.cloud.channel.v1.Product" do
      optional :name, :string, 1
      optional :marketing_info, :message, 2, "google.cloud.channel.v1.MarketingInfo"
    end
    add_message "google.cloud.channel.v1.Sku" do
      optional :name, :string, 1
      optional :marketing_info, :message, 2, "google.cloud.channel.v1.MarketingInfo"
      optional :product, :message, 3, "google.cloud.channel.v1.Product"
    end
    add_message "google.cloud.channel.v1.MarketingInfo" do
      optional :display_name, :string, 1
      optional :description, :string, 2
      optional :default_logo, :message, 3, "google.cloud.channel.v1.Media"
    end
    add_message "google.cloud.channel.v1.Media" do
      optional :title, :string, 1
      optional :content, :string, 2
      optional :type, :enum, 3, "google.cloud.channel.v1.MediaType"
    end
    add_enum "google.cloud.channel.v1.MediaType" do
      value :MEDIA_TYPE_UNSPECIFIED, 0
      value :MEDIA_TYPE_IMAGE, 1
    end
  end
end

module Google
  module Cloud
    module Channel
      module V1
        Product = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.Product").msgclass
        Sku = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.Sku").msgclass
        MarketingInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.MarketingInfo").msgclass
        Media = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.Media").msgclass
        MediaType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.MediaType").enummodule
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google-cloud-channel-v1-0.9.5 lib/google/cloud/channel/v1/products_pb.rb
google-cloud-channel-v1-0.9.4 lib/google/cloud/channel/v1/products_pb.rb