Sha256: 666b67b7cd7dc3a1fe3144684233c426863e041365474bfc223140fc605f86be

Contents?: true

Size: 1.76 KB

Versions: 5

Compression:

Stored size: 1.76 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/billing/v1/cloud_catalog.proto for package 'google.cloud.billing.v1'
# Original file comments:
# Copyright 2019 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#

require 'grpc'
require 'google/cloud/billing/v1/cloud_catalog_pb'

module Google
  module Cloud
    module Billing
      module V1
        module CloudCatalog
          # A catalog of Google Cloud Platform services and SKUs.
          # Provides pricing information and metadata on Google Cloud Platform services
          # and SKUs.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.billing.v1.CloudCatalog'

            # Lists all public cloud services.
            rpc :ListServices, ::Google::Cloud::Billing::V1::ListServicesRequest, ::Google::Cloud::Billing::V1::ListServicesResponse
            # Lists all publicly available SKUs for a given cloud service.
            rpc :ListSkus, ::Google::Cloud::Billing::V1::ListSkusRequest, ::Google::Cloud::Billing::V1::ListSkusResponse
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
google-cloud-billing-v1-0.9.0 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.8.0 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.7.5 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.7.4 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.7.1 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb