From 36a30356764c49e1e3f521df5cf0c2b53c3f8231 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 7 Apr 2018 00:35:43 +0000 Subject: [PATCH] Autogenerated update (2018-04-07) Update: - bigquery_v2 - cloudbuild_v1 - safebrowsing_v4 --- api_names_out.yaml | 4 +++ generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 4 +-- generated/google/apis/cloudbuild_v1.rb | 2 +- .../google/apis/cloudbuild_v1/classes.rb | 28 +++++++++++++++++++ .../apis/cloudbuild_v1/representations.rb | 15 ++++++++++ generated/google/apis/safebrowsing_v4.rb | 2 +- 7 files changed, 52 insertions(+), 5 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 54868c6ec..91269e695 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 512594ac7..9773aa8a7 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -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' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 23ba36098..7ef2707d7 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -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 diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index 7799919e1..e1d991680 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -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' diff --git a/generated/google/apis/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index 3f7f25ca3..419ccadc1 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -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] + 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 diff --git a/generated/google/apis/cloudbuild_v1/representations.rb b/generated/google/apis/cloudbuild_v1/representations.rb index 2d9dcf278..94c4f20d4 100644 --- a/generated/google/apis/cloudbuild_v1/representations.rb +++ b/generated/google/apis/cloudbuild_v1/representations.rb @@ -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 diff --git a/generated/google/apis/safebrowsing_v4.rb b/generated/google/apis/safebrowsing_v4.rb index 8fe2732dd..256dd15ab 100644 --- a/generated/google/apis/safebrowsing_v4.rb +++ b/generated/google/apis/safebrowsing_v4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/safe-browsing/ module SafebrowsingV4 VERSION = 'V4' - REVISION = '20180403' + REVISION = '20180405' end end end