From ee9f6d7689b08e3aac5dc7ab1021e93b4a6f1952 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 27 Aug 2023 06:36:14 -0400 Subject: [PATCH] feat: Automated regeneration of dataform v1beta1 client (#15966) Auto-created at 2023-08-27 10:26:00 +0000 using the toys pull request generator. --- api_names_out.yaml | 4 +++ .../google-apis-dataform_v1beta1/CHANGELOG.md | 4 +++ .../google/apis/dataform_v1beta1/classes.rb | 34 +++++++++++++++++++ .../apis/dataform_v1beta1/gem_version.rb | 4 +-- .../apis/dataform_v1beta1/representations.rb | 16 +++++++++ 5 files changed, 60 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 3d50a28e809..332e64ee7ed 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -125177,6 +125177,7 @@ "/dataform:v1beta1/GitRemoteSettings": git_remote_settings "/dataform:v1beta1/GitRemoteSettings/authenticationTokenSecretVersion": authentication_token_secret_version "/dataform:v1beta1/GitRemoteSettings/defaultBranch": default_branch +"/dataform:v1beta1/GitRemoteSettings/sshAuthenticationConfig": ssh_authentication_config "/dataform:v1beta1/GitRemoteSettings/tokenStatus": token_status "/dataform:v1beta1/GitRemoteSettings/url": url "/dataform:v1beta1/IncrementalTableConfig": incremental_table_config @@ -125377,6 +125378,9 @@ "/dataform:v1beta1/ScheduledReleaseRecord/releaseTime": release_time "/dataform:v1beta1/SetIamPolicyRequest": set_iam_policy_request "/dataform:v1beta1/SetIamPolicyRequest/policy": policy +"/dataform:v1beta1/SshAuthenticationConfig": ssh_authentication_config +"/dataform:v1beta1/SshAuthenticationConfig/hostPublicKey": host_public_key +"/dataform:v1beta1/SshAuthenticationConfig/userPrivateKeySecretVersion": user_private_key_secret_version "/dataform:v1beta1/Status": status "/dataform:v1beta1/Status/code": code "/dataform:v1beta1/Status/details": details diff --git a/generated/google-apis-dataform_v1beta1/CHANGELOG.md b/generated/google-apis-dataform_v1beta1/CHANGELOG.md index b17b7902535..368aec23804 100644 --- a/generated/google-apis-dataform_v1beta1/CHANGELOG.md +++ b/generated/google-apis-dataform_v1beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dataform_v1beta1 +### v0.14.0 (2023-08-27) + +* Regenerated from discovery document revision 20230812 + ### v0.13.0 (2023-08-13) * Regenerated from discovery document revision 20230805 diff --git a/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/classes.rb b/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/classes.rb index 9d680d93af6..fbb4160631d 100644 --- a/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/classes.rb +++ b/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/classes.rb @@ -895,6 +895,11 @@ class GitRemoteSettings # @return [String] attr_accessor :default_branch + # Configures fields for performing SSH authentication. + # Corresponds to the JSON property `sshAuthenticationConfig` + # @return [Google::Apis::DataformV1beta1::SshAuthenticationConfig] + attr_accessor :ssh_authentication_config + # Output only. Deprecated: The field does not contain any token status # information. Instead use https://cloud.google.com/dataform/reference/rest/ # v1beta1/projects.locations.repositories/computeAccessTokenStatus @@ -915,6 +920,7 @@ def initialize(**args) def update!(**args) @authentication_token_secret_version = args[:authentication_token_secret_version] if args.key?(:authentication_token_secret_version) @default_branch = args[:default_branch] if args.key?(:default_branch) + @ssh_authentication_config = args[:ssh_authentication_config] if args.key?(:ssh_authentication_config) @token_status = args[:token_status] if args.key?(:token_status) @url = args[:url] if args.key?(:url) end @@ -2317,6 +2323,34 @@ def update!(**args) end end + # Configures fields for performing SSH authentication. + class SshAuthenticationConfig + include Google::Apis::Core::Hashable + + # Required. Content of a public SSH key to verify an identity of a remote Git + # host. + # Corresponds to the JSON property `hostPublicKey` + # @return [String] + attr_accessor :host_public_key + + # Required. The name of the Secret Manager secret version to use as a ssh + # private key for Git operations. Must be in the format `projects/*/secrets/*/ + # versions/*`. + # Corresponds to the JSON property `userPrivateKeySecretVersion` + # @return [String] + attr_accessor :user_private_key_secret_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host_public_key = args[:host_public_key] if args.key?(:host_public_key) + @user_private_key_secret_version = args[:user_private_key_secret_version] if args.key?(:user_private_key_secret_version) + end + end + # The `Status` type defines a logical error model that is suitable for different # programming environments, including REST APIs and RPC APIs. It is used by [ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of diff --git a/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/gem_version.rb b/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/gem_version.rb index 478aaf5f49b..252be38efec 100644 --- a/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/gem_version.rb +++ b/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DataformV1beta1 # Version of the google-apis-dataform_v1beta1 gem - GEM_VERSION = "0.13.0" + GEM_VERSION = "0.14.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.12.0" # Revision of the discovery document this client was generated from - REVISION = "20230805" + REVISION = "20230812" end end end diff --git a/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/representations.rb b/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/representations.rb index 585b372daf6..e91cd664110 100644 --- a/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/representations.rb +++ b/generated/google-apis-dataform_v1beta1/lib/google/apis/dataform_v1beta1/representations.rb @@ -424,6 +424,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SshAuthenticationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end @@ -757,6 +763,8 @@ class GitRemoteSettings class Representation < Google::Apis::Core::JsonRepresentation property :authentication_token_secret_version, as: 'authenticationTokenSecretVersion' property :default_branch, as: 'defaultBranch' + property :ssh_authentication_config, as: 'sshAuthenticationConfig', class: Google::Apis::DataformV1beta1::SshAuthenticationConfig, decorator: Google::Apis::DataformV1beta1::SshAuthenticationConfig::Representation + property :token_status, as: 'tokenStatus' property :url, as: 'url' end @@ -1145,6 +1153,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class SshAuthenticationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host_public_key, as: 'hostPublicKey' + property :user_private_key_secret_version, as: 'userPrivateKeySecretVersion' + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation