public final class RegionOperationId extends OperationId
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getRegion()
Returns the name of the region this operation belongs to.
|
RegionId |
getRegionId()
Returns the identity of the region this operation belongs to.
|
String |
getSelfLink()
Returns a fully qualified URL to the entity.
|
com.google.cloud.compute.deprecated.OperationId.Type |
getType()
Returns the type of this operation identity.
|
int |
hashCode() |
static RegionOperationId |
of(RegionId regionId,
String operation)
Returns a region operation identity given the region identity and the operation name.
|
static RegionOperationId |
of(String region,
String operation)
Returns a region operation identity given the region and operation names.
|
static RegionOperationId |
of(String project,
String region,
String operation)
Returns a region operation identity given project, region and operation names.
|
getOperation
getProject, toString
public com.google.cloud.compute.deprecated.OperationId.Type getType()
OperationId
getType
in class OperationId
public String getRegion()
public RegionId getRegionId()
public String getSelfLink()
ResourceId
getSelfLink
in class ResourceId
public static RegionOperationId of(RegionId regionId, String operation)
public static RegionOperationId of(String region, String operation)
public static RegionOperationId of(String project, String region, String operation)
Copyright © 2019 Google LLC. All rights reserved.