com.google.api.services.serviceusage.v1.model.Analysis 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.serviceusage.v1.model;
/**
* A message to group the analysis information.
*
* 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 Usage 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 Analysis extends com.google.api.client.json.GenericJson {
/**
* Output only. Analysis result of updating a policy.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AnalysisResult analysis;
/**
* Output only. The type of analysis.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String analysisType;
/**
* Output only. The user friendly display name of the analysis type. E.g. service dependency
* analysis, service resource usage analysis, etc.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayName;
/**
* The names of the service that has analysis result of warnings or blockers. Example:
* `services/storage.googleapis.com`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String service;
/**
* Output only. Analysis result of updating a policy.
* @return value or {@code null} for none
*/
public AnalysisResult getAnalysis() {
return analysis;
}
/**
* Output only. Analysis result of updating a policy.
* @param analysis analysis or {@code null} for none
*/
public Analysis setAnalysis(AnalysisResult analysis) {
this.analysis = analysis;
return this;
}
/**
* Output only. The type of analysis.
* @return value or {@code null} for none
*/
public java.lang.String getAnalysisType() {
return analysisType;
}
/**
* Output only. The type of analysis.
* @param analysisType analysisType or {@code null} for none
*/
public Analysis setAnalysisType(java.lang.String analysisType) {
this.analysisType = analysisType;
return this;
}
/**
* Output only. The user friendly display name of the analysis type. E.g. service dependency
* analysis, service resource usage analysis, etc.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}
/**
* Output only. The user friendly display name of the analysis type. E.g. service dependency
* analysis, service resource usage analysis, etc.
* @param displayName displayName or {@code null} for none
*/
public Analysis setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}
/**
* The names of the service that has analysis result of warnings or blockers. Example:
* `services/storage.googleapis.com`.
* @return value or {@code null} for none
*/
public java.lang.String getService() {
return service;
}
/**
* The names of the service that has analysis result of warnings or blockers. Example:
* `services/storage.googleapis.com`.
* @param service service or {@code null} for none
*/
public Analysis setService(java.lang.String service) {
this.service = service;
return this;
}
@Override
public Analysis set(String fieldName, Object value) {
return (Analysis) super.set(fieldName, value);
}
@Override
public Analysis clone() {
return (Analysis) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy