Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions asset/google/cloud/asset_v1beta1/gapic/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,6 @@
import enum


class NullValue(enum.IntEnum):
"""
``NullValue`` is a singleton enumeration to represent the null value for
the ``Value`` type union.

The JSON representation for ``NullValue`` is JSON ``null``.

Attributes:
NULL_VALUE (int): Null value.
"""

NULL_VALUE = 0


class ContentType(enum.IntEnum):
"""
Asset content type.
Expand All @@ -45,3 +31,17 @@ class ContentType(enum.IntEnum):
CONTENT_TYPE_UNSPECIFIED = 0
RESOURCE = 1
IAM_POLICY = 2


class NullValue(enum.IntEnum):
"""
``NullValue`` is a singleton enumeration to represent the null value for
the ``Value`` type union.

The JSON representation for ``NullValue`` is JSON ``null``.

Attributes:
NULL_VALUE (int): Null value.
"""

NULL_VALUE = 0
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def channel(self):

@property
def export_assets(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`AssetServiceClient.export_assets`.

Exports assets with time and resource types to a given Cloud Storage
location. The output format is newline-delimited JSON. This API
Expand All @@ -121,7 +121,7 @@ def export_assets(self):

@property
def batch_get_assets_history(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`AssetServiceClient.batch_get_assets_history`.

Batch gets the update history of assets that overlap a time window. For
RESOURCE content, this API outputs history with asset in both non-delete
Expand Down
36 changes: 24 additions & 12 deletions asset/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
{
"updateTime": "2018-12-18T13:10:53.377179Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.3",
"dockerImage": "googleapis/artman@sha256:bfb92654b4a77368471f70e2808eaf4e60f263b9559f27bb3284097322787bf1"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f",
"internalRef": "221837528"
"sha": "c04bc0dc0a9164d924a9ab923fd6845b4ae6a7ab",
"internalRef": "225851467"
}
},
{
"git": {
"name": "googleapis-private",
"remote": "https://github.com/googleapis/googleapis-private.git",
"sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641",
"internalRef": "221340946"
"template": {
"name": "python_library",
"origin": "synthtool.gcp",
"version": "2018.12.6"
}
},
}
],
"destinations": [
{
"generator": {
"name": "artman",
"version": "0.16.0",
"dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b"
"client": {
"source": "googleapis",
"apiName": "asset",
"apiVersion": "v1beta1",
"language": "python",
"generator": "gapic",
"config": "google/cloud/asset/artman_cloudasset_v1beta1.yaml"
}
}
]
Expand Down