target.apidocs.com.google.api.services.serviceconsumermanagement.v1.model.TenantProjectConfig.html Maven / Gradle / Ivy
TenantProjectConfig (Service Consumer Management API v1-rev20210525-1.31.0)
com.google.api.services.serviceconsumermanagement.v1.model
Class TenantProjectConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.serviceconsumermanagement.v1.model.TenantProjectConfig
-
public final class TenantProjectConfig
extends GenericJson
This structure defines a tenant project to be added to the specified tenancy unit and its initial
configuration and properties. A project lien is created for the tenant project to prevent the
tenant project from being deleted accidentally. The lien is deleted as part of tenant project
removal.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TenantProjectConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TenantProjectConfig
clone()
BillingConfig
getBillingConfig()
Billing account properties.
String
getFolder()
Folder where project in this tenancy unit must be located This folder must have been previously
created with the required permissions for the caller to create and configure a project in it.
Map<String,String>
getLabels()
Labels that are applied to this project.
ServiceAccountConfig
getServiceAccountConfig()
Configuration for the IAM service account on the tenant project.
List<String>
getServices()
Google Cloud API names of services that are activated on this project during provisioning.
TenantProjectPolicy
getTenantProjectPolicy()
Describes ownership and policies for the new tenant project.
TenantProjectConfig
set(String fieldName,
Object value)
TenantProjectConfig
setBillingConfig(BillingConfig billingConfig)
Billing account properties.
TenantProjectConfig
setFolder(String folder)
Folder where project in this tenancy unit must be located This folder must have been previously
created with the required permissions for the caller to create and configure a project in it.
TenantProjectConfig
setLabels(Map<String,String> labels)
Labels that are applied to this project.
TenantProjectConfig
setServiceAccountConfig(ServiceAccountConfig serviceAccountConfig)
Configuration for the IAM service account on the tenant project.
TenantProjectConfig
setServices(List<String> services)
Google Cloud API names of services that are activated on this project during provisioning.
TenantProjectConfig
setTenantProjectPolicy(TenantProjectPolicy tenantProjectPolicy)
Describes ownership and policies for the new tenant project.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBillingConfig
public BillingConfig getBillingConfig()
Billing account properties. The billing account must be specified.
- Returns:
- value or
null
for none
-
setBillingConfig
public TenantProjectConfig setBillingConfig(BillingConfig billingConfig)
Billing account properties. The billing account must be specified.
- Parameters:
billingConfig
- billingConfig or null
for none
-
getFolder
public String getFolder()
Folder where project in this tenancy unit must be located This folder must have been previously
created with the required permissions for the caller to create and configure a project in it.
Valid folder resource names have the format `folders/{folder_number}` (for example,
`folders/123456`).
- Returns:
- value or
null
for none
-
setFolder
public TenantProjectConfig setFolder(String folder)
Folder where project in this tenancy unit must be located This folder must have been previously
created with the required permissions for the caller to create and configure a project in it.
Valid folder resource names have the format `folders/{folder_number}` (for example,
`folders/123456`).
- Parameters:
folder
- folder or null
for none
-
getLabels
public Map<String,String> getLabels()
Labels that are applied to this project.
- Returns:
- value or
null
for none
-
setLabels
public TenantProjectConfig setLabels(Map<String,String> labels)
Labels that are applied to this project.
- Parameters:
labels
- labels or null
for none
-
getServiceAccountConfig
public ServiceAccountConfig getServiceAccountConfig()
Configuration for the IAM service account on the tenant project.
- Returns:
- value or
null
for none
-
setServiceAccountConfig
public TenantProjectConfig setServiceAccountConfig(ServiceAccountConfig serviceAccountConfig)
Configuration for the IAM service account on the tenant project.
- Parameters:
serviceAccountConfig
- serviceAccountConfig or null
for none
-
getServices
public List<String> getServices()
Google Cloud API names of services that are activated on this project during provisioning. If
any of these services can't be activated, the request fails. For example:
'compute.googleapis.com','cloudfunctions.googleapis.com'
- Returns:
- value or
null
for none
-
setServices
public TenantProjectConfig setServices(List<String> services)
Google Cloud API names of services that are activated on this project during provisioning. If
any of these services can't be activated, the request fails. For example:
'compute.googleapis.com','cloudfunctions.googleapis.com'
- Parameters:
services
- services or null
for none
-
getTenantProjectPolicy
public TenantProjectPolicy getTenantProjectPolicy()
Describes ownership and policies for the new tenant project. Required.
- Returns:
- value or
null
for none
-
setTenantProjectPolicy
public TenantProjectConfig setTenantProjectPolicy(TenantProjectPolicy tenantProjectPolicy)
Describes ownership and policies for the new tenant project. Required.
- Parameters:
tenantProjectPolicy
- tenantProjectPolicy or null
for none
-
set
public TenantProjectConfig set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public TenantProjectConfig clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.