From 343ba9218fbfd544d0ad84f76e2507490c366390 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 29 May 2018 00:35:59 +0000 Subject: [PATCH] Autogenerated update (2018-05-29) Update: - genomics_v2alpha1 - pagespeedonline_v4 - tpu_v1alpha1 --- api_names_out.yaml | 4 +++ generated/google/apis/genomics_v2alpha1.rb | 2 +- .../google/apis/genomics_v2alpha1/classes.rb | 35 +++++++++++++++++++ .../apis/genomics_v2alpha1/representations.rb | 16 +++++++++ generated/google/apis/pagespeedonline_v4.rb | 2 +- generated/google/apis/tpu_v1alpha1.rb | 2 +- 6 files changed, 58 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 3f3cdbdb5..fabf213d3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -58611,6 +58611,7 @@ "/genomics:v2alpha1/Action": action "/genomics:v2alpha1/Action/commands": commands "/genomics:v2alpha1/Action/commands/command": command +"/genomics:v2alpha1/Action/credentials": credentials "/genomics:v2alpha1/Action/entrypoint": entrypoint "/genomics:v2alpha1/Action/environment": environment "/genomics:v2alpha1/Action/environment/environment": environment @@ -58743,6 +58744,9 @@ "/genomics:v2alpha1/RunPipelineRequest/pipeline": pipeline "/genomics:v2alpha1/RuntimeMetadata": runtime_metadata "/genomics:v2alpha1/RuntimeMetadata/computeEngine": compute_engine +"/genomics:v2alpha1/Secret": secret +"/genomics:v2alpha1/Secret/cipherText": cipher_text +"/genomics:v2alpha1/Secret/keyName": key_name "/genomics:v2alpha1/ServiceAccount": service_account "/genomics:v2alpha1/ServiceAccount/email": email "/genomics:v2alpha1/ServiceAccount/scopes": scopes diff --git a/generated/google/apis/genomics_v2alpha1.rb b/generated/google/apis/genomics_v2alpha1.rb index a023ea0d3..99730938d 100644 --- a/generated/google/apis/genomics_v2alpha1.rb +++ b/generated/google/apis/genomics_v2alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV2alpha1 VERSION = 'V2alpha1' - REVISION = '20180501' + REVISION = '20180528' # 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/genomics_v2alpha1/classes.rb b/generated/google/apis/genomics_v2alpha1/classes.rb index 088a6568e..3f8e221cc 100644 --- a/generated/google/apis/genomics_v2alpha1/classes.rb +++ b/generated/google/apis/genomics_v2alpha1/classes.rb @@ -65,6 +65,12 @@ module Google # @return [Array] attr_accessor :commands + # Secret holds encrypted information that is only decrypted and stored in RAM + # by the worker VM when running the pipeline. + # Corresponds to the JSON property `credentials` + # @return [Google::Apis::GenomicsV2alpha1::Secret] + attr_accessor :credentials + # If specified, overrides the ENTRYPOINT specified in the container. # Corresponds to the JSON property `entrypoint` # @return [String] @@ -158,6 +164,7 @@ module Google # Update properties of this object def update!(**args) @commands = args[:commands] if args.key?(:commands) + @credentials = args[:credentials] if args.key?(:credentials) @entrypoint = args[:entrypoint] if args.key?(:entrypoint) @environment = args[:environment] if args.key?(:environment) @flags = args[:flags] if args.key?(:flags) @@ -1087,6 +1094,34 @@ module Google end end + # Secret holds encrypted information that is only decrypted and stored in RAM + # by the worker VM when running the pipeline. + class Secret + include Google::Apis::Core::Hashable + + # The value of the cipherText response from the `encrypt` method. + # Corresponds to the JSON property `cipherText` + # @return [String] + attr_accessor :cipher_text + + # The name of the Cloud KMS key that will be used to decrypt the secret + # value. The VM service account must have the required permissions and + # authentication scopes to invoke the `decrypt` method on the specified key. + # Corresponds to the JSON property `keyName` + # @return [String] + attr_accessor :key_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cipher_text = args[:cipher_text] if args.key?(:cipher_text) + @key_name = args[:key_name] if args.key?(:key_name) + end + end + # Carries information about a Google Cloud Service Account. class ServiceAccount include Google::Apis::Core::Hashable diff --git a/generated/google/apis/genomics_v2alpha1/representations.rb b/generated/google/apis/genomics_v2alpha1/representations.rb index 6c703acd0..65fc28ff1 100644 --- a/generated/google/apis/genomics_v2alpha1/representations.rb +++ b/generated/google/apis/genomics_v2alpha1/representations.rb @@ -190,6 +190,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Secret + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ServiceAccount class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,6 +244,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :commands, as: 'commands' + property :credentials, as: 'credentials', class: Google::Apis::GenomicsV2alpha1::Secret, decorator: Google::Apis::GenomicsV2alpha1::Secret::Representation + property :entrypoint, as: 'entrypoint' hash :environment, as: 'environment' collection :flags, as: 'flags' @@ -489,6 +497,14 @@ module Google end end + class Secret + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cipher_text, as: 'cipherText' + property :key_name, as: 'keyName' + end + end + class ServiceAccount # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/pagespeedonline_v4.rb b/generated/google/apis/pagespeedonline_v4.rb index dd225dc1e..3b99659a2 100644 --- a/generated/google/apis/pagespeedonline_v4.rb +++ b/generated/google/apis/pagespeedonline_v4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v4/getting-started module PagespeedonlineV4 VERSION = 'V4' - REVISION = '20180315' + REVISION = '20180508' end end end diff --git a/generated/google/apis/tpu_v1alpha1.rb b/generated/google/apis/tpu_v1alpha1.rb index 2fe85e226..524c02332 100644 --- a/generated/google/apis/tpu_v1alpha1.rb +++ b/generated/google/apis/tpu_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tpu/ module TpuV1alpha1 VERSION = 'V1alpha1' - REVISION = '20180411' + REVISION = '20180525' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'