public final class AttachTenantProjectRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Consumer Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
AttachTenantProjectRequest() |
Modifier and Type | Method and Description |
---|---|
AttachTenantProjectRequest |
clone() |
java.lang.String |
getExternalResource()
When attaching an external project, this is in the format of `projects/{project_number}`.
|
java.lang.String |
getReservedResource()
When attaching a reserved project already in tenancy units, this is the tag of a tenant
resource under the tenancy unit for the managed service's service producer project.
|
java.lang.String |
getTag()
Tag of the tenant resource after attachment.
|
AttachTenantProjectRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
AttachTenantProjectRequest |
setExternalResource(java.lang.String externalResource)
When attaching an external project, this is in the format of `projects/{project_number}`.
|
AttachTenantProjectRequest |
setReservedResource(java.lang.String reservedResource)
When attaching a reserved project already in tenancy units, this is the tag of a tenant
resource under the tenancy unit for the managed service's service producer project.
|
AttachTenantProjectRequest |
setTag(java.lang.String tag)
Tag of the tenant resource after attachment.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getExternalResource()
null
for nonepublic AttachTenantProjectRequest setExternalResource(java.lang.String externalResource)
externalResource
- externalResource or null
for nonepublic java.lang.String getReservedResource()
null
for nonepublic AttachTenantProjectRequest setReservedResource(java.lang.String reservedResource)
reservedResource
- reservedResource or null
for nonepublic java.lang.String getTag()
null
for nonepublic AttachTenantProjectRequest setTag(java.lang.String tag)
tag
- tag or null
for nonepublic AttachTenantProjectRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AttachTenantProjectRequest clone()
clone
in class com.google.api.client.json.GenericJson