Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7031e3a

Browse files
committedJun 6, 2023
feat(mybusinessbusinessinformation): update the api
#### mybusinessbusinessinformation:v1 The following keys were deleted: - resources.locations.methods.associate (Total Keys: 11) - resources.locations.methods.clearLocationAssociation (Total Keys: 11) - schemas.AssociateLocationRequest (Total Keys: 3) - schemas.ClearLocationAssociationRequest (Total Keys: 2)
1 parent fa3e88f commit 7031e3a

File tree

2 files changed

+1
-123
lines changed

2 files changed

+1
-123
lines changed
 

‎docs/dyn/mybusinessbusinessinformation_v1.locations.html

-55
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the attributes Resource.</p>
8181

82-
<p class="toc_element">
83-
<code><a href="#associate">associate(name, body=None, x__xgafv=None)</a></code></p>
84-
<p class="firstline">Associates a location to a place ID. Any previous association is overwritten. This operation is only valid if the location is unverified. The association must be valid, that is, it appears in the list of `SearchGoogleLocations`.</p>
85-
<p class="toc_element">
86-
<code><a href="#clearLocationAssociation">clearLocationAssociation(name, body=None, x__xgafv=None)</a></code></p>
87-
<p class="firstline">Clears an association between a location and its place ID. This operation is only valid if the location is unverified.</p>
8882
<p class="toc_element">
8983
<code><a href="#close">close()</a></code></p>
9084
<p class="firstline">Close httplib2 connections.</p>
@@ -107,55 +101,6 @@ <h2>Instance Methods</h2>
107101
<code><a href="#updateAttributes">updateAttributes(name, attributeMask=None, body=None, x__xgafv=None)</a></code></p>
108102
<p class="firstline">Update attributes for a given location.</p>
109103
<h3>Method Details</h3>
110-
<div class="method">
111-
<code class="details" id="associate">associate(name, body=None, x__xgafv=None)</code>
112-
<pre>Associates a location to a place ID. Any previous association is overwritten. This operation is only valid if the location is unverified. The association must be valid, that is, it appears in the list of `SearchGoogleLocations`.
113-
114-
Args:
115-
name: string, Required. The resource name of the location to associate. (required)
116-
body: object, The request body.
117-
The object takes the form of:
118-
119-
{ # Request message for Locations.AssociateLocationRequest.
120-
&quot;placeId&quot;: &quot;A String&quot;, # The association to establish. If not set, it indicates no match.
121-
}
122-
123-
x__xgafv: string, V1 error format.
124-
Allowed values
125-
1 - v1 error format
126-
2 - v2 error format
127-
128-
Returns:
129-
An object of the form:
130-
131-
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
132-
}</pre>
133-
</div>
134-
135-
<div class="method">
136-
<code class="details" id="clearLocationAssociation">clearLocationAssociation(name, body=None, x__xgafv=None)</code>
137-
<pre>Clears an association between a location and its place ID. This operation is only valid if the location is unverified.
138-
139-
Args:
140-
name: string, Required. The resource name of the location to disassociate. (required)
141-
body: object, The request body.
142-
The object takes the form of:
143-
144-
{ # Request message for Locations.ClearLocationAssociationRequest.
145-
}
146-
147-
x__xgafv: string, V1 error format.
148-
Allowed values
149-
1 - v1 error format
150-
2 - v2 error format
151-
152-
Returns:
153-
An object of the form:
154-
155-
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
156-
}</pre>
157-
</div>
158-
159104
<div class="method">
160105
<code class="details" id="close">close()</code>
161106
<pre>Close httplib2 connections.</pre>

‎googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json

+1-68
Original file line numberDiff line numberDiff line change
@@ -414,56 +414,6 @@
414414
},
415415
"locations": {
416416
"methods": {
417-
"associate": {
418-
"description": "Associates a location to a place ID. Any previous association is overwritten. This operation is only valid if the location is unverified. The association must be valid, that is, it appears in the list of `SearchGoogleLocations`.",
419-
"flatPath": "v1/locations/{locationsId}:associate",
420-
"httpMethod": "POST",
421-
"id": "mybusinessbusinessinformation.locations.associate",
422-
"parameterOrder": [
423-
"name"
424-
],
425-
"parameters": {
426-
"name": {
427-
"description": "Required. The resource name of the location to associate.",
428-
"location": "path",
429-
"pattern": "^locations/[^/]+$",
430-
"required": true,
431-
"type": "string"
432-
}
433-
},
434-
"path": "v1/{+name}:associate",
435-
"request": {
436-
"$ref": "AssociateLocationRequest"
437-
},
438-
"response": {
439-
"$ref": "Empty"
440-
}
441-
},
442-
"clearLocationAssociation": {
443-
"description": "Clears an association between a location and its place ID. This operation is only valid if the location is unverified.",
444-
"flatPath": "v1/locations/{locationsId}:clearLocationAssociation",
445-
"httpMethod": "POST",
446-
"id": "mybusinessbusinessinformation.locations.clearLocationAssociation",
447-
"parameterOrder": [
448-
"name"
449-
],
450-
"parameters": {
451-
"name": {
452-
"description": "Required. The resource name of the location to disassociate.",
453-
"location": "path",
454-
"pattern": "^locations/[^/]+$",
455-
"required": true,
456-
"type": "string"
457-
}
458-
},
459-
"path": "v1/{+name}:clearLocationAssociation",
460-
"request": {
461-
"$ref": "ClearLocationAssociationRequest"
462-
},
463-
"response": {
464-
"$ref": "Empty"
465-
}
466-
},
467417
"delete": {
468418
"description": "Deletes a location. If this location cannot be deleted using the API and it is marked so in the `google.mybusiness.businessinformation.v1.LocationState`, use the [Google Business Profile](https://business.google.com/manage/) website.",
469419
"flatPath": "v1/locations/{locationsId}",
@@ -662,7 +612,7 @@
662612
}
663613
}
664614
},
665-
"revision": "20230529",
615+
"revision": "20230603",
666616
"rootUrl": "https://mybusinessbusinessinformation.googleapis.com/",
667617
"schemas": {
668618
"AdWordsLocationExtensions": {
@@ -676,17 +626,6 @@
676626
},
677627
"type": "object"
678628
},
679-
"AssociateLocationRequest": {
680-
"description": "Request message for Locations.AssociateLocationRequest.",
681-
"id": "AssociateLocationRequest",
682-
"properties": {
683-
"placeId": {
684-
"description": "The association to establish. If not set, it indicates no match.",
685-
"type": "string"
686-
}
687-
},
688-
"type": "object"
689-
},
690629
"Attribute": {
691630
"description": "A location attribute. Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.",
692631
"id": "Attribute",
@@ -954,12 +893,6 @@
954893
},
955894
"type": "object"
956895
},
957-
"ClearLocationAssociationRequest": {
958-
"description": "Request message for Locations.ClearLocationAssociationRequest.",
959-
"id": "ClearLocationAssociationRequest",
960-
"properties": {},
961-
"type": "object"
962-
},
963896
"Date": {
964897
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
965898
"id": "Date",

0 commit comments

Comments
 (0)
Please sign in to comment.