Sha256: 39fd405430bc006054136439b8fafa0ef82720d56d89ff4b5f845bcb178214b8

Contents?: true

Size: 1.09 KB

Versions: 18

Compression:

Stored size: 1.09 KB

Contents

# Copyright 2020 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 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'

module Google
  module Apis
    module <%= api.module_name %>
<% for cls in api.schemas.values.partition(&:variant).flatten -%>
<%= indent(include('representation_stub', :cls => cls), 6) -%>
<% end -%>
<% for cls in api.schemas.values.partition(&:variant).flatten -%>
<%= indent(include('representation', :cls => cls, :api => api), 6) -%>
<% end -%>
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
google-apis-generator-0.15.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.14.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.13.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.13.0 lib/google/apis/generator/templates/representations.rb.tmpl
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/google-apis-generator-0.12.0/lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.12.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.11.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.11.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.10.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.9.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.8.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.7.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.6.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.5.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.4.1 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.4.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.3.0 lib/google/apis/generator/templates/representations.rb.tmpl
google-apis-generator-0.2.0 lib/google/apis/generator/templates/representations.rb.tmpl