Skip to content

Commit

Permalink
Pick up stub docstring fix in GAPIC generator. (#6986)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and tseaver committed Jan 4, 2019
1 parent 2f20bc0 commit 3a0dafd
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def channel(self):

@property
def annotate_video(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`VideoIntelligenceServiceClient.annotate_video`.
Performs asynchronous video annotation. Progress and results can be
retrieved through the ``google.longrunning.Operations`` interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@ class Feature(enum.IntEnum):
SAFE_SEARCH_DETECTION = 4


class LabelDetectionMode(enum.IntEnum):
"""
Label detection mode.
Attributes:
LABEL_DETECTION_MODE_UNSPECIFIED (int): Unspecified.
SHOT_MODE (int): Detect shot-level labels.
FRAME_MODE (int): Detect frame-level labels.
SHOT_AND_FRAME_MODE (int): Detect both shot-level and frame-level labels.
"""

LABEL_DETECTION_MODE_UNSPECIFIED = 0
SHOT_MODE = 1
FRAME_MODE = 2
SHOT_AND_FRAME_MODE = 3


class LabelLevel(enum.IntEnum):
"""
Label level (scope).
Expand All @@ -57,23 +74,6 @@ class LabelLevel(enum.IntEnum):
FRAME_LEVEL = 4


class LabelDetectionMode(enum.IntEnum):
"""
Label detection mode.
Attributes:
LABEL_DETECTION_MODE_UNSPECIFIED (int): Unspecified.
SHOT_MODE (int): Detect shot-level labels.
FRAME_MODE (int): Detect frame-level labels.
SHOT_AND_FRAME_MODE (int): Detect both shot-level and frame-level labels.
"""

LABEL_DETECTION_MODE_UNSPECIFIED = 0
SHOT_MODE = 1
FRAME_MODE = 2
SHOT_AND_FRAME_MODE = 3


class Likelihood(enum.IntEnum):
"""
Bucketized representation of likelihood.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def channel(self):

@property
def annotate_video(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`VideoIntelligenceServiceClient.annotate_video`.
Performs asynchronous video annotation. Progress and results can be
retrieved through the ``google.longrunning.Operations`` interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def channel(self):

@property
def annotate_video(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`VideoIntelligenceServiceClient.annotate_video`.
Performs asynchronous video annotation. Progress and results can be
retrieved through the ``google.longrunning.Operations`` interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def channel(self):

@property
def annotate_video(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`VideoIntelligenceServiceClient.annotate_video`.
Performs asynchronous video annotation. Progress and results can be
retrieved through the ``google.longrunning.Operations`` interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def channel(self):

@property
def annotate_video(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`VideoIntelligenceServiceClient.annotate_video`.
Performs asynchronous video annotation. Progress and results can be
retrieved through the ``google.longrunning.Operations`` interface.
Expand Down
10 changes: 5 additions & 5 deletions videointelligence/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2018-12-07T13:32:18.607182Z",
"updateTime": "2018-12-18T13:30:30.604624Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.2",
"dockerImage": "googleapis/artman@sha256:2f6b261ee7fe1aedf238991c93a20b3820de37a343d0cacf3e3e9555c2aaf2ea"
"version": "0.16.3",
"dockerImage": "googleapis/artman@sha256:bfb92654b4a77368471f70e2808eaf4e60f263b9559f27bb3284097322787bf1"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "200fbbe59cc7b0077ae525eb5f3d6420c0c53e61",
"internalRef": "224174014"
"sha": "c04bc0dc0a9164d924a9ab923fd6845b4ae6a7ab",
"internalRef": "225851467"
}
},
{
Expand Down

0 comments on commit 3a0dafd

Please sign in to comment.