Skip to content

Commit 5b89ec7

Browse files
feat: [AiPlatform] Expose UrlContextMetadata API to v1 (#8353)
* feat: add network_attachment to PscInterfaceConfig feat: add psc_interface_config to CustomJobSpec feat: add psc_interface_config to PersistentResource feat: add psc_interface_config to PipelineJob PiperOrigin-RevId: 765264778 Source-Link: googleapis/googleapis@89d75d5 Source-Link: googleapis/googleapis-gen@6ad81ec Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiNmFkODFlYzU0NWVkNjM4ZGU2OTQ1NzMyYWMwNzZkNjI0M2Y0NWQ5NiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add json schema support to structured output and function declaration PiperOrigin-RevId: 765394859 Source-Link: googleapis/googleapis@50febc7 Source-Link: googleapis/googleapis-gen@44798b7 Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiNDQ3OThiN2Y3YzdkODNlZTg3OGVmYjAyZmZhN2QxNGYwYzg1MzcyYyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Expose UrlContextMetadata API to v1 PiperOrigin-RevId: 767327091 Source-Link: googleapis/googleapis@5e989a7 Source-Link: googleapis/googleapis-gen@2cdc136 Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiMmNkYzEzNmQxNzdkNzNjN2FiYWQ0YmVmNDExM2NiMjZhNDQ5M2U4MiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 0092fb7 commit 5b89ec7

24 files changed

Lines changed: 906 additions & 2 deletions

AiPlatform/metadata/V1/Content.php

605 Bytes
Binary file not shown.
215 Bytes
Binary file not shown.
215 Bytes
Binary file not shown.
214 Bytes
Binary file not shown.

AiPlatform/metadata/V1/ServiceNetworking.php

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AiPlatform/metadata/V1/Tool.php

120 Bytes
Binary file not shown.

AiPlatform/src/V1/Candidate.php

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AiPlatform/src/V1/Client/JobServiceClient.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,25 @@ public static function networkName(string $project, string $network): string
503503
]);
504504
}
505505

506+
/**
507+
* Formats a string containing the fully-qualified path to represent a
508+
* network_attachment resource.
509+
*
510+
* @param string $project
511+
* @param string $region
512+
* @param string $networkattachment
513+
*
514+
* @return string The formatted network_attachment resource.
515+
*/
516+
public static function networkAttachmentName(string $project, string $region, string $networkattachment): string
517+
{
518+
return self::getPathTemplate('networkAttachment')->render([
519+
'project' => $project,
520+
'region' => $region,
521+
'networkattachment' => $networkattachment,
522+
]);
523+
}
524+
506525
/**
507526
* Formats a string containing the fully-qualified path to represent a
508527
* notification_channel resource.
@@ -659,6 +678,7 @@ public static function trialName(string $project, string $location, string $stud
659678
* - nasJob: projects/{project}/locations/{location}/nasJobs/{nas_job}
660679
* - nasTrialDetail: projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}
661680
* - network: projects/{project}/global/networks/{network}
681+
* - networkAttachment: projects/{project}/regions/{region}/networkAttachments/{networkattachment}
662682
* - notificationChannel: projects/{project}/notificationChannels/{notification_channel}
663683
* - persistentResource: projects/{project}/locations/{location}/persistentResources/{persistent_resource}
664684
* - projectLocationEndpoint: projects/{project}/locations/{location}/endpoints/{endpoint}

AiPlatform/src/V1/Client/PersistentResourceServiceClient.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,25 @@ public static function networkName(string $project, string $network): string
210210
]);
211211
}
212212

213+
/**
214+
* Formats a string containing the fully-qualified path to represent a
215+
* network_attachment resource.
216+
*
217+
* @param string $project
218+
* @param string $region
219+
* @param string $networkattachment
220+
*
221+
* @return string The formatted network_attachment resource.
222+
*/
223+
public static function networkAttachmentName(string $project, string $region, string $networkattachment): string
224+
{
225+
return self::getPathTemplate('networkAttachment')->render([
226+
'project' => $project,
227+
'region' => $region,
228+
'networkattachment' => $networkattachment,
229+
]);
230+
}
231+
213232
/**
214233
* Formats a string containing the fully-qualified path to represent a
215234
* persistent_resource resource.
@@ -254,6 +273,7 @@ public static function reservationName(string $projectIdOrNumber, string $zone,
254273
* Template: Pattern
255274
* - location: projects/{project}/locations/{location}
256275
* - network: projects/{project}/global/networks/{network}
276+
* - networkAttachment: projects/{project}/regions/{region}/networkAttachments/{networkattachment}
257277
* - persistentResource: projects/{project}/locations/{location}/persistentResources/{persistent_resource}
258278
* - reservation: projects/{project_id_or_number}/zones/{zone}/reservations/{reservation_name}
259279
*

AiPlatform/src/V1/Client/PipelineServiceClient.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,25 @@ public static function networkName(string $project, string $network): string
375375
]);
376376
}
377377

378+
/**
379+
* Formats a string containing the fully-qualified path to represent a
380+
* network_attachment resource.
381+
*
382+
* @param string $project
383+
* @param string $region
384+
* @param string $networkattachment
385+
*
386+
* @return string The formatted network_attachment resource.
387+
*/
388+
public static function networkAttachmentName(string $project, string $region, string $networkattachment): string
389+
{
390+
return self::getPathTemplate('networkAttachment')->render([
391+
'project' => $project,
392+
'region' => $region,
393+
'networkattachment' => $networkattachment,
394+
]);
395+
}
396+
378397
/**
379398
* Formats a string containing the fully-qualified path to represent a pipeline_job
380399
* resource.
@@ -470,6 +489,7 @@ public static function trainingPipelineName(string $project, string $location, s
470489
* - metadataStore: projects/{project}/locations/{location}/metadataStores/{metadata_store}
471490
* - model: projects/{project}/locations/{location}/models/{model}
472491
* - network: projects/{project}/global/networks/{network}
492+
* - networkAttachment: projects/{project}/regions/{region}/networkAttachments/{networkattachment}
473493
* - pipelineJob: projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}
474494
* - projectLocationEndpoint: projects/{project}/locations/{location}/endpoints/{endpoint}
475495
* - projectLocationPublisherModel: projects/{project}/locations/{location}/publishers/{publisher}/models/{model}

0 commit comments

Comments
 (0)