Autogenerated update (2018-04-07)

Update:
- bigquery_v2
- cloudbuild_v1
- safebrowsing_v4
This commit is contained in:
Google APIs committed 2018-04-07 00:35:43 +00:00
1 parent 7757a2c7df
commit 36a3035676
7 files changed
+52 -5

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20180325'
REVISION = '20180401'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
+2 -2
View File
@@ -348,8 +348,8 @@ module Google
# @return [Fixnum]
attr_accessor :last_modified_time
# The geographic location where the dataset should reside. Possible values
# include EU and US. The default value is US.
# The geographic location where the dataset should reside. The default value is
# US.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20180405'
REVISION = '20180406'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -59,6 +59,34 @@ module Google
end
end
# An artifact that was uploaded during a build. This
# is a single record in the artifact manifest JSON file.
class ArtifactResult
include Google::Apis::Core::Hashable
# The file hash of the artifact.
# Corresponds to the JSON property `fileHash`
# @return [Array<Google::Apis::CloudbuildV1::FileHashes>]
attr_accessor :file_hash
# The path of an artifact in a Google Cloud Storage bucket, with the
# generation number. For example,
# `gs://mybucket/path/to/output.jar#generation`.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@file_hash = args[:file_hash] if args.key?(:file_hash)
@location = args[:location] if args.key?(:location)
end
end
# Artifacts produced by a build that should be uploaded upon
# successful completion of all build steps.
class Artifacts
@@ -28,6 +28,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ArtifactResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Artifacts
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -194,6 +200,15 @@ module Google
end
end
class ArtifactResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
property :location, as: 'location'
end
end
class Artifacts
# @private
class Representation < Google::Apis::Core::JsonRepresentation
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/safe-browsing/
module SafebrowsingV4
VERSION = 'V4'
REVISION = '20180403'
REVISION = '20180405'
end
end
end