Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Videointelligence: pick up stub docstring fix in GAPIC generator. #6986

Merged
merged 1 commit into from
Jan 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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