diff --git a/libraries/google_secret_manager_secret.rb b/libraries/google_secret_manager_secret.rb index e3ab5252a..1340ad06c 100644 --- a/libraries/google_secret_manager_secret.rb +++ b/libraries/google_secret_manager_secret.rb @@ -71,6 +71,6 @@ def product_url(_ = nil) end def resource_base_url - 'projects/{{project}}/secrets/{{secret_id}}' + '{{name}}' end end diff --git a/libraries/google_secret_manager_secrets.rb b/libraries/google_secret_manager_secrets.rb index ed8a063e5..ebb6dff99 100644 --- a/libraries/google_secret_manager_secrets.rb +++ b/libraries/google_secret_manager_secrets.rb @@ -90,6 +90,6 @@ def product_url(_ = nil) end def resource_base_url - 'projects/{{project}}/secrets' + '{{parent}}/secrets' end end