mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-22 10:51:23 -07:00
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
caae08275f
commit
e17ffe42fb
6 changed files with 12 additions and 12 deletions
|
@ -856,11 +856,11 @@ def fetch_resource(module, link, kind, allow_not_found=True):
|
|||
|
||||
|
||||
def self_link(module):
|
||||
return "https://sqladmin.googleapis.com/v1beta4/projects/{project}/instances/{name}".format(**module.params)
|
||||
return "https://sqladmin.googleapis.com/sql/v1beta4/projects/{project}/instances/{name}".format(**module.params)
|
||||
|
||||
|
||||
def collection(module):
|
||||
return "https://sqladmin.googleapis.com/v1beta4/projects/{project}/instances".format(**module.params)
|
||||
return "https://sqladmin.googleapis.com/sql/v1beta4/projects/{project}/instances".format(**module.params)
|
||||
|
||||
|
||||
def return_if_object(module, response, kind, allow_not_found=False):
|
||||
|
@ -930,7 +930,7 @@ def response_to_hash(module, response):
|
|||
def async_op_url(module, extra_data=None):
|
||||
if extra_data is None:
|
||||
extra_data = {}
|
||||
url = "https://sqladmin.googleapis.com/v1beta4/projects/{project}/operations/{op_id}"
|
||||
url = "https://sqladmin.googleapis.com/sql/v1beta4/projects/{project}/operations/{op_id}"
|
||||
combined = extra_data.copy()
|
||||
combined.update(module.params)
|
||||
return url.format(**combined)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue