Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
ProjectGlobalSnapshotResourceName |
ProjectGlobalSnapshotResourceName.Builder.build() |
static ProjectGlobalSnapshotResourceName |
ProjectGlobalSnapshotResourceName.of(String project,
String resource) |
static ProjectGlobalSnapshotResourceName |
ProjectGlobalSnapshotResourceName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static com.google.api.resourcenames.ResourceNameFactory<ProjectGlobalSnapshotResourceName> |
ProjectGlobalSnapshotResourceName.newFactory() |
Modifier and Type | Method and Description |
---|---|
Policy |
SnapshotClient.getIamPolicySnapshot(ProjectGlobalSnapshotResourceName resource)
Gets the access control policy for a resource.
|
Policy |
SnapshotClient.setIamPolicySnapshot(ProjectGlobalSnapshotResourceName resource,
GlobalSetPolicyRequest globalSetPolicyRequestResource)
Sets the access control policy on the specified resource.
|
Operation |
SnapshotClient.setLabelsSnapshot(ProjectGlobalSnapshotResourceName resource,
GlobalSetLabelsRequest globalSetLabelsRequestResource)
Sets the labels on a snapshot.
|
TestPermissionsResponse |
SnapshotClient.testIamPermissionsSnapshot(ProjectGlobalSnapshotResourceName resource,
TestPermissionsRequest testPermissionsRequestResource)
Returns permissions that a caller has on the specified resource.
|
Constructor and Description |
---|
Builder(ProjectGlobalSnapshotResourceName projectGlobalSnapshotResourceName) |
Copyright © 2019 Google LLC. All rights reserved.