Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: 595f865
  • Loading branch information
droplet-bot committed Feb 26, 2024
1 parent f391faa commit 3b6b745
Showing 1 changed file with 104 additions and 1 deletion.
105 changes: 104 additions & 1 deletion openapiv2/vdp/service.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2145,7 +2145,7 @@ paths:
- name: page_size
description: |-
The maximum number of connector definitions to return. If this parameter
is unspecified, at most 10 pipelines will be returned. The cap value for
is unspecified, at most 10 definitions will be returned. The cap value for
this parameter is 100 (i.e. any value above that will be coerced to 100).
in: query
required: false
Expand Down Expand Up @@ -2276,6 +2276,65 @@ paths:
type: string
tags:
- PipelinePublicService
/v1beta/component-definitions:
get:
summary: List component definitions
description: |-
Returns a paginated list of component definitions, regardless their type.
This offers a single source of truth, with pagination and filter
capabilities, for the components that might be used in a VDP pipeline.
operationId: PipelinePublicService_ListComponentDefinitions
responses:
"200":
description: A successful response.
schema:
$ref: '#/definitions/v1betaListComponentDefinitionsResponse'
"401":
description: Returned when the client credentials are not valid.
schema: {}
default:
description: An unexpected error response.
schema:
$ref: '#/definitions/googlerpcStatus'
parameters:
- name: page_size
description: |-
The maximum number of component definitions to return. If this parameter
is unspecified, at most 10 definitions will be returned. The cap value for
this parameter is 100 (i.e. any value above that will be coerced to 100).
in: query
required: false
type: integer
format: int32
- name: page_token
description: Page token.
in: query
required: false
type: string
- name: view
description: |-
View allows clients to specify the desired resource view in the response.
- VIEW_BASIC: Default view, only includes basic information (removes the `spec`
field).
- VIEW_FULL: Full representation.
in: query
required: false
type: string
enum:
- VIEW_BASIC
- VIEW_FULL
- name: filter
description: |-
Filter can hold an [AIP-160](https://google.aip.dev/160)-compliant filter
expression.
- Example: `component_type="COMPONENT_TYPE_CONNECTOR_AI"`.
- Example: `tasks:"TASK_TEXT_GENERATION"`.
in: query
required: false
type: string
tags:
- PipelinePublicService
/v1beta/{operator_definition_name}:
get:
summary: Get operator definition
Expand Down Expand Up @@ -4068,6 +4127,33 @@ definitions:
required:
- id
- definition_name
v1betaComponentDefinition:
type: object
properties:
type:
$ref: '#/definitions/v1betaComponentType'
description: Defines the type of task the component will perform.
readOnly: true
operator_definition:
$ref: '#/definitions/v1betaOperatorDefinition'
title: operator definition detail
readOnly: true
connector_definition:
$ref: '#/definitions/v1betaConnectorDefinition'
title: connector definition detail
readOnly: true
description: ComponentDefinition describes a certain type of Component.
v1betaComponentDefinitionView:
type: string
enum:
- VIEW_BASIC
- VIEW_FULL
description: |-
View defines how a component definition is presented.
- VIEW_BASIC: Default view, only includes basic information (removes the `spec`
field).
- VIEW_FULL: Full representation.
v1betaComponentTask:
type: object
properties:
Expand Down Expand Up @@ -4531,6 +4617,23 @@ definitions:
$ref: '#/definitions/v1betaPipeline'
description: The pipeline resource.
description: GetUserPipelineResponse contains the requested pipeline.
v1betaListComponentDefinitionsResponse:
type: object
properties:
component_definitions:
type: array
items:
type: object
$ref: '#/definitions/v1betaComponentDefinition'
description: A list of component definition resources.
next_page_token:
type: string
description: Next page token.
total_size:
type: integer
format: int32
description: Total number of connector definitions.
description: ListComponentDefinitionsResponse contains a list of component definitions.
v1betaListConnectorDefinitionsResponse:
type: object
properties:
Expand Down

0 comments on commit 3b6b745

Please sign in to comment.