diff --git a/google-iam-v3beta/.owlbot-manifest.json b/google-iam-v3beta/.owlbot-manifest.json index 94a80bd15cd8..4f1d9c226c81 100644 --- a/google-iam-v3beta/.owlbot-manifest.json +++ b/google-iam-v3beta/.owlbot-manifest.json @@ -12,9 +12,8 @@ "README.md", "Rakefile", "gapic_metadata.json", - "google-cloud-iam-v3beta.gemspec", - "lib/google-cloud-iam-v3beta.rb", - "lib/google/cloud/iam/v3beta/version.rb", + "google-iam-v3beta.gemspec", + "lib/google-iam-v3beta.rb", "lib/google/iam/v3beta.rb", "lib/google/iam/v3beta/access_policies.rb", "lib/google/iam/v3beta/access_policies/client.rb", @@ -54,6 +53,7 @@ "lib/google/iam/v3beta/principal_access_boundary_policies_service_services_pb.rb", "lib/google/iam/v3beta/principal_access_boundary_policy_resources_pb.rb", "lib/google/iam/v3beta/rest.rb", + "lib/google/iam/v3beta/version.rb", "proto_docs/README.md", "proto_docs/google/api/client.rb", "proto_docs/google/api/field_behavior.rb", @@ -110,7 +110,6 @@ "test/helper.rb" ], "static": [ - ".OwlBot.yaml", - "lib/google/iam/v3beta/version.rb" + ".OwlBot.yaml" ] } diff --git a/google-iam-v3beta/.repo-metadata.json b/google-iam-v3beta/.repo-metadata.json index 8b436ae98da4..8e66d1a2b09d 100644 --- a/google-iam-v3beta/.repo-metadata.json +++ b/google-iam-v3beta/.repo-metadata.json @@ -1,8 +1,8 @@ { "api_id": "iam.googleapis.com", "api_shortname": "iam", - "client_documentation": "https://cloud.google.com/ruby/docs/reference/google-cloud-iam-v3beta/latest", - "distribution_name": "google-cloud-iam-v3beta", + "client_documentation": "https://cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest", + "distribution_name": "google-iam-v3beta", "is_cloud": true, "language": "ruby", "name": "iam", @@ -11,7 +11,7 @@ "release_level": "preview", "repo": "googleapis/google-cloud-ruby", "requires_billing": true, - "ruby-cloud-description": "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. Note that google-cloud-iam-v3beta is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-iam instead. See the readme for more details.", + "ruby-cloud-description": "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. Note that google-iam-v3beta is a version-specific client library. For most uses, we recommend installing the main client library google-iam instead. See the readme for more details.", "ruby-cloud-product-url": "https://cloud.google.com/iam/docs/overview", - "library_type": "GAPIC_AUTO" + "library_type": "GAPIC_COMBO" } diff --git a/google-iam-v3beta/.rubocop.yml b/google-iam-v3beta/.rubocop.yml index efbd005346b3..b142b763dfa7 100644 --- a/google-iam-v3beta/.rubocop.yml +++ b/google-iam-v3beta/.rubocop.yml @@ -3,7 +3,7 @@ inherit_gem: AllCops: Exclude: - - "google-cloud-iam-v3beta.gemspec" + - "google-iam-v3beta.gemspec" - "lib/**/*_pb.rb" - "proto_docs/**/*" - "test/**/*" @@ -30,4 +30,4 @@ Naming/AccessorMethodName: - "snippets/**/*.rb" Naming/FileName: Exclude: - - "lib/google-cloud-iam-v3beta.rb" + - "lib/google-iam-v3beta.rb" diff --git a/google-iam-v3beta/AUTHENTICATION.md b/google-iam-v3beta/AUTHENTICATION.md index ff7654b6751d..c0ff8a06e810 100644 --- a/google-iam-v3beta/AUTHENTICATION.md +++ b/google-iam-v3beta/AUTHENTICATION.md @@ -1,6 +1,6 @@ # Authentication -The recommended way to authenticate to the google-cloud-iam-v3beta library is to use +The recommended way to authenticate to the google-iam-v3beta library is to use [Application Default Credentials (ADC)](https://cloud.google.com/docs/authentication/application-default-credentials). To review all of your authentication options, see [Credentials lookup](#credential-lookup). @@ -26,7 +26,7 @@ For more information about setting up authentication for a local development env ## Credential Lookup -The google-cloud-iam-v3beta library provides several mechanisms to configure your system. +The google-iam-v3beta library provides several mechanisms to configure your system. Generally, using Application Default Credentials to facilitate automatic credentials discovery is the easist method. But if you need to explicitly specify credentials, there are several methods available to you. @@ -89,7 +89,7 @@ Note: Service account keys are a security risk if not managed correctly. You sho [choose a more secure alternative to service account keys](https://cloud.google.com/docs/authentication#auth-decision-tree) whenever possible. -The environment variables that google-cloud-iam-v3beta +The environment variables that google-iam-v3beta checks for credentials are: * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents diff --git a/google-iam-v3beta/README.md b/google-iam-v3beta/README.md index f708122c6c3a..25f522c81f1f 100644 --- a/google-iam-v3beta/README.md +++ b/google-iam-v3beta/README.md @@ -9,13 +9,13 @@ https://github.com/googleapis/google-cloud-ruby This gem is a _versioned_ client. It provides basic client classes for a specific version of the Identity and Access Management (IAM) V3BETA API. Most users should consider using the main client gem, -[google-cloud-iam](https://rubygems.org/gems/google-cloud-iam). +[google-iam](https://rubygems.org/gems/google-iam). See the section below titled *Which client should I use?* for more information. ## Installation ``` -$ gem install google-cloud-iam-v3beta +$ gem install google-iam-v3beta ``` ## Before You Begin @@ -37,7 +37,7 @@ request = ::Google::Iam::V3beta::CreateAccessPolicyRequest.new # (request fields response = client.create_access_policy request ``` -View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-iam-v3beta/latest) +View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest) for class and method documentation. See also the [Product Documentation](https://cloud.google.com/iam/docs/overview) @@ -98,9 +98,9 @@ support schedule. ## Which client should I use? Most modern Ruby client libraries for Google APIs come in two flavors: the main -client library with a name such as `google-cloud-iam`, +client library with a name such as `google-iam`, and lower-level _versioned_ client libraries with names such as -`google-cloud-iam-v3beta`. +`google-iam-v3beta`. _In most cases, you should install the main client._ ### What's the difference between the main client and a versioned client? @@ -125,7 +125,7 @@ service version. We recommend that most users install the main client gem for a service. You can identify this gem as the one _without_ a version in its name, e.g. -`google-cloud-iam`. +`google-iam`. The main client is recommended because it will embody the best practices for accessing the service, and may also provide more convenient interfaces or tighter integration into frameworks and third-party libraries. In addition, the @@ -138,7 +138,7 @@ You can use a versioned client if you are content with a possibly lower-level class interface, you explicitly want to avoid features provided by the main client, or you want to access a specific service version not be covered by the main client. You can identify versioned client gems because the service version -is part of the name, e.g. `google-cloud-iam-v3beta`. +is part of the name, e.g. `google-iam-v3beta`. ### What about the google-apis- clients? diff --git a/google-iam-v3beta/Rakefile b/google-iam-v3beta/Rakefile index dd6bd1c27699..4a9e37b0746d 100644 --- a/google-iam-v3beta/Rakefile +++ b/google-iam-v3beta/Rakefile @@ -37,7 +37,7 @@ Rake::TestTask.new :smoke_test do |t| end # Acceptance tests -desc "Run the google-cloud-iam-v3beta acceptance tests." +desc "Run the google-iam-v3beta acceptance tests." task :acceptance, :project, :keyfile do |t, args| project = args[:project] project ||= @@ -73,7 +73,7 @@ namespace :acceptance do if File.directory? "acceptance" Rake::Task[:smoke_test].invoke else - puts "The google-cloud-iam-v3beta gem has no acceptance tests." + puts "The google-iam-v3beta gem has no acceptance tests." end end @@ -97,7 +97,7 @@ namespace :samples do end end else - puts "The google-cloud-iam-v3beta gem has no samples to test." + puts "The google-iam-v3beta gem has no samples to test." end end @@ -111,7 +111,7 @@ namespace :samples do end end else - puts "The google-cloud-iam-v3beta gem has no samples to test." + puts "The google-iam-v3beta gem has no samples to test." end end end @@ -124,17 +124,17 @@ end desc "Run yard-doctest example tests." task :doctest do - puts "The google-cloud-iam-v3beta gem does not have doctest tests." + puts "The google-iam-v3beta gem does not have doctest tests." end desc "Run the CI build" task :ci do - header "BUILDING google-cloud-iam-v3beta" - header "google-cloud-iam-v3beta rubocop", "*" + header "BUILDING google-iam-v3beta" + header "google-iam-v3beta rubocop", "*" Rake::Task[:rubocop].invoke - header "google-cloud-iam-v3beta yard", "*" + header "google-iam-v3beta yard", "*" Rake::Task[:yard].invoke - header "google-cloud-iam-v3beta test", "*" + header "google-iam-v3beta test", "*" Rake::Task[:test].invoke end @@ -142,13 +142,13 @@ namespace :ci do desc "Run the CI build, with smoke tests." task :smoke_test do Rake::Task[:ci].invoke - header "google-cloud-iam-v3beta smoke_test", "*" + header "google-iam-v3beta smoke_test", "*" Rake::Task[:smoke_test].invoke end desc "Run the CI build, with acceptance tests." task :acceptance do Rake::Task[:ci].invoke - header "google-cloud-iam-v3beta acceptance", "*" + header "google-iam-v3beta acceptance", "*" Rake::Task[:acceptance].invoke end task :a do diff --git a/google-iam-v3beta/google-cloud-iam-v3beta.gemspec b/google-iam-v3beta/google-iam-v3beta.gemspec similarity index 80% rename from google-iam-v3beta/google-cloud-iam-v3beta.gemspec rename to google-iam-v3beta/google-iam-v3beta.gemspec index 044d5a00e43b..17bc1cf0bcb8 100644 --- a/google-iam-v3beta/google-cloud-iam-v3beta.gemspec +++ b/google-iam-v3beta/google-iam-v3beta.gemspec @@ -1,15 +1,15 @@ # -*- ruby -*- # encoding: utf-8 -require File.expand_path("lib/google/cloud/iam/v3beta/version", __dir__) +require File.expand_path("lib/google/iam/v3beta/version", __dir__) Gem::Specification.new do |gem| - gem.name = "google-cloud-iam-v3beta" - gem.version = Google::Cloud::Iam::V3beta::VERSION + gem.name = "google-iam-v3beta" + gem.version = Google::Iam::V3beta::VERSION gem.authors = ["Google LLC"] gem.email = "googleapis-packages@google.com" - gem.description = "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. Note that google-cloud-iam-v3beta is a version-specific client library. For most uses, we recommend installing the main client library google-cloud-iam instead. See the readme for more details." + gem.description = "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. Note that google-iam-v3beta is a version-specific client library. For most uses, we recommend installing the main client library google-iam instead. See the readme for more details." gem.summary = "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API." gem.homepage = "https://github.com/googleapis/google-cloud-ruby" gem.license = "Apache-2.0" diff --git a/google-iam-v3beta/lib/google-cloud-iam-v3beta.rb b/google-iam-v3beta/lib/google-iam-v3beta.rb similarity index 100% rename from google-iam-v3beta/lib/google-cloud-iam-v3beta.rb rename to google-iam-v3beta/lib/google-iam-v3beta.rb diff --git a/google-iam-v3beta/lib/google/cloud/iam/v3beta/version.rb b/google-iam-v3beta/lib/google/cloud/iam/v3beta/version.rb deleted file mode 100644 index 55a2615baf4d..000000000000 --- a/google-iam-v3beta/lib/google/cloud/iam/v3beta/version.rb +++ /dev/null @@ -1,28 +0,0 @@ -# frozen_string_literal: true - -# Copyright 2026 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 -# -# https://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. - -# Auto-generated by gapic-generator-ruby. DO NOT EDIT! - - -module Google - module Cloud - module Iam - module V3beta - VERSION = "0.0.1" - end - end - end -end diff --git a/google-iam-v3beta/lib/google/iam/v3beta.rb b/google-iam-v3beta/lib/google/iam/v3beta.rb index dd4a67511d55..c316f69bc6d0 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta.rb @@ -19,7 +19,7 @@ require "google/iam/v3beta/access_policies" require "google/iam/v3beta/policy_bindings" require "google/iam/v3beta/principal_access_boundary_policies" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" module Google module Iam diff --git a/google-iam-v3beta/lib/google/iam/v3beta/access_policies.rb b/google-iam-v3beta/lib/google/iam/v3beta/access_policies.rb index e3d3fbdca4e0..20869cea6d21 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/access_policies.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/access_policies.rb @@ -20,7 +20,7 @@ require "gapic/config" require "gapic/config/method" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" require "google/iam/v3beta/access_policies/credentials" require "google/iam/v3beta/access_policies/paths" diff --git a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/client.rb b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/client.rb index bb1f972cbbee..f29273e1dddf 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/client.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/client.rb @@ -319,7 +319,7 @@ def create_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -412,7 +412,7 @@ def get_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -510,7 +510,7 @@ def update_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -619,7 +619,7 @@ def delete_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -731,7 +731,7 @@ def list_access_policies request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -842,7 +842,7 @@ def search_access_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id diff --git a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/operations.rb b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/operations.rb index 1aca758a03d0..e9f28740070b 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/operations.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/operations.rb @@ -199,7 +199,7 @@ def list_operations request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -296,7 +296,7 @@ def get_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -386,7 +386,7 @@ def delete_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -481,7 +481,7 @@ def cancel_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -585,7 +585,7 @@ def wait_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id diff --git a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest.rb b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest.rb index 51742f0ec501..38167d9c3b28 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest.rb @@ -20,7 +20,7 @@ require "gapic/config" require "gapic/config/method" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" require "google/iam/v3beta/access_policies/credentials" require "google/iam/v3beta/access_policies/paths" diff --git a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/client.rb b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/client.rb index fbc4603967a1..ab0f8fcdb117 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/client.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/client.rb @@ -311,7 +311,7 @@ def create_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -397,7 +397,7 @@ def get_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -488,7 +488,7 @@ def update_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -590,7 +590,7 @@ def delete_access_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -695,7 +695,7 @@ def list_access_policies request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -799,7 +799,7 @@ def search_access_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? diff --git a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/operations.rb b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/operations.rb index 746676e0ba56..22a78072b69b 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/operations.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/access_policies/rest/operations.rb @@ -189,7 +189,7 @@ def list_operations request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -278,7 +278,7 @@ def get_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -361,7 +361,7 @@ def delete_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -449,7 +449,7 @@ def cancel_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? diff --git a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings.rb b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings.rb index 7379275c3ade..14760bb14ac2 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings.rb @@ -20,7 +20,7 @@ require "gapic/config" require "gapic/config/method" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" require "google/iam/v3beta/policy_bindings/credentials" require "google/iam/v3beta/policy_bindings/paths" diff --git a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/client.rb b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/client.rb index f8c5567eb445..169d17e3a731 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/client.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/client.rb @@ -322,7 +322,7 @@ def create_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -416,7 +416,7 @@ def get_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -518,7 +518,7 @@ def update_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -627,7 +627,7 @@ def delete_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -750,7 +750,7 @@ def list_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -886,7 +886,7 @@ def search_target_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id diff --git a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/operations.rb b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/operations.rb index a726d37bc697..967476c55eb3 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/operations.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/operations.rb @@ -199,7 +199,7 @@ def list_operations request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -296,7 +296,7 @@ def get_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -386,7 +386,7 @@ def delete_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -481,7 +481,7 @@ def cancel_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -585,7 +585,7 @@ def wait_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id diff --git a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest.rb b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest.rb index de364a77d181..a419663fb807 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest.rb @@ -20,7 +20,7 @@ require "gapic/config" require "gapic/config/method" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" require "google/iam/v3beta/policy_bindings/credentials" require "google/iam/v3beta/policy_bindings/paths" diff --git a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/client.rb b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/client.rb index 3967991ff656..a9b174f52877 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/client.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/client.rb @@ -314,7 +314,7 @@ def create_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -401,7 +401,7 @@ def get_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -496,7 +496,7 @@ def update_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -598,7 +598,7 @@ def delete_policy_binding request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -714,7 +714,7 @@ def list_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -843,7 +843,7 @@ def search_target_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? diff --git a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/operations.rb b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/operations.rb index f87ef9d848f6..f726edbcaa6e 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/operations.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/policy_bindings/rest/operations.rb @@ -189,7 +189,7 @@ def list_operations request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -278,7 +278,7 @@ def get_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -361,7 +361,7 @@ def delete_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -449,7 +449,7 @@ def cancel_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? diff --git a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies.rb b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies.rb index 68b668f8d20e..abbc7442e148 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies.rb @@ -20,7 +20,7 @@ require "gapic/config" require "gapic/config/method" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" require "google/iam/v3beta/principal_access_boundary_policies/credentials" require "google/iam/v3beta/principal_access_boundary_policies/paths" diff --git a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/client.rb b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/client.rb index 8436fc95c2c1..edf536817c95 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/client.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/client.rb @@ -317,7 +317,7 @@ def create_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -407,7 +407,7 @@ def get_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -507,7 +507,7 @@ def update_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -613,7 +613,7 @@ def delete_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -723,7 +723,7 @@ def list_principal_access_boundary_policies request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -831,7 +831,7 @@ def search_principal_access_boundary_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id diff --git a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/operations.rb b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/operations.rb index 453387aae9fe..1b086e408dea 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/operations.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/operations.rb @@ -199,7 +199,7 @@ def list_operations request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -296,7 +296,7 @@ def get_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -386,7 +386,7 @@ def delete_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -481,7 +481,7 @@ def cancel_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id @@ -585,7 +585,7 @@ def wait_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION + gapic_version: ::Google::Iam::V3beta::VERSION metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id diff --git a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest.rb b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest.rb index 70f0fad5038e..bc4a47b973f1 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest.rb @@ -20,7 +20,7 @@ require "gapic/config" require "gapic/config/method" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" require "google/iam/v3beta/principal_access_boundary_policies/credentials" require "google/iam/v3beta/principal_access_boundary_policies/paths" diff --git a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/client.rb b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/client.rb index c00cea6a266a..50759dad3f44 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/client.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/client.rb @@ -309,7 +309,7 @@ def create_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -392,7 +392,7 @@ def get_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -485,7 +485,7 @@ def update_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -584,7 +584,7 @@ def delete_principal_access_boundary_policy request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -687,7 +687,7 @@ def list_principal_access_boundary_policies request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -788,7 +788,7 @@ def search_principal_access_boundary_policy_bindings request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? diff --git a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/operations.rb b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/operations.rb index f790a52a68e6..8b267f7f6a9f 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/operations.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/principal_access_boundary_policies/rest/operations.rb @@ -189,7 +189,7 @@ def list_operations request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -278,7 +278,7 @@ def get_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -361,7 +361,7 @@ def delete_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? @@ -449,7 +449,7 @@ def cancel_operation request, options = nil # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, - gapic_version: ::Google::Cloud::Iam::V3beta::VERSION, + gapic_version: ::Google::Iam::V3beta::VERSION, transports_version_send: [:rest] call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty? diff --git a/google-iam-v3beta/lib/google/iam/v3beta/rest.rb b/google-iam-v3beta/lib/google/iam/v3beta/rest.rb index 2382e231a62c..3a7e0a2564b3 100644 --- a/google-iam-v3beta/lib/google/iam/v3beta/rest.rb +++ b/google-iam-v3beta/lib/google/iam/v3beta/rest.rb @@ -19,7 +19,7 @@ require "google/iam/v3beta/access_policies/rest" require "google/iam/v3beta/policy_bindings/rest" require "google/iam/v3beta/principal_access_boundary_policies/rest" -require "google/cloud/iam/v3beta/version" +require "google/iam/v3beta/version" module Google module Iam diff --git a/google-iam-v3beta/snippets/Gemfile b/google-iam-v3beta/snippets/Gemfile index 77a6b0cc1e2c..5202fc1b4ae1 100644 --- a/google-iam-v3beta/snippets/Gemfile +++ b/google-iam-v3beta/snippets/Gemfile @@ -19,9 +19,9 @@ source "https://rubygems.org" if ENV["GOOGLE_CLOUD_SAMPLES_TEST"] == "master" - gem "google-cloud-iam-v3beta", path: "../" + gem "google-iam-v3beta", path: "../" else - gem "google-cloud-iam-v3beta" + gem "google-iam-v3beta" end group :test do diff --git a/google-iam-v3beta/snippets/snippet_metadata_google.iam.v3beta.json b/google-iam-v3beta/snippets/snippet_metadata_google.iam.v3beta.json index 858601e636ad..352231ba03c4 100644 --- a/google-iam-v3beta/snippets/snippet_metadata_google.iam.v3beta.json +++ b/google-iam-v3beta/snippets/snippet_metadata_google.iam.v3beta.json @@ -1,7 +1,7 @@ { "client_library": { - "name": "google-cloud-iam-v3beta", - "version": "0.4.1", + "name": "google-iam-v3beta", + "version": "0.5.0", "language": "RUBY", "apis": [ {