Autogenerated update (2018-04-07)
Update: - bigquery_v2 - cloudbuild_v1 - safebrowsing_v4
This commit is contained in:
parent
7757a2c7df
commit
36a3035676
|
@ -12890,6 +12890,10 @@
|
|||
"/cloudbuild:v1/ArtifactObjects/paths": paths
|
||||
"/cloudbuild:v1/ArtifactObjects/paths/path": path
|
||||
"/cloudbuild:v1/ArtifactObjects/timing": timing
|
||||
"/cloudbuild:v1/ArtifactResult": artifact_result
|
||||
"/cloudbuild:v1/ArtifactResult/fileHash": file_hash
|
||||
"/cloudbuild:v1/ArtifactResult/fileHash/file_hash": file_hash
|
||||
"/cloudbuild:v1/ArtifactResult/location": location
|
||||
"/cloudbuild:v1/Artifacts": artifacts
|
||||
"/cloudbuild:v1/Artifacts/images": images
|
||||
"/cloudbuild:v1/Artifacts/images/image": image
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/safe-browsing/
|
||||
module SafebrowsingV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20180403'
|
||||
REVISION = '20180405'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue