com.google.api.services.cloudcontrolspartner.v1.model.Partner Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.cloudcontrolspartner.v1.model;
/**
* Message describing Partner resource
*
* 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 Cloud Controls Partner API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Partner extends com.google.api.client.json.GenericJson {
/**
* Output only. Time the resource was created
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;
/**
* List of Google Cloud supported EKM partners supported by the partner
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List ekmSolutions;
static {
// hack to force ProGuard to consider EkmMetadata used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(EkmMetadata.class);
}
/**
* Identifier. The resource name of the partner. Format:
* `organizations/{organization}/locations/{location}/partner` Example:
* "organizations/123456/locations/us-central1/partner"
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud
* regions found here: https://cloud.google.com/compute/docs/regions-zones
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List operatedCloudRegions;
/**
* Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs
* for Partners.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String partnerProjectId;
/**
* List of SKUs the partner is offering
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List skus;
/**
* Output only. The last time the resource was updated
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;
/**
* Output only. Time the resource was created
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}
/**
* Output only. Time the resource was created
* @param createTime createTime or {@code null} for none
*/
public Partner setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* List of Google Cloud supported EKM partners supported by the partner
* @return value or {@code null} for none
*/
public java.util.List getEkmSolutions() {
return ekmSolutions;
}
/**
* List of Google Cloud supported EKM partners supported by the partner
* @param ekmSolutions ekmSolutions or {@code null} for none
*/
public Partner setEkmSolutions(java.util.List ekmSolutions) {
this.ekmSolutions = ekmSolutions;
return this;
}
/**
* Identifier. The resource name of the partner. Format:
* `organizations/{organization}/locations/{location}/partner` Example:
* "organizations/123456/locations/us-central1/partner"
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Identifier. The resource name of the partner. Format:
* `organizations/{organization}/locations/{location}/partner` Example:
* "organizations/123456/locations/us-central1/partner"
* @param name name or {@code null} for none
*/
public Partner setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud
* regions found here: https://cloud.google.com/compute/docs/regions-zones
* @return value or {@code null} for none
*/
public java.util.List getOperatedCloudRegions() {
return operatedCloudRegions;
}
/**
* List of Google Cloud regions that the partner sells services to customers. Valid Google Cloud
* regions found here: https://cloud.google.com/compute/docs/regions-zones
* @param operatedCloudRegions operatedCloudRegions or {@code null} for none
*/
public Partner setOperatedCloudRegions(java.util.List operatedCloudRegions) {
this.operatedCloudRegions = operatedCloudRegions;
return this;
}
/**
* Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs
* for Partners.
* @return value or {@code null} for none
*/
public java.lang.String getPartnerProjectId() {
return partnerProjectId;
}
/**
* Google Cloud project ID in the partner's Google Cloud organization for receiving enhanced Logs
* for Partners.
* @param partnerProjectId partnerProjectId or {@code null} for none
*/
public Partner setPartnerProjectId(java.lang.String partnerProjectId) {
this.partnerProjectId = partnerProjectId;
return this;
}
/**
* List of SKUs the partner is offering
* @return value or {@code null} for none
*/
public java.util.List getSkus() {
return skus;
}
/**
* List of SKUs the partner is offering
* @param skus skus or {@code null} for none
*/
public Partner setSkus(java.util.List skus) {
this.skus = skus;
return this;
}
/**
* Output only. The last time the resource was updated
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}
/**
* Output only. The last time the resource was updated
* @param updateTime updateTime or {@code null} for none
*/
public Partner setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}
@Override
public Partner set(String fieldName, Object value) {
return (Partner) super.set(fieldName, value);
}
@Override
public Partner clone() {
return (Partner) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy