Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Oct 3, 2024
1 parent 9e3385e commit 14f9955
Show file tree
Hide file tree
Showing 149 changed files with 51 additions and 43,036 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def get_customer request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload check_cloud_identity_accounts_exist(parent: nil, domain: nil)
# @overload check_cloud_identity_accounts_exist(parent: nil, domain: nil, primary_admin_email: nil)
# Pass arguments to `check_cloud_identity_accounts_exist` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand All @@ -480,7 +480,12 @@ def get_customer request, options = nil
# Required. The reseller account's resource name.
# Parent uses the format: accounts/\\{account_id}
# @param domain [::String]
# Required. Domain to fetch for Cloud Identity account customer.
# Required. Domain to fetch for Cloud Identity account customers, including
# domain and team customers. For team customers, please use the domain for
# their emails.
# @param primary_admin_email [::String]
# Optional. Primary admin email to fetch for Cloud Identity account team
# customer.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistResponse]
Expand Down Expand Up @@ -879,7 +884,7 @@ def delete_customer request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload import_customer(domain: nil, cloud_identity_id: nil, parent: nil, auth_token: nil, overwrite_if_exists: nil, channel_partner_id: nil, customer: nil)
# @overload import_customer(domain: nil, cloud_identity_id: nil, primary_admin_email: nil, parent: nil, auth_token: nil, overwrite_if_exists: nil, channel_partner_id: nil, customer: nil)
# Pass arguments to `import_customer` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand All @@ -888,6 +893,8 @@ def delete_customer request, options = nil
# Required. Customer domain.
# @param cloud_identity_id [::String]
# Required. Customer's Cloud Identity ID
# @param primary_admin_email [::String]
# Required. Customer's primary admin email.
# @param parent [::String]
# Required. The resource name of the reseller's account.
# Parent takes the format: accounts/\\{account_id} or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def get_customer request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
#
# @overload check_cloud_identity_accounts_exist(parent: nil, domain: nil)
# @overload check_cloud_identity_accounts_exist(parent: nil, domain: nil, primary_admin_email: nil)
# Pass arguments to `check_cloud_identity_accounts_exist` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand All @@ -459,7 +459,12 @@ def get_customer request, options = nil
# Required. The reseller account's resource name.
# Parent uses the format: accounts/\\{account_id}
# @param domain [::String]
# Required. Domain to fetch for Cloud Identity account customer.
# Required. Domain to fetch for Cloud Identity account customers, including
# domain and team customers. For team customers, please use the domain for
# their emails.
# @param primary_admin_email [::String]
# Optional. Primary admin email to fetch for Cloud Identity account team
# customer.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistResponse]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down Expand Up @@ -830,7 +835,7 @@ def delete_customer request, options = nil
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
#
# @overload import_customer(domain: nil, cloud_identity_id: nil, parent: nil, auth_token: nil, overwrite_if_exists: nil, channel_partner_id: nil, customer: nil)
# @overload import_customer(domain: nil, cloud_identity_id: nil, primary_admin_email: nil, parent: nil, auth_token: nil, overwrite_if_exists: nil, channel_partner_id: nil, customer: nil)
# Pass arguments to `import_customer` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand All @@ -839,6 +844,8 @@ def delete_customer request, options = nil
# Required. Customer domain.
# @param cloud_identity_id [::String]
# Required. Customer's Cloud Identity ID
# @param primary_admin_email [::String]
# Required. Customer's primary admin email.
# @param parent [::String]
# Required. The resource name of the reseller's account.
# Parent takes the format: accounts/\\{account_id} or
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ module V1
# Parent uses the format: accounts/\\{account_id}
# @!attribute [rw] domain
# @return [::String]
# Required. Domain to fetch for Cloud Identity account customer.
# Required. Domain to fetch for Cloud Identity account customers, including
# domain and team customers. For team customers, please use the domain for
# their emails.
# @!attribute [rw] primary_admin_email
# @return [::String]
# Optional. Primary admin email to fetch for Cloud Identity account team
# customer.
class CheckCloudIdentityAccountsExistRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -53,6 +59,13 @@ class CheckCloudIdentityAccountsExistRequest
# @!attribute [rw] customer_cloud_identity_id
# @return [::String]
# If existing = true, the Cloud Identity ID of the customer.
# @!attribute [rw] customer_type
# @return [::Google::Cloud::Channel::V1::CloudIdentityInfo::CustomerType]
# If existing = true, the type of the customer.
# @!attribute [rw] channel_partner_cloud_identity_id
# @return [::String]
# If existing = true, and is 2-tier customer, the channel partner of the
# customer.
class CloudIdentityCustomerAccount
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down Expand Up @@ -171,6 +184,9 @@ class DeleteCustomerRequest
# @!attribute [rw] cloud_identity_id
# @return [::String]
# Required. Customer's Cloud Identity ID
# @!attribute [rw] primary_admin_email
# @return [::String]
# Required. Customer's primary admin email.
# @!attribute [rw] parent
# @return [::String]
# Required. The resource name of the reseller's account.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def test_check_cloud_identity_accounts_exist
# Create request parameters for a unary method.
parent = "hello world"
domain = "hello world"
primary_admin_email = "hello world"

