-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(asset): update copyright year (#10126)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 631472873 Source-Link: https://togithub.com/googleapis/googleapis/commit/31ba29f6292cc7c8290fc300b70f3f8b5b9ac306 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/caf2e9dc92d94c9b3da5733d31e4e4555a067e0f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2FmMmU5ZGM5MmQ5NGM5YjNkYTU3MzNkMzFlNGU0NTU1YTA2N2UwZiJ9 BEGIN_NESTED_COMMIT chore(oslogin): Update copyright year PiperOrigin-RevId: 631450785 Source-Link: https://togithub.com/googleapis/googleapis/commit/0842829df747446019e4dcf53030ef84bfc0ad21 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f63054594bfe529d1040a0cc2a6eb17bc639be0e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjYzMDU0NTk0YmZlNTI5ZDEwNDBhMGNjMmE2ZWIxN2JjNjM5YmUwZSJ9 END_NESTED_COMMIT
- Loading branch information
1 parent
37220bd
commit ca989bf
Showing
19 changed files
with
9,782 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
internal/generated/snippets/maps/routeoptimization/apiv1/Client/BatchOptimizeTours/main.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
internal/generated/snippets/maps/routeoptimization/apiv1/Client/GetOperation/main.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
internal/generated/snippets/maps/routeoptimization/apiv1/Client/OptimizeTours/main.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
153 changes: 153 additions & 0 deletions
153
...ppets/maps/routeoptimization/apiv1/snippet_metadata.google.maps.routeoptimization.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
{ | ||
"clientLibrary": { | ||
"name": "cloud.google.com/go/maps/routeoptimization/apiv1", | ||
"version": "1.7.3", | ||
"language": "GO", | ||
"apis": [ | ||
{ | ||
"id": "google.maps.routeoptimization.v1", | ||
"version": "v1" | ||
} | ||
] | ||
}, | ||
"snippets": [ | ||
{ | ||
"regionTag": "routeoptimization_v1_generated_RouteOptimization_BatchOptimizeTours_sync", | ||
"title": "routeoptimization BatchOptimizeTours Sample", | ||
"description": "BatchOptimizeTours optimizes vehicle tours for one or more `OptimizeToursRequest`\nmessages as a batch.\n\nThis method is a Long Running Operation (LRO). The inputs for optimization\n(`OptimizeToursRequest` messages) and outputs (`OptimizeToursResponse`\nmessages) are read/written from/to Cloud Storage in user-specified\nformat. Like the `OptimizeTours` method, each `OptimizeToursRequest`\ncontains a `ShipmentModel` and returns an `OptimizeToursResponse`\ncontaining `ShipmentRoute`s, which are a set of routes to be performed by\nvehicles minimizing the overall cost.", | ||
"file": "Client/BatchOptimizeTours/main.go", | ||
"language": "GO", | ||
"clientMethod": { | ||
"shortName": "BatchOptimizeTours", | ||
"fullName": "google.maps.routeoptimization.v1.Client.BatchOptimizeTours", | ||
"parameters": [ | ||
{ | ||
"type": "context.Context", | ||
"name": "ctx" | ||
}, | ||
{ | ||
"type": "routeoptimizationpb.BatchOptimizeToursRequest", | ||
"name": "req" | ||
}, | ||
{ | ||
"type": "...gax.CallOption", | ||
"name": "opts" | ||
} | ||
], | ||
"resultType": "BatchOptimizeToursOperation", | ||
"client": { | ||
"shortName": "Client", | ||
"fullName": "google.maps.routeoptimization.v1.Client" | ||
}, | ||
"method": { | ||
"shortName": "BatchOptimizeTours", | ||
"fullName": "google.maps.routeoptimization.v1.RouteOptimization.BatchOptimizeTours", | ||
"service": { | ||
"shortName": "RouteOptimization", | ||
"fullName": "google.maps.routeoptimization.v1.RouteOptimization" | ||
} | ||
} | ||
}, | ||
"origin": "API_DEFINITION", | ||
"segments": [ | ||
{ | ||
"start": 18, | ||
"end": 58, | ||
"type": "FULL" | ||
} | ||
] | ||
}, | ||
{ | ||
"regionTag": "routeoptimization_v1_generated_RouteOptimization_GetOperation_sync", | ||
"title": "routeoptimization GetOperation Sample", | ||
"description": "GetOperation is a utility method from google.longrunning.Operations.", | ||
"file": "Client/GetOperation/main.go", | ||
"language": "GO", | ||
"clientMethod": { | ||
"shortName": "GetOperation", | ||
"fullName": "google.maps.routeoptimization.v1.Client.GetOperation", | ||
"parameters": [ | ||
{ | ||
"type": "context.Context", | ||
"name": "ctx" | ||
}, | ||
{ | ||
"type": "longrunningpb.GetOperationRequest", | ||
"name": "req" | ||
}, | ||
{ | ||
"type": "...gax.CallOption", | ||
"name": "opts" | ||
} | ||
], | ||
"resultType": "*longrunningpb.Operation", | ||
"client": { | ||
"shortName": "Client", | ||
"fullName": "google.maps.routeoptimization.v1.Client" | ||
}, | ||
"method": { | ||
"shortName": "GetOperation", | ||
"fullName": "google.longrunning.Operations.GetOperation", | ||
"service": { | ||
"shortName": "Operations", | ||
"fullName": "google.longrunning.Operations" | ||
} | ||
} | ||
}, | ||
"origin": "API_DEFINITION", | ||
"segments": [ | ||
{ | ||
"start": 18, | ||
"end": 53, | ||
"type": "FULL" | ||
} | ||
] | ||
}, | ||
{ | ||
"regionTag": "routeoptimization_v1_generated_RouteOptimization_OptimizeTours_sync", | ||
"title": "routeoptimization OptimizeTours Sample", | ||
"description": "OptimizeTours sends an `OptimizeToursRequest` containing a `ShipmentModel` and returns an\n`OptimizeToursResponse` containing `ShipmentRoute`s, which are a set of\nroutes to be performed by vehicles minimizing the overall cost.\n\nA `ShipmentModel` model consists mainly of `Shipment`s that need to be\ncarried out and `Vehicle`s that can be used to transport the `Shipment`s.\nThe `ShipmentRoute`s assign `Shipment`s to `Vehicle`s. More specifically,\nthey assign a series of `Visit`s to each vehicle, where a `Visit`\ncorresponds to a `VisitRequest`, which is a pickup or delivery for a\n`Shipment`.\n\nThe goal is to provide an assignment of `ShipmentRoute`s to `Vehicle`s that\nminimizes the total cost where cost has many components defined in the\n`ShipmentModel`.", | ||
"file": "Client/OptimizeTours/main.go", | ||
"language": "GO", | ||
"clientMethod": { | ||
"shortName": "OptimizeTours", | ||
"fullName": "google.maps.routeoptimization.v1.Client.OptimizeTours", | ||
"parameters": [ | ||
{ | ||
"type": "context.Context", | ||
"name": "ctx" | ||
}, | ||
{ | ||
"type": "routeoptimizationpb.OptimizeToursRequest", | ||
"name": "req" | ||
}, | ||
{ | ||
"type": "...gax.CallOption", | ||
"name": "opts" | ||
} | ||
], | ||
"resultType": "*routeoptimizationpb.OptimizeToursResponse", | ||
"client": { | ||
"shortName": "Client", | ||
"fullName": "google.maps.routeoptimization.v1.Client" | ||
}, | ||
"method": { | ||
"shortName": "OptimizeTours", | ||
"fullName": "google.maps.routeoptimization.v1.RouteOptimization.OptimizeTours", | ||
"service": { | ||
"shortName": "RouteOptimization", | ||
"fullName": "google.maps.routeoptimization.v1.RouteOptimization" | ||
} | ||
} | ||
}, | ||
"origin": "API_DEFINITION", | ||
"segments": [ | ||
{ | ||
"start": 18, | ||
"end": 53, | ||
"type": "FULL" | ||
} | ||
] | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.