compute  v1
Public Member Functions | List of all members
google_compute_api::ComputeService::InstancesResource Class Reference

#include <compute_service.h>

Public Member Functions

 InstancesResource (ComputeService *service)
 
 ~InstancesResource ()
 
InstancesResource_AddAccessConfigMethodNewAddAccessConfigMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const absl::string_view &network_interface, const AccessConfig &_content_) const
 
InstancesResource_AggregatedListMethodNewAggregatedListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
InstancesResource_AggregatedListMethodPager * NewAggregatedListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
InstancesResource_AttachDiskMethodNewAttachDiskMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const AttachedDisk &_content_) const
 
InstancesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_DeleteAccessConfigMethodNewDeleteAccessConfigMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const absl::string_view &access_config, const absl::string_view &network_interface) const
 
InstancesResource_DetachDiskMethodNewDetachDiskMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const absl::string_view &device_name) const
 
InstancesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_GetIamPolicyMethodNewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource) const
 
InstancesResource_GetSerialPortOutputMethodNewGetSerialPortOutputMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_GetShieldedInstanceIdentityMethodNewGetShieldedInstanceIdentityMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const Instance &_content_) const
 
InstancesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone) const
 
InstancesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone) const
 
InstancesResource_ListReferrersMethodNewListReferrersMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_ListReferrersMethodPager * NewListReferrersMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_ResetMethodNewResetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_SetDeletionProtectionMethodNewSetDeletionProtectionMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource) const
 
InstancesResource_SetDiskAutoDeleteMethodNewSetDiskAutoDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const bool &auto_delete, const absl::string_view &device_name) const
 
InstancesResource_SetIamPolicyMethodNewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const ZoneSetPolicyRequest &_content_) const
 
InstancesResource_SetLabelsMethodNewSetLabelsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const InstancesSetLabelsRequest &_content_) const
 
InstancesResource_SetMachineResourcesMethodNewSetMachineResourcesMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const InstancesSetMachineResourcesRequest &_content_) const
 
InstancesResource_SetMachineTypeMethodNewSetMachineTypeMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const InstancesSetMachineTypeRequest &_content_) const
 
InstancesResource_SetMetadataMethodNewSetMetadataMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const Metadata &_content_) const
 
InstancesResource_SetMinCpuPlatformMethodNewSetMinCpuPlatformMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const InstancesSetMinCpuPlatformRequest &_content_) const
 
InstancesResource_SetSchedulingMethodNewSetSchedulingMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const Scheduling &_content_) const
 
InstancesResource_SetServiceAccountMethodNewSetServiceAccountMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const InstancesSetServiceAccountRequest &_content_) const
 
InstancesResource_SetShieldedInstanceIntegrityPolicyMethodNewSetShieldedInstanceIntegrityPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const ShieldedInstanceIntegrityPolicy &_content_) const
 
InstancesResource_SetTagsMethodNewSetTagsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const Tags &_content_) const
 
InstancesResource_SimulateMaintenanceEventMethodNewSimulateMaintenanceEventMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_StartMethodNewStartMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_StartWithEncryptionKeyMethodNewStartWithEncryptionKeyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const InstancesStartWithEncryptionKeyRequest &_content_) const
 
InstancesResource_StopMethodNewStopMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance) const
 
InstancesResource_TestIamPermissionsMethodNewTestIamPermissionsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const TestPermissionsRequest &_content_) const
 
InstancesResource_UpdateAccessConfigMethodNewUpdateAccessConfigMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const absl::string_view &network_interface, const AccessConfig &_content_) const
 
InstancesResource_UpdateNetworkInterfaceMethodNewUpdateNetworkInterfaceMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const absl::string_view &network_interface, const NetworkInterface &_content_) const
 
InstancesResource_UpdateShieldedInstanceConfigMethodNewUpdateShieldedInstanceConfigMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &instance, const ShieldedInstanceConfig &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ InstancesResource()

google_compute_api::ComputeService::InstancesResource::InstancesResource ( ComputeService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~InstancesResource()

google_compute_api::ComputeService::InstancesResource::~InstancesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewAddAccessConfigMethod()

InstancesResource_AddAccessConfigMethod * google_compute_api::ComputeService::InstancesResource::NewAddAccessConfigMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const absl::string_view &  network_interface,
const AccessConfig _content_ 
) const

Creates a new InstancesResource_AddAccessConfigMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceThe instance name for this request.
[in]network_interfaceThe name of the network interface to add to this instance.
[in]<em>content</em>The data object to addAccessConfig.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewAggregatedListMethod()

InstancesResource_AggregatedListMethod * google_compute_api::ComputeService::InstancesResource::NewAggregatedListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project 
) const

Creates a new InstancesResource_AggregatedListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewAggregatedListMethodPager()

InstancesResource_AggregatedListMethodPager * google_compute_api::ComputeService::InstancesResource::NewAggregatedListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]projectProject ID for this request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewAttachDiskMethod()

