You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: [google-cloud-gdchardwaremanagement] add a DeleteSite method (#13215)
- [ ] Regenerate this pull request now.
BEGIN_COMMIT_OVERRIDE
feat: add a DeleteSite method
feat: add MAC address and disk info to the Hardware resource
docs: annotate rack_location field as required; this was always enforced
END_COMMIT_OVERRIDE
PiperOrigin-RevId: 689565044
Source-Link:
googleapis/googleapis@17aef37
Source-Link:
googleapis/googleapis-gen@856b1e6
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdkY2hhcmR3YXJlbWFuYWdlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiODU2YjFlNjE2Yzc1YWY0MWY1ODVlZDExYWVmOWE2OTNhNWU5ZDhlNSJ9
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: packages/google-cloud-gdchardwaremanagement/google/cloud/gdchardwaremanagement_v1alpha/gapic_metadata.json
Copy file name to clipboardExpand all lines: packages/google-cloud-gdchardwaremanagement/google/cloud/gdchardwaremanagement_v1alpha/services/gdc_hardware_management/async_client.py
on the ``request`` instance; if ``request`` is provided, this
1629
+
should not be set.
1630
+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1631
+
should be retried.
1632
+
timeout (float): The timeout for this request.
1633
+
metadata (Sequence[Tuple[str, str]]): Strings which should be
1634
+
sent along with the request as metadata.
1635
+
1636
+
Returns:
1637
+
google.api_core.operation_async.AsyncOperation:
1638
+
An object representing a long-running operation.
1639
+
1640
+
The result type for the operation will be :class:`google.protobuf.empty_pb2.Empty` A generic empty message that you can re-use to avoid defining duplicated
1641
+
empty messages in your APIs. A typical example is to
1642
+
use it as the request or the response type of an API
1643
+
method. For instance:
1644
+
1645
+
service Foo {
1646
+
rpc Bar(google.protobuf.Empty) returns
1647
+
(google.protobuf.Empty);
1648
+
1649
+
}
1650
+
1651
+
"""
1652
+
# Create or coerce a protobuf request object.
1653
+
# - Quick check: If we got a request object, we should *not* have
1654
+
# gotten any keyword arguments that map to the request.
1655
+
has_flattened_params=any([name])
1656
+
ifrequestisnotNoneandhas_flattened_params:
1657
+
raiseValueError(
1658
+
"If the `request` argument is set, then none of "
1659
+
"the individual field arguments should be set."
1660
+
)
1661
+
1662
+
# - Use the request object if provided (there's no risk of modifying the input as
0 commit comments