From 4e2203447627ee146eb91254d93fe331d68ca1ad Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 29 Sep 2024 03:01:05 -0700 Subject: [PATCH] feat: Automated regeneration of developerconnect v1 client (#20311) Auto-created at 2024-09-29 09:55:24 +0000 using the toys pull request generator. --- api_names_out.yaml | 35 +++ .../CHANGELOG.md | 5 + .../apis/developerconnect_v1/classes.rb | 274 ++++++++++++++++++ .../apis/developerconnect_v1/gem_version.rb | 6 +- .../developerconnect_v1/representations.rb | 111 +++++++ .../apis/developerconnect_v1/service.rb | 10 +- 6 files changed, 433 insertions(+), 8 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index c3b0ee97f1f..3441c36de7e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -142221,10 +142221,14 @@ "/developerconnect:v1/Connection/annotations": annotations "/developerconnect:v1/Connection/annotations/annotation": annotation "/developerconnect:v1/Connection/createTime": create_time +"/developerconnect:v1/Connection/cryptoKeyConfig": crypto_key_config "/developerconnect:v1/Connection/deleteTime": delete_time "/developerconnect:v1/Connection/disabled": disabled "/developerconnect:v1/Connection/etag": etag "/developerconnect:v1/Connection/githubConfig": github_config +"/developerconnect:v1/Connection/githubEnterpriseConfig": github_enterprise_config +"/developerconnect:v1/Connection/gitlabConfig": gitlab_config +"/developerconnect:v1/Connection/gitlabEnterpriseConfig": gitlab_enterprise_config "/developerconnect:v1/Connection/installationState": installation_state "/developerconnect:v1/Connection/labels": labels "/developerconnect:v1/Connection/labels/label": label @@ -142232,6 +142236,8 @@ "/developerconnect:v1/Connection/reconciling": reconciling "/developerconnect:v1/Connection/uid": uid "/developerconnect:v1/Connection/updateTime": update_time +"/developerconnect:v1/CryptoKeyConfig": crypto_key_config +"/developerconnect:v1/CryptoKeyConfig/keyReference": key_reference "/developerconnect:v1/Empty": empty "/developerconnect:v1/FetchGitHubInstallationsResponse": fetch_git_hub_installations_response "/developerconnect:v1/FetchGitHubInstallationsResponse/installations": installations @@ -142259,6 +142265,29 @@ "/developerconnect:v1/GitHubConfig/authorizerCredential": authorizer_credential "/developerconnect:v1/GitHubConfig/githubApp": github_app "/developerconnect:v1/GitHubConfig/installationUri": installation_uri +"/developerconnect:v1/GitHubEnterpriseConfig": git_hub_enterprise_config +"/developerconnect:v1/GitHubEnterpriseConfig/appId": app_id +"/developerconnect:v1/GitHubEnterpriseConfig/appInstallationId": app_installation_id +"/developerconnect:v1/GitHubEnterpriseConfig/appSlug": app_slug +"/developerconnect:v1/GitHubEnterpriseConfig/hostUri": host_uri +"/developerconnect:v1/GitHubEnterpriseConfig/installationUri": installation_uri +"/developerconnect:v1/GitHubEnterpriseConfig/privateKeySecretVersion": private_key_secret_version +"/developerconnect:v1/GitHubEnterpriseConfig/serverVersion": server_version +"/developerconnect:v1/GitHubEnterpriseConfig/serviceDirectoryConfig": service_directory_config +"/developerconnect:v1/GitHubEnterpriseConfig/sslCaCertificate": ssl_ca_certificate +"/developerconnect:v1/GitHubEnterpriseConfig/webhookSecretSecretVersion": webhook_secret_secret_version +"/developerconnect:v1/GitLabConfig": git_lab_config +"/developerconnect:v1/GitLabConfig/authorizerCredential": authorizer_credential +"/developerconnect:v1/GitLabConfig/readAuthorizerCredential": read_authorizer_credential +"/developerconnect:v1/GitLabConfig/webhookSecretSecretVersion": webhook_secret_secret_version +"/developerconnect:v1/GitLabEnterpriseConfig": git_lab_enterprise_config +"/developerconnect:v1/GitLabEnterpriseConfig/authorizerCredential": authorizer_credential +"/developerconnect:v1/GitLabEnterpriseConfig/hostUri": host_uri +"/developerconnect:v1/GitLabEnterpriseConfig/readAuthorizerCredential": read_authorizer_credential +"/developerconnect:v1/GitLabEnterpriseConfig/serverVersion": server_version +"/developerconnect:v1/GitLabEnterpriseConfig/serviceDirectoryConfig": service_directory_config +"/developerconnect:v1/GitLabEnterpriseConfig/sslCaCertificate": ssl_ca_certificate +"/developerconnect:v1/GitLabEnterpriseConfig/webhookSecretSecretVersion": webhook_secret_secret_version "/developerconnect:v1/GitRepositoryLink": git_repository_link "/developerconnect:v1/GitRepositoryLink/annotations": annotations "/developerconnect:v1/GitRepositoryLink/annotations/annotation": annotation @@ -142272,6 +142301,7 @@ "/developerconnect:v1/GitRepositoryLink/reconciling": reconciling "/developerconnect:v1/GitRepositoryLink/uid": uid "/developerconnect:v1/GitRepositoryLink/updateTime": update_time +"/developerconnect:v1/GitRepositoryLink/webhookId": webhook_id "/developerconnect:v1/Installation": installation "/developerconnect:v1/Installation/id": id "/developerconnect:v1/Installation/name": name @@ -142329,12 +142359,17 @@ "/developerconnect:v1/OperationMetadata/statusMessage": status_message "/developerconnect:v1/OperationMetadata/target": target "/developerconnect:v1/OperationMetadata/verb": verb +"/developerconnect:v1/ServiceDirectoryConfig": service_directory_config +"/developerconnect:v1/ServiceDirectoryConfig/service": service "/developerconnect:v1/Status": status "/developerconnect:v1/Status/code": code "/developerconnect:v1/Status/details": details "/developerconnect:v1/Status/details/detail": detail "/developerconnect:v1/Status/details/detail/detail": detail "/developerconnect:v1/Status/message": message +"/developerconnect:v1/UserCredential": user_credential +"/developerconnect:v1/UserCredential/userTokenSecretVersion": user_token_secret_version +"/developerconnect:v1/UserCredential/username": username "/developerconnect:v1/developerconnect.projects.locations.connections.create": create_project_location_connection "/developerconnect:v1/developerconnect.projects.locations.connections.create/connectionId": connection_id "/developerconnect:v1/developerconnect.projects.locations.connections.create/parent": parent diff --git a/generated/google-apis-developerconnect_v1/CHANGELOG.md b/generated/google-apis-developerconnect_v1/CHANGELOG.md index 5a16a296601..ed0c6dcaa75 100644 --- a/generated/google-apis-developerconnect_v1/CHANGELOG.md +++ b/generated/google-apis-developerconnect_v1/CHANGELOG.md @@ -1,5 +1,10 @@ # Release history for google-apis-developerconnect_v1 +### v0.2.0 (2024-09-29) + +* Regenerated from discovery document revision 20240919 +* Regenerated using generator version 0.15.1 + ### v0.1.0 (2024-05-26) * Regenerated from discovery document revision 20240523 diff --git a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/classes.rb b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/classes.rb index 8f6c0b894b1..7e27b86e30f 100644 --- a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/classes.rb +++ b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/classes.rb @@ -49,6 +49,12 @@ class Connection # @return [String] attr_accessor :create_time + # The crypto key configuration. This field is used by the Customer-managed + # encryption keys (CMEK) feature. + # Corresponds to the JSON property `cryptoKeyConfig` + # @return [Google::Apis::DeveloperconnectV1::CryptoKeyConfig] + attr_accessor :crypto_key_config + # Output only. [Output only] Delete timestamp # Corresponds to the JSON property `deleteTime` # @return [String] @@ -74,6 +80,21 @@ class Connection # @return [Google::Apis::DeveloperconnectV1::GitHubConfig] attr_accessor :github_config + # Configuration for connections to an instance of GitHub Enterprise. + # Corresponds to the JSON property `githubEnterpriseConfig` + # @return [Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig] + attr_accessor :github_enterprise_config + + # Configuration for connections to gitlab.com. + # Corresponds to the JSON property `gitlabConfig` + # @return [Google::Apis::DeveloperconnectV1::GitLabConfig] + attr_accessor :gitlab_config + + # Configuration for connections to an instance of GitLab Enterprise. + # Corresponds to the JSON property `gitlabEnterpriseConfig` + # @return [Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig] + attr_accessor :gitlab_enterprise_config + # Describes stage and necessary actions to be taken by the user to complete the # installation. Used for GitHub and GitHub Enterprise based connections. # Corresponds to the JSON property `installationState` @@ -116,10 +137,14 @@ def initialize(**args) def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @create_time = args[:create_time] if args.key?(:create_time) + @crypto_key_config = args[:crypto_key_config] if args.key?(:crypto_key_config) @delete_time = args[:delete_time] if args.key?(:delete_time) @disabled = args[:disabled] if args.key?(:disabled) @etag = args[:etag] if args.key?(:etag) @github_config = args[:github_config] if args.key?(:github_config) + @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config) + @gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config) + @gitlab_enterprise_config = args[:gitlab_enterprise_config] if args.key?(:gitlab_enterprise_config) @installation_state = args[:installation_state] if args.key?(:installation_state) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @@ -129,6 +154,28 @@ def update!(**args) end end + # The crypto key configuration. This field is used by the Customer-managed + # encryption keys (CMEK) feature. + class CryptoKeyConfig + include Google::Apis::Core::Hashable + + # Required. The name of the key which is used to encrypt/decrypt customer data. + # For key in Cloud KMS, the key should be in the format of `projects/*/locations/ + # */keyRings/*/cryptoKeys/*`. + # Corresponds to the JSON property `keyReference` + # @return [String] + attr_accessor :key_reference + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key_reference = args[:key_reference] if args.key?(:key_reference) + end + end + # A generic empty message that you can re-use to avoid defining duplicated empty # messages in your APIs. A typical example is to use it as the request or the # response type of an API method. For instance: service Foo ` rpc Bar(google. @@ -345,6 +392,179 @@ def update!(**args) end end + # Configuration for connections to an instance of GitHub Enterprise. + class GitHubEnterpriseConfig + include Google::Apis::Core::Hashable + + # Optional. ID of the GitHub App created from the manifest. + # Corresponds to the JSON property `appId` + # @return [Fixnum] + attr_accessor :app_id + + # Optional. ID of the installation of the GitHub App. + # Corresponds to the JSON property `appInstallationId` + # @return [Fixnum] + attr_accessor :app_installation_id + + # Output only. The URL-friendly name of the GitHub App. + # Corresponds to the JSON property `appSlug` + # @return [String] + attr_accessor :app_slug + + # Required. The URI of the GitHub Enterprise host this connection is for. + # Corresponds to the JSON property `hostUri` + # @return [String] + attr_accessor :host_uri + + # Output only. The URI to navigate to in order to manage the installation + # associated with this GitHubEnterpriseConfig. + # Corresponds to the JSON property `installationUri` + # @return [String] + attr_accessor :installation_uri + + # Optional. SecretManager resource containing the private key of the GitHub App, + # formatted as `projects/*/secrets/*/versions/*`. + # Corresponds to the JSON property `privateKeySecretVersion` + # @return [String] + attr_accessor :private_key_secret_version + + # Output only. GitHub Enterprise version installed at the host_uri. + # Corresponds to the JSON property `serverVersion` + # @return [String] + attr_accessor :server_version + + # ServiceDirectoryConfig represents Service Directory configuration for a + # connection. + # Corresponds to the JSON property `serviceDirectoryConfig` + # @return [Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig] + attr_accessor :service_directory_config + + # Optional. SSL certificate to use for requests to GitHub Enterprise. + # Corresponds to the JSON property `sslCaCertificate` + # @return [String] + attr_accessor :ssl_ca_certificate + + # Optional. SecretManager resource containing the webhook secret of the GitHub + # App, formatted as `projects/*/secrets/*/versions/*`. + # Corresponds to the JSON property `webhookSecretSecretVersion` + # @return [String] + attr_accessor :webhook_secret_secret_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_id = args[:app_id] if args.key?(:app_id) + @app_installation_id = args[:app_installation_id] if args.key?(:app_installation_id) + @app_slug = args[:app_slug] if args.key?(:app_slug) + @host_uri = args[:host_uri] if args.key?(:host_uri) + @installation_uri = args[:installation_uri] if args.key?(:installation_uri) + @private_key_secret_version = args[:private_key_secret_version] if args.key?(:private_key_secret_version) + @server_version = args[:server_version] if args.key?(:server_version) + @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config) + @ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate) + @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version) + end + end + + # Configuration for connections to gitlab.com. + class GitLabConfig + include Google::Apis::Core::Hashable + + # Represents a personal access token that authorized the Connection, and + # associated metadata. + # Corresponds to the JSON property `authorizerCredential` + # @return [Google::Apis::DeveloperconnectV1::UserCredential] + attr_accessor :authorizer_credential + + # Represents a personal access token that authorized the Connection, and + # associated metadata. + # Corresponds to the JSON property `readAuthorizerCredential` + # @return [Google::Apis::DeveloperconnectV1::UserCredential] + attr_accessor :read_authorizer_credential + + # Required. Immutable. SecretManager resource containing the webhook secret of a + # GitLab project, formatted as `projects/*/secrets/*/versions/*`. This is used + # to validate webhooks. + # Corresponds to the JSON property `webhookSecretSecretVersion` + # @return [String] + attr_accessor :webhook_secret_secret_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential) + @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential) + @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version) + end + end + + # Configuration for connections to an instance of GitLab Enterprise. + class GitLabEnterpriseConfig + include Google::Apis::Core::Hashable + + # Represents a personal access token that authorized the Connection, and + # associated metadata. + # Corresponds to the JSON property `authorizerCredential` + # @return [Google::Apis::DeveloperconnectV1::UserCredential] + attr_accessor :authorizer_credential + + # Required. The URI of the GitLab Enterprise host this connection is for. + # Corresponds to the JSON property `hostUri` + # @return [String] + attr_accessor :host_uri + + # Represents a personal access token that authorized the Connection, and + # associated metadata. + # Corresponds to the JSON property `readAuthorizerCredential` + # @return [Google::Apis::DeveloperconnectV1::UserCredential] + attr_accessor :read_authorizer_credential + + # Output only. Version of the GitLab Enterprise server running on the `host_uri`. + # Corresponds to the JSON property `serverVersion` + # @return [String] + attr_accessor :server_version + + # ServiceDirectoryConfig represents Service Directory configuration for a + # connection. + # Corresponds to the JSON property `serviceDirectoryConfig` + # @return [Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig] + attr_accessor :service_directory_config + + # Optional. SSL Certificate Authority certificate to use for requests to GitLab + # Enterprise instance. + # Corresponds to the JSON property `sslCaCertificate` + # @return [String] + attr_accessor :ssl_ca_certificate + + # Required. Immutable. SecretManager resource containing the webhook secret of a + # GitLab project, formatted as `projects/*/secrets/*/versions/*`. This is used + # to validate webhooks. + # Corresponds to the JSON property `webhookSecretSecretVersion` + # @return [String] + attr_accessor :webhook_secret_secret_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential) + @host_uri = args[:host_uri] if args.key?(:host_uri) + @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential) + @server_version = args[:server_version] if args.key?(:server_version) + @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config) + @ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate) + @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version) + end + end + # Message describing the GitRepositoryLink object class GitRepositoryLink include Google::Apis::Core::Hashable @@ -404,6 +624,11 @@ class GitRepositoryLink # @return [String] attr_accessor :update_time + # Output only. External ID of the webhook created for the repository. + # Corresponds to the JSON property `webhookId` + # @return [String] + attr_accessor :webhook_id + def initialize(**args) update!(**args) end @@ -420,6 +645,7 @@ def update!(**args) @reconciling = args[:reconciling] if args.key?(:reconciling) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) + @webhook_id = args[:webhook_id] if args.key?(:webhook_id) end end @@ -815,6 +1041,27 @@ def update!(**args) end end + # ServiceDirectoryConfig represents Service Directory configuration for a + # connection. + class ServiceDirectoryConfig + include Google::Apis::Core::Hashable + + # Required. The Service Directory service name. Format: projects/`project`/ + # locations/`location`/namespaces/`namespace`/services/`service`. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + 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 @@ -853,6 +1100,33 @@ def update!(**args) @message = args[:message] if args.key?(:message) end end + + # Represents a personal access token that authorized the Connection, and + # associated metadata. + class UserCredential + include Google::Apis::Core::Hashable + + # Required. A SecretManager resource containing the user token that authorizes + # the Developer Connect connection. Format: `projects/*/secrets/*/versions/*`. + # Corresponds to the JSON property `userTokenSecretVersion` + # @return [String] + attr_accessor :user_token_secret_version + + # Output only. The username associated with this token. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_token_secret_version = args[:user_token_secret_version] if args.key?(:user_token_secret_version) + @username = args[:username] if args.key?(:username) + end + end end end end diff --git a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/gem_version.rb b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/gem_version.rb index b545c50fa72..7bb4b727241 100644 --- a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/gem_version.rb +++ b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DeveloperconnectV1 # Version of the google-apis-developerconnect_v1 gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client - GENERATOR_VERSION = "0.15.0" + GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20240523" + REVISION = "20240919" end end end diff --git a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/representations.rb b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/representations.rb index fb4ab4d448c..c2e727167ce 100644 --- a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/representations.rb +++ b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/representations.rb @@ -34,6 +34,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CryptoKeyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -88,6 +94,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GitHubEnterpriseConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GitLabConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GitLabEnterpriseConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GitRepositoryLink class Representation < Google::Apis::Core::JsonRepresentation; end @@ -160,12 +184,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ServiceDirectoryConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class UserCredential + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -177,11 +213,19 @@ class Connection class Representation < Google::Apis::Core::JsonRepresentation hash :annotations, as: 'annotations' property :create_time, as: 'createTime' + property :crypto_key_config, as: 'cryptoKeyConfig', class: Google::Apis::DeveloperconnectV1::CryptoKeyConfig, decorator: Google::Apis::DeveloperconnectV1::CryptoKeyConfig::Representation + property :delete_time, as: 'deleteTime' property :disabled, as: 'disabled' property :etag, as: 'etag' property :github_config, as: 'githubConfig', class: Google::Apis::DeveloperconnectV1::GitHubConfig, decorator: Google::Apis::DeveloperconnectV1::GitHubConfig::Representation + property :github_enterprise_config, as: 'githubEnterpriseConfig', class: Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig, decorator: Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig::Representation + + property :gitlab_config, as: 'gitlabConfig', class: Google::Apis::DeveloperconnectV1::GitLabConfig, decorator: Google::Apis::DeveloperconnectV1::GitLabConfig::Representation + + property :gitlab_enterprise_config, as: 'gitlabEnterpriseConfig', class: Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig, decorator: Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig::Representation + property :installation_state, as: 'installationState', class: Google::Apis::DeveloperconnectV1::InstallationState, decorator: Google::Apis::DeveloperconnectV1::InstallationState::Representation hash :labels, as: 'labels' @@ -192,6 +236,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class CryptoKeyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_reference, as: 'keyReference' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -264,6 +315,50 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GitHubEnterpriseConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_id, :numeric_string => true, as: 'appId' + property :app_installation_id, :numeric_string => true, as: 'appInstallationId' + property :app_slug, as: 'appSlug' + property :host_uri, as: 'hostUri' + property :installation_uri, as: 'installationUri' + property :private_key_secret_version, as: 'privateKeySecretVersion' + property :server_version, as: 'serverVersion' + property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig, decorator: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig::Representation + + property :ssl_ca_certificate, as: 'sslCaCertificate' + property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion' + end + end + + class GitLabConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation + + property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation + + property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion' + end + end + + class GitLabEnterpriseConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation + + property :host_uri, as: 'hostUri' + property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation + + property :server_version, as: 'serverVersion' + property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig, decorator: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig::Representation + + property :ssl_ca_certificate, as: 'sslCaCertificate' + property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion' + end + end + class GitRepositoryLink # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -277,6 +372,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :reconciling, as: 'reconciling' property :uid, as: 'uid' property :update_time, as: 'updateTime' + property :webhook_id, as: 'webhookId' end end @@ -387,6 +483,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ServiceDirectoryConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service, as: 'service' + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -395,6 +498,14 @@ class Representation < Google::Apis::Core::JsonRepresentation property :message, as: 'message' end end + + class UserCredential + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_token_secret_version, as: 'userTokenSecretVersion' + property :username, as: 'username' + end + end end end end diff --git a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/service.rb b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/service.rb index 9be1e30a6f4..cb6c023430c 100644 --- a/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/service.rb +++ b/generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/service.rb @@ -393,11 +393,11 @@ def list_project_location_connections(parent, filter: nil, order_by: nil, page_s # duplicate commitments. The request ID must be a valid UUID with the exception # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [String] update_mask - # Required. Field mask is used to specify the fields to be overwritten in the - # Connection resource by the update. The fields specified in the update_mask are - # relative to the resource, not the full request. A field will be overwritten if - # it is in the mask. If the user does not provide a mask then all fields will be - # overwritten. + # Optional. Required. Field mask is used to specify the fields to be overwritten + # in the Connection resource by the update. The fields specified in the + # update_mask are relative to the resource, not the full request. A field will + # be overwritten if it is in the mask. If the user does not provide a mask then + # all fields will be overwritten. # @param [Boolean] validate_only # Optional. If set, validate the request, but do not actually post it. # @param [String] fields