Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jun 3, 2024
1 parent 08fdd71 commit c7f1614
Show file tree
Hide file tree
Showing 24 changed files with 4,141 additions and 869 deletions.
586 changes: 433 additions & 153 deletions aiplatform/v1/aiplatform-api.json

Large diffs are not rendered by default.

641 changes: 530 additions & 111 deletions aiplatform/v1/aiplatform-gen.go

Large diffs are not rendered by default.

1,001 changes: 802 additions & 199 deletions aiplatform/v1beta1/aiplatform-api.json

Large diffs are not rendered by default.

1,790 changes: 1,554 additions & 236 deletions aiplatform/v1beta1/aiplatform-gen.go

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion backupdr/v1/backupdr-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@
}
}
},
"revision": "20240508",
"revision": "20240522",
"rootUrl": "https://backupdr.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -793,6 +793,16 @@
"readOnly": true,
"type": "string"
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. The ManagementServer state.",
"enum": [
Expand Down
4 changes: 4 additions & 0 deletions backupdr/v1/backupdr-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion connectors/v1/connectors-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@
}
}
},
"revision": "20240504",
"revision": "20240529",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -3103,6 +3103,11 @@
"description": "Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.",
"id": "Connector",
"properties": {
"category": {
"description": "Output only. Category of the connector.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. Created time.",
"format": "google-datetime",
Expand Down Expand Up @@ -3166,6 +3171,14 @@
"readOnly": true,
"type": "string"
},
"tags": {
"description": "Output only. Tags of the connector.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"updateTime": {
"description": "Output only. Updated time.",
"format": "google-datetime",
Expand Down
8 changes: 6 additions & 2 deletions connectors/v1/connectors-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

138 changes: 137 additions & 1 deletion connectors/v2/connectors-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,62 @@
]
}
}
},
"entitieswithacls": {
"methods": {
"list": {
"description": "Lists entity rows with ACLs of a particular entity type contained in the request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If no 'sort_by' column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the 'sort_by' columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entitieswithacls",
"httpMethod": "GET",
"id": "connectors.projects.locations.connections.entityTypes.entitieswithacls.list",
"parameterOrder": [
"parent"
],
"parameters": {
"conditions": {
"description": "Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported.",
"location": "query",
"type": "string"
},
"gsutilUri": {
"description": "Format: gs://object_path",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Number of entity rows to return. Defaults page size = 25. Max page size = 200.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Page token value if available from a previous request.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$",
"required": true,
"type": "string"
},
"sortBy": {
"description": "List of 'sort_by' columns to use when returning the results.",
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "v2/{+parent}/entitieswithacls",
"response": {
"$ref": "ListEntitiesWithACLsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
Expand All @@ -660,7 +716,7 @@
}
}
},
"revision": "20240415",
"revision": "20240529",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AccessCredentials": {
Expand All @@ -683,6 +739,20 @@
},
"type": "object"
},
"AclInfo": {
"description": "AclInfo has a list of readers for a resource. This is defined as per the below docs https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores.branches.documents#aclinfo",
"id": "AclInfo",
"properties": {
"readers": {
"description": "A list of readers for a resource.",
"items": {
"$ref": "Readers"
},
"type": "array"
}
},
"type": "object"
},
"Action": {
"description": "Action message contains metadata information about a single action present in the external system.",
"id": "Action",
Expand Down Expand Up @@ -887,6 +957,25 @@
},
"type": "object"
},
"EntityWithACL": {
"description": "EntityWithACL refers to a single row of an entity type with ACL information.",
"id": "EntityWithACL",
"properties": {
"acl_info": {
"$ref": "AclInfo",
"description": "ACL information of the entity."
},
"id": {
"readOnly": true,
"type": "string"
},
"jsonData": {
"description": "Entity data in JSON format.",
"type": "string"
}
},
"type": "object"
},
"ExchangeAuthCodeRequest": {
"description": "ExchangeAuthCodeRequest currently includes no fields.",
"id": "ExchangeAuthCodeRequest",
Expand Down Expand Up @@ -1703,6 +1792,24 @@
},
"type": "object"
},
"ListEntitiesWithACLsResponse": {
"description": "Response message for EntityService.ListEntitiesWithACLs",
"id": "ListEntitiesWithACLsResponse",
"properties": {
"entitiesWithAcl": {
"description": "List containing entity rows.",
"items": {
"$ref": "EntityWithACL"
},
"type": "array"
},
"nextPageToken": {
"description": "Next page token if more records are available.",
"type": "string"
}
},
"type": "object"
},
"ListEntityTypesResponse": {
"description": "Response message for EntityService.ListEntityTypes",
"id": "ListEntityTypesResponse",
Expand Down Expand Up @@ -1893,6 +2000,21 @@
},
"type": "object"
},
"Principal": {
"description": "Principal is a user or group that has access to a resource.",
"id": "Principal",
"properties": {
"group_id": {
"description": "The group that has access to a resource.",
"type": "string"
},
"user_id": {
"description": "The user that has access to a resource.",
"type": "string"
}
},
"type": "object"
},
"ProvisionedResource": {
"description": "Describes provisioned dataplane resources.",
"id": "ProvisionedResource",
Expand Down Expand Up @@ -2090,6 +2212,20 @@
},
"type": "object"
},
"Readers": {
"description": "Readers is a list of principals that have read access to a resource.",
"id": "Readers",
"properties": {
"principals": {
"description": "A list of principals that have read access to a resource.",
"items": {
"$ref": "Principal"
},
"type": "array"
}
},
"type": "object"
},
"Reference": {
"id": "Reference",
"properties": {
Expand Down
Loading

0 comments on commit c7f1614

Please sign in to comment.