Package com.google.cloud.compute.v1
Interface SnapshotSettingsAccessLocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SnapshotSettingsAccessLocation,SnapshotSettingsAccessLocation.Builder
@Generated
public interface SnapshotSettingsAccessLocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLocations(String key) List of regions that can restore a regional snapshot from the current regionDeprecated.intList of regions that can restore a regional snapshot from the current regionList of regions that can restore a regional snapshot from the current regiongetLocationsOrDefault(String key, SnapshotSettingsAccessLocationAccessLocationPreference defaultValue) List of regions that can restore a regional snapshot from the current regionList of regions that can restore a regional snapshot from the current regionPolicy of which location is allowed to access snapshot.com.google.protobuf.ByteStringPolicy of which location is allowed to access snapshot.booleanPolicy of which location is allowed to access snapshot.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLocationsCount
int getLocationsCount()List of regions that can restore a regional snapshot from the current region
map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454; -
containsLocations
List of regions that can restore a regional snapshot from the current region
map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454; -
getLocations
Deprecated.UsegetLocationsMap()instead. -
getLocationsMap
Map<String,SnapshotSettingsAccessLocationAccessLocationPreference> getLocationsMap()List of regions that can restore a regional snapshot from the current region
map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454; -
getLocationsOrDefault
SnapshotSettingsAccessLocationAccessLocationPreference getLocationsOrDefault(String key, SnapshotSettingsAccessLocationAccessLocationPreference defaultValue) List of regions that can restore a regional snapshot from the current region
map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454; -
getLocationsOrThrow
List of regions that can restore a regional snapshot from the current region
map<string, .google.cloud.compute.v1.SnapshotSettingsAccessLocationAccessLocationPreference> locations = 413423454; -
hasPolicy
boolean hasPolicy()Policy of which location is allowed to access snapshot. Check the Policy enum for the list of possible values.
optional string policy = 91071794;- Returns:
- Whether the policy field is set.
-
getPolicy
String getPolicy()Policy of which location is allowed to access snapshot. Check the Policy enum for the list of possible values.
optional string policy = 91071794;- Returns:
- The policy.
-
getPolicyBytes
com.google.protobuf.ByteString getPolicyBytes()Policy of which location is allowed to access snapshot. Check the Policy enum for the list of possible values.
optional string policy = 91071794;- Returns:
- The bytes for policy.
-