Skip to content

Commit

Permalink
feat: Automated regeneration of videointelligence v1 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 6, 2020
1 parent 5209727 commit e140637
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 2 deletions.
12 changes: 12 additions & 0 deletions api_names_out.yaml
Expand Up @@ -151644,6 +151644,9 @@
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceAnnotation/segments/segment": segment
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceAnnotation/thumbnail": thumbnail
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation": google_cloud_videointelligence_v1_face_detection_annotation
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/thumbnail": thumbnail
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/tracks": tracks
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/tracks/track": track
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionAnnotation/version": version
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionConfig": google_cloud_videointelligence_v1_face_detection_config
"/videointelligence:v1/GoogleCloudVideointelligenceV1_FaceDetectionConfig/includeAttributes": include_attributes
Expand Down Expand Up @@ -151904,6 +151907,9 @@
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/segments/segment": segment
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceAnnotation/thumbnail": thumbnail
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation": google_cloud_videointelligence_v1beta2_face_detection_annotation
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/thumbnail": thumbnail
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/tracks": tracks
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/tracks/track": track
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceDetectionAnnotation/version": version
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceFrame": google_cloud_videointelligence_v1beta2_face_frame
"/videointelligence:v1/GoogleCloudVideointelligenceV1beta2_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes
Expand Down Expand Up @@ -152086,6 +152092,9 @@
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/frames/frame": frame
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/segments": segments
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/segments/segment": segment
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/thumbnail": thumbnail
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/tracks": tracks
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/tracks/track": track
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation/version": version
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAttribute": google_cloud_videointelligence_v1p1beta1_face_detection_attribute
"/videointelligence:v1/GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAttribute/emotions": emotions
Expand Down Expand Up @@ -152269,6 +152278,9 @@
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/segments/segment": segment
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceAnnotation/thumbnail": thumbnail
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation": google_cloud_videointelligence_v1p2beta1_face_detection_annotation
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/thumbnail": thumbnail
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/tracks": tracks
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/tracks/track": track
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceDetectionAnnotation/version": version
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame": google_cloud_videointelligence_v1p2beta1_face_frame
"/videointelligence:v1/GoogleCloudVideointelligenceV1p2beta1_FaceFrame/normalizedBoundingBoxes": normalized_bounding_boxes
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/videointelligence_v1.rb
Expand Up @@ -27,7 +27,7 @@ module Apis
# @see https://cloud.google.com/video-intelligence/docs/
module VideointelligenceV1
VERSION = 'V1'
REVISION = '20201016'
REVISION = '20201204'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
65 changes: 65 additions & 0 deletions generated/google/apis/videointelligence_v1/classes.rb
Expand Up @@ -338,6 +338,17 @@ def update!(**args)
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
include Google::Apis::Core::Hashable

# The thumbnail of a person's face.
# Corresponds to the JSON property `thumbnail`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :thumbnail

# The face tracks with attributes.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track>]
attr_accessor :tracks

# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
Expand All @@ -349,6 +360,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
Expand Down Expand Up @@ -1855,6 +1868,17 @@ def update!(**args)
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
include Google::Apis::Core::Hashable

# The thumbnail of a person's face.
# Corresponds to the JSON property `thumbnail`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :thumbnail

# The face tracks with attributes.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track>]
attr_accessor :tracks

# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
Expand All @@ -1866,6 +1890,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
Expand Down Expand Up @@ -2986,6 +3012,17 @@ def update!(**args)
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable

# The thumbnail of a person's face.
# Corresponds to the JSON property `thumbnail`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :thumbnail

# The face tracks with attributes.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track>]
attr_accessor :tracks

# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
Expand All @@ -2997,6 +3034,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
Expand Down Expand Up @@ -4117,6 +4156,17 @@ def update!(**args)
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable

# The thumbnail of a person's face.
# Corresponds to the JSON property `thumbnail`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :thumbnail

# The face tracks with attributes.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track>]
attr_accessor :tracks

# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
Expand All @@ -4128,6 +4178,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
Expand Down Expand Up @@ -5334,6 +5386,17 @@ def update!(**args)
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
include Google::Apis::Core::Hashable

# The thumbnail of a person's face.
# Corresponds to the JSON property `thumbnail`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :thumbnail

# The face tracks with attributes.
# Corresponds to the JSON property `tracks`
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track>]
attr_accessor :tracks

# Feature version.
# Corresponds to the JSON property `version`
# @return [String]
Expand All @@ -5345,6 +5408,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
@tracks = args[:tracks] if args.key?(:tracks)
@version = args[:version] if args.key?(:version)
end
end
Expand Down
15 changes: 15 additions & 0 deletions generated/google/apis/videointelligence_v1/representations.rb
Expand Up @@ -1209,6 +1209,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :thumbnail, :base64 => true, as: 'thumbnail'
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track::Representation

property :version, as: 'version'
end
end
Expand Down Expand Up @@ -1652,6 +1655,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :thumbnail, :base64 => true, as: 'thumbnail'
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track::Representation

property :version, as: 'version'
end
end
Expand Down Expand Up @@ -1997,6 +2003,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :thumbnail, :base64 => true, as: 'thumbnail'
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track::Representation

property :version, as: 'version'
end
end
Expand Down Expand Up @@ -2342,6 +2351,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :thumbnail, :base64 => true, as: 'thumbnail'
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track::Representation

property :version, as: 'version'
end
end
Expand Down Expand Up @@ -2715,6 +2727,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :thumbnail, :base64 => true, as: 'thumbnail'
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track::Representation

property :version, as: 'version'
end
end
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/videointelligence_v1/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "4ff96cf63bea9596177ae0f8b91b1cdc83e4ce81"
"sha": "52097274409f5f3f8175a67c467da0355c173958"
}
}
]
Expand Down

0 comments on commit e140637

Please sign in to comment.