Sha256: 4b1aae02cc352541e5c674b2e098b49429567f9eaabe58c2e03f7d910c154e46

Contents?: true

Size: 1.64 KB

Versions: 11

Compression:

Stored size: 1.64 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, ListServicesRequest, ListServicesResponse
            # Lists all publicly available SKUs for a given cloud service.
            rpc :ListSkus, ListSkusRequest, ListSkusResponse
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
google-cloud-billing-v1-0.5.3 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.5.2 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.5.1 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.5.0 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.4.1 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.4.0 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.3.1 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.3.0 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.2.0 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.1.1 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb
google-cloud-billing-v1-0.1.0 lib/google/cloud/billing/v1/cloud_catalog_services_pb.rb