Skip to content

Commit

Permalink
fix(mybusinesslodging): update the API
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 8, 2023
1 parent 565b3fa commit 006bd5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 210 deletions.
6 changes: 3 additions & 3 deletions src/apis/mybusinesslodging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
},
"engines": {
"node": ">=14.0.0"
"node": ">=12.0.0"
},
"scripts": {
"fix": "gts fix",
Expand All @@ -33,10 +33,10 @@
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
"@microsoft/api-extractor": "^7.8.10",
"gts": "^5.0.0",
"gts": "^3.1.1",
"null-loader": "^4.0.0",
"ts-loader": "^9.0.0",
"typescript": "^5.1.6",
"typescript": "~4.8.4",
"webpack": "^5.0.0",
"webpack-cli": "^5.0.0"
}
Expand Down
207 changes: 0 additions & 207 deletions src/apis/mybusinesslodging/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2714,72 +2714,6 @@ export namespace mybusinesslodging_v1 {

/**
* Returns the Lodging of a specific location.
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/mybusinesslodging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const mybusinesslodging = google.mybusinesslodging('v1');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await mybusinesslodging.locations.getLodging({
* // Required. Google identifier for this location in the form: `locations/{location_id\}/lodging`
* name: 'locations/my-location/lodging',
* // Required. The specific fields to return. Use "*" to include all fields. Repeated field items cannot be individually specified.
* readMask: 'placeholder-value',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "accessibility": {},
* // "activities": {},
* // "allUnits": {},
* // "business": {},
* // "commonLivingArea": {},
* // "connectivity": {},
* // "families": {},
* // "foodAndDrink": {},
* // "guestUnits": [],
* // "healthAndSafety": {},
* // "housekeeping": {},
* // "metadata": {},
* // "name": "my_name",
* // "parking": {},
* // "pets": {},
* // "policies": {},
* // "pools": {},
* // "property": {},
* // "services": {},
* // "someUnits": {},
* // "sustainability": {},
* // "transportation": {},
* // "wellness": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -2865,102 +2799,6 @@ export namespace mybusinesslodging_v1 {

/**
* Updates the Lodging of a specific location.
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/mybusinesslodging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const mybusinesslodging = google.mybusinesslodging('v1');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await mybusinesslodging.locations.updateLodging({
* // Required. Google identifier for this location in the form: `locations/{location_id\}/lodging`
* name: 'locations/my-location/lodging',
* // Required. The specific fields to update. Use "*" to update all fields, which may include unsetting empty fields in the request. Repeated field items cannot be individually updated.
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "accessibility": {},
* // "activities": {},
* // "allUnits": {},
* // "business": {},
* // "commonLivingArea": {},
* // "connectivity": {},
* // "families": {},
* // "foodAndDrink": {},
* // "guestUnits": [],
* // "healthAndSafety": {},
* // "housekeeping": {},
* // "metadata": {},
* // "name": "my_name",
* // "parking": {},
* // "pets": {},
* // "policies": {},
* // "pools": {},
* // "property": {},
* // "services": {},
* // "someUnits": {},
* // "sustainability": {},
* // "transportation": {},
* // "wellness": {}
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "accessibility": {},
* // "activities": {},
* // "allUnits": {},
* // "business": {},
* // "commonLivingArea": {},
* // "connectivity": {},
* // "families": {},
* // "foodAndDrink": {},
* // "guestUnits": [],
* // "healthAndSafety": {},
* // "housekeeping": {},
* // "metadata": {},
* // "name": "my_name",
* // "parking": {},
* // "pets": {},
* // "policies": {},
* // "pools": {},
* // "property": {},
* // "services": {},
* // "someUnits": {},
* // "sustainability": {},
* // "transportation": {},
* // "wellness": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -3081,51 +2919,6 @@ export namespace mybusinesslodging_v1 {

/**
* Returns the Google updated Lodging of a specific location.
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/mybusinesslodging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const mybusinesslodging = google.mybusinesslodging('v1');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await mybusinesslodging.locations.lodging.getGoogleUpdated({
* // Required. Google identifier for this location in the form: `locations/{location_id\}/lodging`
* name: 'locations/my-location/lodging',
* // Required. The specific fields to return. Use "*" to include all fields. Repeated field items cannot be individually specified.
* readMask: 'placeholder-value',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "diffMask": "my_diffMask",
* // "lodging": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down

0 comments on commit 006bd5a

Please sign in to comment.