mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -07:00
sanity test issues
This commit is contained in:
parent
f526d210f6
commit
9a838fab7f
4 changed files with 10 additions and 8 deletions
|
@ -3,6 +3,7 @@
|
|||
# Copyright: (c) 2018, Google Inc.
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
class ModuleDocFragment(object):
|
||||
# GCP doc fragment.
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# Copyright (c), Google Inc, 2017
|
||||
# Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)
|
||||
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
|
||||
try:
|
||||
import requests
|
||||
HAS_REQUESTS = True
|
||||
|
|
|
@ -252,7 +252,6 @@ options:
|
|||
- The maximum number of bad records that BigQuery can ignore when reading
|
||||
data .
|
||||
required: false
|
||||
default: '0'
|
||||
type: int
|
||||
source_format:
|
||||
description:
|
||||
|
@ -325,7 +324,6 @@ options:
|
|||
- The number of rows at the top of a Google Sheet that BigQuery will skip
|
||||
when reading the data.
|
||||
required: false
|
||||
default: '0'
|
||||
type: int
|
||||
csv_options:
|
||||
description:
|
||||
|
@ -366,7 +364,6 @@ options:
|
|||
- The number of rows at the top of a CSV file that BigQuery will skip
|
||||
when reading the data.
|
||||
required: false
|
||||
default: '0'
|
||||
type: int
|
||||
bigtable_options:
|
||||
description:
|
||||
|
|
|
@ -116,26 +116,26 @@ bucket:
|
|||
type: str
|
||||
cache_control:
|
||||
description:
|
||||
- HTTP ‘Cache-Control’ header for this object
|
||||
- HTTP 'Cache-Control' header for this object
|
||||
returned: download, upload
|
||||
type: str
|
||||
chunk_size:
|
||||
description:
|
||||
- Get the blob’s default chunk size
|
||||
- Get the blob's default chunk size
|
||||
returned: download, upload
|
||||
type: str
|
||||
media_link:
|
||||
descrpition:
|
||||
description:
|
||||
- The link for the media
|
||||
returned: download, upload
|
||||
type: str
|
||||
self_link:
|
||||
descrpition:
|
||||
description:
|
||||
- The self_link for the media.
|
||||
returned: download, upload
|
||||
type: str
|
||||
storage_class:
|
||||
descrpition:
|
||||
description:
|
||||
- The storage class for the object.
|
||||
returned: download, upload
|
||||
type: str
|
||||
|
@ -283,6 +283,7 @@ def remote_file_path(module):
|
|||
else:
|
||||
return module.params["dest"]
|
||||
|
||||
|
||||
def blob_to_dict(blob):
|
||||
return {
|
||||
'bucket': {
|
||||
|
@ -295,5 +296,6 @@ def blob_to_dict(blob):
|
|||
'storage_class': blob.storage_class
|
||||
}
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
Loading…
Add table
Reference in a new issue