InstancesResource_AttachDiskMethod * google_compute_api::ComputeService::InstancesResource::NewAttachDiskMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const AttachedDisk _content_ 
) const

Creates a new InstancesResource_AttachDiskMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceThe instance name for this request.
[in]<em>content</em>The data object to attachDisk.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteAccessConfigMethod()

InstancesResource_DeleteAccessConfigMethod * google_compute_api::ComputeService::InstancesResource::NewDeleteAccessConfigMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const absl::string_view &  access_config,
const absl::string_view &  network_interface 
) const

Creates a new InstancesResource_DeleteAccessConfigMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceThe instance name for this request.
[in]access_configThe name of the access config to delete.
[in]network_interfaceThe name of the network interface.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteMethod()

InstancesResource_DeleteMethod * google_compute_api::ComputeService::InstancesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance resource to delete.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDetachDiskMethod()

InstancesResource_DetachDiskMethod * google_compute_api::ComputeService::InstancesResource::NewDetachDiskMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const absl::string_view &  device_name 
) const

Creates a new InstancesResource_DetachDiskMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceInstance name for this request.
[in]device_nameThe device name of the disk to detach. Make a get() request on the instance to view currently attached disks and device names.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetIamPolicyMethod()

InstancesResource_GetIamPolicyMethod * google_compute_api::ComputeService::InstancesResource::NewGetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource 
) const

Creates a new InstancesResource_GetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]resourceName or id of the resource for this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

InstancesResource_GetMethod * google_compute_api::ComputeService::InstancesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance resource to return.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetSerialPortOutputMethod()

InstancesResource_GetSerialPortOutputMethod * google_compute_api::ComputeService::InstancesResource::NewGetSerialPortOutputMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_GetSerialPortOutputMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetShieldedInstanceIdentityMethod()

InstancesResource_GetShieldedInstanceIdentityMethod * google_compute_api::ComputeService::InstancesResource::NewGetShieldedInstanceIdentityMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_GetShieldedInstanceIdentityMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName or id of the instance scoping this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

InstancesResource_InsertMethod * google_compute_api::ComputeService::InstancesResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const Instance _content_ 
) const

Creates a new InstancesResource_InsertMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]<em>content</em>The data object to insert.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

InstancesResource_ListMethod * google_compute_api::ComputeService::InstancesResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone 
) const

Creates a new InstancesResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

InstancesResource_ListMethodPager * google_compute_api::ComputeService::InstancesResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewListReferrersMethod()

InstancesResource_ListReferrersMethod * google_compute_api::ComputeService::InstancesResource::NewListReferrersMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_ListReferrersMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the target instance scoping this request, or '-' if the request should span over all instances in the container.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListReferrersMethodPager()

InstancesResource_ListReferrersMethodPager * google_compute_api::ComputeService::InstancesResource::NewListReferrersMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the target instance scoping this request, or '-' if the request should span over all instances in the container.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewResetMethod()

InstancesResource_ResetMethod * google_compute_api::ComputeService::InstancesResource::NewResetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_ResetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetDeletionProtectionMethod()

InstancesResource_SetDeletionProtectionMethod * google_compute_api::ComputeService::InstancesResource::NewSetDeletionProtectionMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource 
) const

Creates a new InstancesResource_SetDeletionProtectionMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]resourceName or id of the resource for this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetDiskAutoDeleteMethod()

InstancesResource_SetDiskAutoDeleteMethod * google_compute_api::ComputeService::InstancesResource::NewSetDiskAutoDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const bool &  auto_delete,
const absl::string_view &  device_name 
) const

Creates a new InstancesResource_SetDiskAutoDeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceThe instance name for this request.
[in]auto_deleteWhether to auto-delete the disk when the instance is deleted.
[in]device_nameThe device name of the disk to modify. Make a get() request on the instance to view currently attached disks and device names.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetIamPolicyMethod()

InstancesResource_SetIamPolicyMethod * google_compute_api::ComputeService::InstancesResource::NewSetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource,
const ZoneSetPolicyRequest _content_ 
) const

Creates a new InstancesResource_SetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]resourceName or id of the resource for this request.
[in]<em>content</em>The data object to setIamPolicy.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetLabelsMethod()

InstancesResource_SetLabelsMethod * google_compute_api::ComputeService::InstancesResource::NewSetLabelsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const InstancesSetLabelsRequest _content_ 
) const

Creates a new InstancesResource_SetLabelsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
[in]<em>content</em>The data object to setLabels.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetMachineResourcesMethod()

InstancesResource_SetMachineResourcesMethod * google_compute_api::ComputeService::InstancesResource::NewSetMachineResourcesMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const InstancesSetMachineResourcesRequest _content_ 
) const

Creates a new InstancesResource_SetMachineResourcesMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
[in]<em>content</em>The data object to setMachineResources.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetMachineTypeMethod()

InstancesResource_SetMachineTypeMethod * google_compute_api::ComputeService::InstancesResource::NewSetMachineTypeMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const InstancesSetMachineTypeRequest _content_ 
) const

