-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds BigQuery Routines CRUD operations. * Fixes #3762
- Loading branch information
1 parent
a4455b9
commit 8e9c40f
Showing
31 changed files
with
2,553 additions
and
12 deletions.
There are no files selected for viewing
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
71 changes: 71 additions & 0 deletions
71
...ogle.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2.GenerateOverloads/Methods/RoutineCrud.xml
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,71 @@ | ||
<File> | ||
|
||
<Method Name="GetRoutine" | ||
TargetType="Routine" | ||
ReturnType="BigQueryRoutine"> | ||
<Comments> | ||
<summary> | ||
Retrieves {target}. | ||
</summary> | ||
<returns>The requested routine.</returns> | ||
</Comments> | ||
</Method> | ||
|
||
<Method Name="CreateRoutine" | ||
TargetType="Routine" | ||
ReturnType="BigQueryRoutine"> | ||
<AdditionalParameters> | ||
<Parameter Name="resource" Type="Routine" Comment="The routine resource representation to use for the creation. Must not be null. If this routine's <see cref="Routine.RoutineReference"/> is specified, then it must be the same as the one obtained from the other parameters, else it will be set to the one obtained from the other parameters." /> | ||
</AdditionalParameters> | ||
<Comments> | ||
<summary> | ||
Creates {target}. | ||
</summary> | ||
<returns>The newly created routine.</returns> | ||
</Comments> | ||
</Method> | ||
|
||
<Method Name="GetOrCreateRoutine" | ||
TargetType="Routine" | ||
ReturnType="BigQueryRoutine"> | ||
<AdditionalParameters> | ||
<Parameter Name="resource" Type="Routine" Comment="The routine resource representation to use for the creation. Must not be null. If this routine's <see cref="Routine.RoutineReference"/> is specified, then it must be the same as the one obtained from the other parameters, else it will be set to the one obtained from the other parameters." /> | ||
<Parameter Type="GetRoutineOptions" Name="getOptions" Comment="The options for the "get" operation. May be null, in which case defaults will be supplied." DefaultValue="null" /> | ||
</AdditionalParameters> | ||
<Options Type="CreateRoutineOptions" Name="createOptions" Comment="The options for the "create" operation. May be null, in which case defaults will be supplied." /> | ||
<Comments> | ||
<summary> | ||
Attempts to fetch {target}, creating it if it doesn't exist. | ||
</summary> | ||
<returns>The existing or new routine.</returns> | ||
</Comments> | ||
</Method> | ||
|
||
<Method Name="DeleteRoutine" | ||
TargetType="Routine" | ||
ReturnType="void"> | ||
<Comments> | ||
<summary> | ||
Deletes {target}. | ||
</summary> | ||
</Comments> | ||
</Method> | ||
|
||
<Method Name="UpdateRoutine" | ||
TargetType="Routine" | ||
ReturnType="BigQueryRoutine"> | ||
<AdditionalParameters> | ||
<Parameter Name="resource" Type="Routine" Comment="The routine resource representation to use for the update. All updatable fields will be updated. If this routine's <see cref="Routine.RoutineReference"/> is specified, then it must be the same as the one obtained from the other parameters, else it will be set to the one obtained from the other parameters." /> | ||
</AdditionalParameters> | ||
<Comments> | ||
<summary> | ||
Updates {target} to match the specified resource. | ||
</summary> | ||
<remarks> | ||
If the resource contains an ETag, it is used for optimistic concurrency validation. | ||
</remarks> | ||
<returns>The updated routine.</returns> | ||
</Comments> | ||
</Method> | ||
|
||
</File> |
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
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.