Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
ProjectZoneInstanceResourceName |
ProjectZoneInstanceResourceName.Builder.build() |
static ProjectZoneInstanceResourceName |
ProjectZoneInstanceResourceName.of(String project,
String resource,
String zone) |
static ProjectZoneInstanceResourceName |
ProjectZoneInstanceResourceName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static com.google.api.resourcenames.ResourceNameFactory<ProjectZoneInstanceResourceName> |
ProjectZoneInstanceResourceName.newFactory() |
Modifier and Type | Method and Description |
---|---|
Policy |
InstanceClient.getIamPolicyInstance(ProjectZoneInstanceResourceName resource)
Gets the access control policy for a resource.
|
Operation |
InstanceClient.setDeletionProtectionInstance(ProjectZoneInstanceResourceName resource,
Boolean deletionProtection)
Sets deletion protection on the instance.
|
Policy |
InstanceClient.setIamPolicyInstance(ProjectZoneInstanceResourceName resource,
ZoneSetPolicyRequest zoneSetPolicyRequestResource)
Sets the access control policy on the specified resource.
|
TestPermissionsResponse |
InstanceClient.testIamPermissionsInstance(ProjectZoneInstanceResourceName resource,
TestPermissionsRequest testPermissionsRequestResource)
Returns permissions that a caller has on the specified resource.
|
Constructor and Description |
---|
Builder(ProjectZoneInstanceResourceName projectZoneInstanceResourceName) |
Copyright © 2019 Google LLC. All rights reserved.