Creates a new InstancesResource_SetMachineTypeMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
[in]<em>content</em>The data object to setMachineType.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetMetadataMethod()

InstancesResource_SetMetadataMethod * google_compute_api::ComputeService::InstancesResource::NewSetMetadataMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const Metadata _content_ 
) const

Creates a new InstancesResource_SetMetadataMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
[in]<em>content</em>The data object to setMetadata.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetMinCpuPlatformMethod()

InstancesResource_SetMinCpuPlatformMethod * google_compute_api::ComputeService::InstancesResource::NewSetMinCpuPlatformMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const InstancesSetMinCpuPlatformRequest _content_ 
) const

Creates a new InstancesResource_SetMinCpuPlatformMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
[in]<em>content</em>The data object to setMinCpuPlatform.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetSchedulingMethod()

InstancesResource_SetSchedulingMethod * google_compute_api::ComputeService::InstancesResource::NewSetSchedulingMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const Scheduling _content_ 
) const

Creates a new InstancesResource_SetSchedulingMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceInstance name for this request.
[in]<em>content</em>The data object to setScheduling.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetServiceAccountMethod()

InstancesResource_SetServiceAccountMethod * google_compute_api::ComputeService::InstancesResource::NewSetServiceAccountMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const InstancesSetServiceAccountRequest _content_ 
) const

Creates a new InstancesResource_SetServiceAccountMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance resource to start.
[in]<em>content</em>The data object to setServiceAccount.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetShieldedInstanceIntegrityPolicyMethod()

InstancesResource_SetShieldedInstanceIntegrityPolicyMethod * google_compute_api::ComputeService::InstancesResource::NewSetShieldedInstanceIntegrityPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const ShieldedInstanceIntegrityPolicy _content_ 
) const

Creates a new InstancesResource_SetShieldedInstanceIntegrityPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName or id of the instance scoping this request.
[in]<em>content</em>The data object to setShieldedInstanceIntegrityPolicy.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetTagsMethod()

InstancesResource_SetTagsMethod * google_compute_api::ComputeService::InstancesResource::NewSetTagsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const Tags _content_ 
) const

Creates a new InstancesResource_SetTagsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
[in]<em>content</em>The data object to setTags.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSimulateMaintenanceEventMethod()

InstancesResource_SimulateMaintenanceEventMethod * google_compute_api::ComputeService::InstancesResource::NewSimulateMaintenanceEventMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_SimulateMaintenanceEventMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance scoping this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewStartMethod()

InstancesResource_StartMethod * google_compute_api::ComputeService::InstancesResource::NewStartMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_StartMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance resource to start.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewStartWithEncryptionKeyMethod()

InstancesResource_StartWithEncryptionKeyMethod * google_compute_api::ComputeService::InstancesResource::NewStartWithEncryptionKeyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const InstancesStartWithEncryptionKeyRequest _content_ 
) const

Creates a new InstancesResource_StartWithEncryptionKeyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance resource to start.
[in]<em>content</em>The data object to startWithEncryptionKey.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewStopMethod()

InstancesResource_StopMethod * google_compute_api::ComputeService::InstancesResource::NewStopMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_StopMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName of the instance resource to stop.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewTestIamPermissionsMethod()

InstancesResource_TestIamPermissionsMethod * google_compute_api::ComputeService::InstancesResource::NewTestIamPermissionsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource,
const TestPermissionsRequest _content_ 
) const

Creates a new InstancesResource_TestIamPermissionsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]resourceName or id of the resource for this request.
[in]<em>content</em>The data object to testIamPermissions.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateAccessConfigMethod()

InstancesResource_UpdateAccessConfigMethod * google_compute_api::ComputeService::InstancesResource::NewUpdateAccessConfigMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const absl::string_view &  network_interface,
const AccessConfig _content_ 
) const

Creates a new InstancesResource_UpdateAccessConfigMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceThe instance name for this request.
[in]network_interfaceThe name of the network interface where the access config is attached.
[in]<em>content</em>The data object to updateAccessConfig.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateNetworkInterfaceMethod()

InstancesResource_UpdateNetworkInterfaceMethod * google_compute_api::ComputeService::InstancesResource::NewUpdateNetworkInterfaceMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const absl::string_view &  network_interface,
const NetworkInterface _content_ 
) const

Creates a new InstancesResource_UpdateNetworkInterfaceMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceThe instance name for this request.
[in]network_interfaceThe name of the network interface to update.
[in]<em>content</em>The data object to updateNetworkInterface.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateShieldedInstanceConfigMethod()

InstancesResource_UpdateShieldedInstanceConfigMethod * google_compute_api::ComputeService::InstancesResource::NewUpdateShieldedInstanceConfigMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  instance,
const ShieldedInstanceConfig _content_ 
) const

Creates a new InstancesResource_UpdateShieldedInstanceConfigMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]instanceName or id of the instance scoping this request.
[in]<em>content</em>The data object to updateShieldedInstanceConfig.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: