Skip to content

Commit

Permalink
fix(osconfig): update the API
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent 57df6c9 commit b659f08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/apis/osconfig/v1beta.ts
Expand Up @@ -3579,8 +3579,8 @@ export namespace osconfig_v1beta {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await osconfig.projects.zones.instances.lookupEffectiveGuestPolicy(
* {
* const res =
* await osconfig.projects.zones.instances.lookupEffectiveGuestPolicy({
* // Required. The VM instance whose policies are being looked up.
* instance: 'projects/my-project/zones/my-zone/instances/my-instance',
*
Expand All @@ -3593,8 +3593,7 @@ export namespace osconfig_v1beta {
* // "osVersion": "my_osVersion"
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -3667,7 +3666,8 @@ export namespace osconfig_v1beta {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Zones$Instances$Lookupeffectiveguestpolicy;
params =
{} as Params$Resource$Projects$Zones$Instances$Lookupeffectiveguestpolicy;
options = {};
}

Expand Down

0 comments on commit b659f08

Please sign in to comment.