Send feedback
Class ServiceAttachmentsConnection (2.40.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Functions
virtual options()
Returns
Type
Description
Options
virtual AggregatedListServiceAttachments(google::cloud::cpp::compute::service_attachments::v1::AggregatedListServiceAttachmentsRequest)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::AggregatedListServiceAttachmentsRequest
Returns
Type
Description
StreamRange< std::pair< std::string, google::cloud::cpp::compute::v1::ServiceAttachmentsScopedList > >
virtual DeleteServiceAttachment(google::cloud::cpp::compute::service_attachments::v1::DeleteServiceAttachmentRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::DeleteServiceAttachmentRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual DeleteServiceAttachment(NoAwaitTag, google::cloud::cpp::compute::service_attachments::v1::DeleteServiceAttachmentRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::cpp::compute::service_attachments::v1::DeleteServiceAttachmentRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Operation >
virtual DeleteServiceAttachment(google::cloud::cpp::compute::v1::Operation const &)
Parameter
Name
Description
operation
google::cloud::cpp::compute::v1::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual GetServiceAttachment(google::cloud::cpp::compute::service_attachments::v1::GetServiceAttachmentRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::GetServiceAttachmentRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::ServiceAttachment >
virtual GetIamPolicy(google::cloud::cpp::compute::service_attachments::v1::GetIamPolicyRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::GetIamPolicyRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Policy >
virtual InsertServiceAttachment(google::cloud::cpp::compute::service_attachments::v1::InsertServiceAttachmentRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::InsertServiceAttachmentRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual InsertServiceAttachment(NoAwaitTag, google::cloud::cpp::compute::service_attachments::v1::InsertServiceAttachmentRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::cpp::compute::service_attachments::v1::InsertServiceAttachmentRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Operation >
virtual InsertServiceAttachment(google::cloud::cpp::compute::v1::Operation const &)
Parameter
Name
Description
operation
google::cloud::cpp::compute::v1::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual ListServiceAttachments(google::cloud::cpp::compute::service_attachments::v1::ListServiceAttachmentsRequest)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::ListServiceAttachmentsRequest
Returns
Type
Description
StreamRange< google::cloud::cpp::compute::v1::ServiceAttachment >
virtual PatchServiceAttachment(google::cloud::cpp::compute::service_attachments::v1::PatchServiceAttachmentRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::PatchServiceAttachmentRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual PatchServiceAttachment(NoAwaitTag, google::cloud::cpp::compute::service_attachments::v1::PatchServiceAttachmentRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::cpp::compute::service_attachments::v1::PatchServiceAttachmentRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Operation >
virtual PatchServiceAttachment(google::cloud::cpp::compute::v1::Operation const &)
Parameter
Name
Description
operation
google::cloud::cpp::compute::v1::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >
virtual SetIamPolicy(google::cloud::cpp::compute::service_attachments::v1::SetIamPolicyRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::SetIamPolicyRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::Policy >
virtual TestIamPermissions(google::cloud::cpp::compute::service_attachments::v1::TestIamPermissionsRequest const &)
Parameter
Name
Description
request
google::cloud::cpp::compute::service_attachments::v1::TestIamPermissionsRequest const &
Returns
Type
Description
StatusOr< google::cloud::cpp::compute::v1::TestPermissionsResponse >
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["The latest version available for `ServiceAttachmentsConnection` is 2.37.0-rc, and the page provides links to older versions ranging from 2.36.0 down to 2.15.1."],["`ServiceAttachmentsConnection` defines virtual methods corresponding to user-facing overloads found in `ServiceAttachmentsClient`, facilitating custom behavior injection for testing purposes."],["The page details various functions available within `ServiceAttachmentsConnection`, such as `AggregatedListServiceAttachments`, `DeleteServiceAttachment`, `GetServiceAttachment`, `InsertServiceAttachment`, `ListServiceAttachments`, `PatchServiceAttachment`, `SetIamPolicy`, and `TestIamPermissions`."],["`MakeServiceAttachmentsConnection()` can be used to create a concrete instance, and `MockServiceAttachmentsConnection` can be used to create a mock object."]]],[]]