check_cloud_identity_accounts_exist_client_stub = ClientStub.new http_response do |_verb, uri:, body:, params:, options:|
assert options.metadata.key? :"x-goog-api-client"
Expand All @@ -206,27 +207,27 @@ def test_check_cloud_identity_accounts_exist
end

# Use hash object
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain }) do |_result, response|
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain, primary_admin_email: primary_admin_email }) do |_result, response|
assert_equal http_response, response.underlying_op
end

# Use named arguments
client.check_cloud_identity_accounts_exist parent: parent, domain: domain do |_result, response|
client.check_cloud_identity_accounts_exist parent: parent, domain: domain, primary_admin_email: primary_admin_email do |_result, response|
assert_equal http_response, response.underlying_op
end

# Use protobuf object
client.check_cloud_identity_accounts_exist ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain) do |_result, response|
client.check_cloud_identity_accounts_exist ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain, primary_admin_email: primary_admin_email) do |_result, response|
assert_equal http_response, response.underlying_op
end

# Use hash object with options
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain }, call_options) do |_result, response|
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain, primary_admin_email: primary_admin_email }, call_options) do |_result, response|
assert_equal http_response, response.underlying_op
end

# Use protobuf object with options
client.check_cloud_identity_accounts_exist(::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain), call_options) do |_result, response|
client.check_cloud_identity_accounts_exist(::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain, primary_admin_email: primary_admin_email), call_options) do |_result, response|
assert_equal http_response, response.underlying_op
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,14 @@ def test_check_cloud_identity_accounts_exist
# Create request parameters for a unary method.
parent = "hello world"
domain = "hello world"
primary_admin_email = "hello world"

check_cloud_identity_accounts_exist_client_stub = ClientStub.new grpc_response, grpc_operation do |name, request, options:|
assert_equal :check_cloud_identity_accounts_exist, name
assert_kind_of ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest, request
assert_equal "hello world", request["parent"]
assert_equal "hello world", request["domain"]
assert_equal "hello world", request["primary_admin_email"]
refute_nil options
end

Expand All @@ -208,31 +210,31 @@ def test_check_cloud_identity_accounts_exist
end

# Use hash object
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain }) do |response, operation|
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain, primary_admin_email: primary_admin_email }) do |response, operation|
assert_equal grpc_response, response
assert_equal grpc_operation, operation
end

# Use named arguments
client.check_cloud_identity_accounts_exist parent: parent, domain: domain do |response, operation|
client.check_cloud_identity_accounts_exist parent: parent, domain: domain, primary_admin_email: primary_admin_email do |response, operation|
assert_equal grpc_response, response
assert_equal grpc_operation, operation
end

# Use protobuf object
client.check_cloud_identity_accounts_exist ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain) do |response, operation|
client.check_cloud_identity_accounts_exist ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain, primary_admin_email: primary_admin_email) do |response, operation|
assert_equal grpc_response, response
assert_equal grpc_operation, operation
end

# Use hash object with options
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain }, grpc_options) do |response, operation|
client.check_cloud_identity_accounts_exist({ parent: parent, domain: domain, primary_admin_email: primary_admin_email }, grpc_options) do |response, operation|
assert_equal grpc_response, response
assert_equal grpc_operation, operation
end

# Use protobuf object with options
client.check_cloud_identity_accounts_exist(::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain), grpc_options) do |response, operation|
client.check_cloud_identity_accounts_exist(::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest.new(parent: parent, domain: domain, primary_admin_email: primary_admin_email), grpc_options) do |response, operation|
assert_equal grpc_response, response
assert_equal grpc_operation, operation
end
Expand Down
22 changes: 0 additions & 22 deletions owl-bot-staging/google-cloud-channel-v1/.gitignore

This file was deleted.

18 changes: 0 additions & 18 deletions owl-bot-staging/google-cloud-channel-v1/.repo-metadata.json

This file was deleted.

33 changes: 0 additions & 33 deletions owl-bot-staging/google-cloud-channel-v1/.rubocop.yml

This file was deleted.

28 changes: 0 additions & 28 deletions owl-bot-staging/google-cloud-channel-v1/.toys.rb

This file was deleted.

12 changes: 0 additions & 12 deletions owl-bot-staging/google-cloud-channel-v1/.yardopts

This file was deleted.

Loading

0 comments on commit 14f9955

Please sign in to comment.