Skip to content

Commit

Permalink
feat: Automated regeneration of developerconnect v1 client (#20399)
Browse files Browse the repository at this point in the history
Auto-created at 2024-10-20 09:11:34 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Oct 20, 2024
1 parent cd89784 commit 71dd85b
Show file tree
Hide file tree
Showing 6 changed files with 335 additions and 2 deletions.
18 changes: 18 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143637,6 +143637,12 @@
"/developerconnect:v1/GitRepositoryLink/uid": uid
"/developerconnect:v1/GitRepositoryLink/updateTime": update_time
"/developerconnect:v1/GitRepositoryLink/webhookId": webhook_id
"/developerconnect:v1/HttpBody": http_body
"/developerconnect:v1/HttpBody/contentType": content_type
"/developerconnect:v1/HttpBody/data": data
"/developerconnect:v1/HttpBody/extensions": extensions
"/developerconnect:v1/HttpBody/extensions/extension": extension
"/developerconnect:v1/HttpBody/extensions/extension/extension": extension
"/developerconnect:v1/Installation": installation
"/developerconnect:v1/Installation/id": id
"/developerconnect:v1/Installation/name": name
Expand Down Expand Up @@ -143694,6 +143700,12 @@
"/developerconnect:v1/OperationMetadata/statusMessage": status_message
"/developerconnect:v1/OperationMetadata/target": target
"/developerconnect:v1/OperationMetadata/verb": verb
"/developerconnect:v1/ProcessGitHubEnterpriseWebhookRequest": process_git_hub_enterprise_webhook_request
"/developerconnect:v1/ProcessGitHubEnterpriseWebhookRequest/body": body
"/developerconnect:v1/ProcessGitLabEnterpriseWebhookRequest": process_git_lab_enterprise_webhook_request
"/developerconnect:v1/ProcessGitLabEnterpriseWebhookRequest/body": body
"/developerconnect:v1/ProcessGitLabWebhookRequest": process_git_lab_webhook_request
"/developerconnect:v1/ProcessGitLabWebhookRequest/body": body
"/developerconnect:v1/ServiceDirectoryConfig": service_directory_config
"/developerconnect:v1/ServiceDirectoryConfig/service": service
"/developerconnect:v1/Status": status
Expand Down Expand Up @@ -143750,6 +143762,10 @@
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/pageSize": page_size
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/pageToken": page_token
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/parent": parent
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabEnterpriseWebhook": process_git_repository_link_git_lab_enterprise_webhook
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabEnterpriseWebhook/name": name
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabWebhook": process_git_repository_link_git_lab_webhook
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabWebhook/name": name
"/developerconnect:v1/developerconnect.projects.locations.connections.list": list_project_location_connections
"/developerconnect:v1/developerconnect.projects.locations.connections.list/filter": filter
"/developerconnect:v1/developerconnect.projects.locations.connections.list/orderBy": order_by
Expand All @@ -143762,6 +143778,8 @@
"/developerconnect:v1/developerconnect.projects.locations.connections.patch/requestId": request_id
"/developerconnect:v1/developerconnect.projects.locations.connections.patch/updateMask": update_mask
"/developerconnect:v1/developerconnect.projects.locations.connections.patch/validateOnly": validate_only
"/developerconnect:v1/developerconnect.projects.locations.connections.processGitHubEnterpriseWebhook": process_connection_git_hub_enterprise_webhook
"/developerconnect:v1/developerconnect.projects.locations.connections.processGitHubEnterpriseWebhook/parent": parent
"/developerconnect:v1/developerconnect.projects.locations.get": get_project_location
"/developerconnect:v1/developerconnect.projects.locations.get/name": name
"/developerconnect:v1/developerconnect.projects.locations.list": list_project_locations
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-developerconnect_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-developerconnect_v1

### v0.3.0 (2024-10-20)

* Regenerated from discovery document revision 20241014

### v0.2.0 (2024-09-29)

* Regenerated from discovery document revision 20240919
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,54 @@ def update!(**args)
end
end

# Message that represents an arbitrary HTTP body. It should only be used for
# payload formats that can't be represented as JSON, such as raw binary or an
# HTML page. This message can be used both in streaming and non-streaming API
# methods in the request as well as the response. It can be used as a top-level
# request field, which is convenient if one wants to extract parameters from
# either the URL or HTTP template into the request fields and also want access
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
# only changes how the request and response bodies are handled, all other
# features will continue to work unchanged.
class HttpBody
include Google::Apis::Core::Hashable

# The HTTP Content-Type header value specifying the content type of the body.
# Corresponds to the JSON property `contentType`
# @return [String]
attr_accessor :content_type

# The HTTP request/response body as raw binary.
# Corresponds to the JSON property `data`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :data

# Application specific response metadata. Must be set in the first response for
# streaming APIs.
# Corresponds to the JSON property `extensions`
# @return [Array<Hash<String,Object>>]
attr_accessor :extensions

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@content_type = args[:content_type] if args.key?(:content_type)
@data = args[:data] if args.key?(:data)
@extensions = args[:extensions] if args.key?(:extensions)
end
end

# Represents an installation of the GitHub App.
class Installation
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -1041,6 +1089,108 @@ def update!(**args)
end
end

# RPC request object accepted by the ProcessGitHubEnterpriseWebhook RPC method.
class ProcessGitHubEnterpriseWebhookRequest
include Google::Apis::Core::Hashable

# Message that represents an arbitrary HTTP body. It should only be used for
# payload formats that can't be represented as JSON, such as raw binary or an
# HTML page. This message can be used both in streaming and non-streaming API
# methods in the request as well as the response. It can be used as a top-level
# request field, which is convenient if one wants to extract parameters from
# either the URL or HTTP template into the request fields and also want access
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
# only changes how the request and response bodies are handled, all other
# features will continue to work unchanged.
# Corresponds to the JSON property `body`
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
attr_accessor :body

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@body = args[:body] if args.key?(:body)
end
end

# RPC request object accepted by the ProcessGitLabEnterpriseWebhook RPC method.
class ProcessGitLabEnterpriseWebhookRequest
include Google::Apis::Core::Hashable

# Message that represents an arbitrary HTTP body. It should only be used for
# payload formats that can't be represented as JSON, such as raw binary or an
# HTML page. This message can be used both in streaming and non-streaming API
# methods in the request as well as the response. It can be used as a top-level
# request field, which is convenient if one wants to extract parameters from
# either the URL or HTTP template into the request fields and also want access
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
# only changes how the request and response bodies are handled, all other
# features will continue to work unchanged.
# Corresponds to the JSON property `body`
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
attr_accessor :body

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@body = args[:body] if args.key?(:body)
end
end

# RPC request object accepted by the ProcessGitLabWebhook RPC method.
class ProcessGitLabWebhookRequest
include Google::Apis::Core::Hashable

# Message that represents an arbitrary HTTP body. It should only be used for
# payload formats that can't be represented as JSON, such as raw binary or an
# HTML page. This message can be used both in streaming and non-streaming API
# methods in the request as well as the response. It can be used as a top-level
# request field, which is convenient if one wants to extract parameters from
# either the URL or HTTP template into the request fields and also want access
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
# only changes how the request and response bodies are handled, all other
# features will continue to work unchanged.
# Corresponds to the JSON property `body`
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
attr_accessor :body

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@body = args[:body] if args.key?(:body)
end
end

# ServiceDirectoryConfig represents Service Directory configuration for a
# connection.
class ServiceDirectoryConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DeveloperconnectV1
# Version of the google-apis-developerconnect_v1 gem
GEM_VERSION = "0.2.0"
GEM_VERSION = "0.3.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240919"
REVISION = "20241014"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class HttpBody
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class Installation
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -184,6 +190,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class ProcessGitHubEnterpriseWebhookRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ProcessGitLabEnterpriseWebhookRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ProcessGitLabWebhookRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ServiceDirectoryConfig
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -376,6 +400,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class HttpBody
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content_type, as: 'contentType'
property :data, :base64 => true, as: 'data'
collection :extensions, as: 'extensions'
end
end

class Installation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -483,6 +516,30 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ProcessGitHubEnterpriseWebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation

end
end

class ProcessGitLabEnterpriseWebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation

end
end

class ProcessGitLabWebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation

end
end

class ServiceDirectoryConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Loading

0 comments on commit 71dd85b

Please sign in to comment.