Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-auditmanager/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-auditmanager</artifactId>
<version>v1-rev20260907-2.0.0</version>
<version>v1-rev20260908-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-auditmanager:v1-rev20260907-2.0.0'
implementation 'com.google.apis:google-api-services-auditmanager:v1-rev20260908-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,353 @@
/*
* 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.auditmanager.v1.model;

/**
* An audit schedule, in one of the following formats: *
* `projects/{project}/locations/{location}/auditSchedules/{audit_schedule}` *
* `folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}`
*
* <p> 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 Audit Manager API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class AuditSchedule extends com.google.api.client.json.GenericJson {

/**
* Required. Framework (set of controls) that the audit scope report is generated against. For
* example, `NIST_800_53`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String complianceFramework;

/**
* Output only. Timestamp when the schedule was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;

/**
* Optional. Display name for the audit schedule.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayName;

/**
* Output only. Describes the error if the schedule is in an error state.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String errorMessage;

/**
* Required. Cloud Storage bucket where Audit Manager can upload the audit report and evidence.
* The format is `gs://{bucket_name}`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String gcsUri;

/**
* Output only. Timestamp when the audit run was last triggered.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String lastTriggerTime;

/**
* Identifier. Unique identifier for the audit schedule. Format:
* projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
* folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
* organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Output only. Calculated timestamp for the next scheduled run.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String nextRunTime;

/**
* Required. Format for the audit report.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String reportFormat;

/**
* Required. Configuration that defines when and how often audit runs are automatically triggered
* for this schedule.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ScheduleConfig scheduleConfig;

/**
* Optional. State of the audit schedule. While most states are managed by the system, you can use
* UpdateAuditSchedule to start, pause, or delete the schedule.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String state;

/**
* Output only. Timestamp when the schedule was last updated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;

/**
* Required. Framework (set of controls) that the audit scope report is generated against. For
* example, `NIST_800_53`.
* @return value or {@code null} for none
*/
public java.lang.String getComplianceFramework() {
return complianceFramework;
}

/**
* Required. Framework (set of controls) that the audit scope report is generated against. For
* example, `NIST_800_53`.
* @param complianceFramework complianceFramework or {@code null} for none
*/
public AuditSchedule setComplianceFramework(java.lang.String complianceFramework) {
this.complianceFramework = complianceFramework;
return this;
}

/**
* Output only. Timestamp when the schedule was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}

/**
* Output only. Timestamp when the schedule was created.
* @param createTime createTime or {@code null} for none
*/
public AuditSchedule setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}

/**
* Optional. Display name for the audit schedule.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}

/**
* Optional. Display name for the audit schedule.
* @param displayName displayName or {@code null} for none
*/
public AuditSchedule setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}

/**
* Output only. Describes the error if the schedule is in an error state.
* @return value or {@code null} for none
*/
public java.lang.String getErrorMessage() {
return errorMessage;
}

/**
* Output only. Describes the error if the schedule is in an error state.
* @param errorMessage errorMessage or {@code null} for none
*/
public AuditSchedule setErrorMessage(java.lang.String errorMessage) {
this.errorMessage = errorMessage;
return this;
}

/**
* Required. Cloud Storage bucket where Audit Manager can upload the audit report and evidence.
* The format is `gs://{bucket_name}`.
* @return value or {@code null} for none
*/
public java.lang.String getGcsUri() {
return gcsUri;
}

/**
* Required. Cloud Storage bucket where Audit Manager can upload the audit report and evidence.
* The format is `gs://{bucket_name}`.
* @param gcsUri gcsUri or {@code null} for none
*/
public AuditSchedule setGcsUri(java.lang.String gcsUri) {
this.gcsUri = gcsUri;
return this;
}

/**
* Output only. Timestamp when the audit run was last triggered.
* @return value or {@code null} for none
*/
public String getLastTriggerTime() {
return lastTriggerTime;
}

/**
* Output only. Timestamp when the audit run was last triggered.
* @param lastTriggerTime lastTriggerTime or {@code null} for none
*/
public AuditSchedule setLastTriggerTime(String lastTriggerTime) {
this.lastTriggerTime = lastTriggerTime;
return this;
}

/**
* Identifier. Unique identifier for the audit schedule. Format:
* projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
* folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
* organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Identifier. Unique identifier for the audit schedule. Format:
* projects/{project}/locations/{location}/auditSchedules/{audit_schedule}
* folders/{folder}/locations/{location}/auditSchedules/{audit_schedule}
* organizations/{organization}/locations/{location}/auditSchedules/{audit_schedule}
* @param name name or {@code null} for none
*/
public AuditSchedule setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Output only. Calculated timestamp for the next scheduled run.
* @return value or {@code null} for none
*/
public String getNextRunTime() {
return nextRunTime;
}

/**
* Output only. Calculated timestamp for the next scheduled run.
* @param nextRunTime nextRunTime or {@code null} for none
*/
public AuditSchedule setNextRunTime(String nextRunTime) {
this.nextRunTime = nextRunTime;
return this;
}

/**
* Required. Format for the audit report.
* @return value or {@code null} for none
*/
public java.lang.String getReportFormat() {
return reportFormat;
}

/**
* Required. Format for the audit report.
* @param reportFormat reportFormat or {@code null} for none
*/
public AuditSchedule setReportFormat(java.lang.String reportFormat) {
this.reportFormat = reportFormat;
return this;
}

/**
* Required. Configuration that defines when and how often audit runs are automatically triggered
* for this schedule.
* @return value or {@code null} for none
*/
public ScheduleConfig getScheduleConfig() {
return scheduleConfig;
}

/**
* Required. Configuration that defines when and how often audit runs are automatically triggered
* for this schedule.
* @param scheduleConfig scheduleConfig or {@code null} for none
*/
public AuditSchedule setScheduleConfig(ScheduleConfig scheduleConfig) {
this.scheduleConfig = scheduleConfig;
return this;
}

/**
* Optional. State of the audit schedule. While most states are managed by the system, you can use
* UpdateAuditSchedule to start, pause, or delete the schedule.
* @return value or {@code null} for none
*/
public java.lang.String getState() {
return state;
}

/**
* Optional. State of the audit schedule. While most states are managed by the system, you can use
* UpdateAuditSchedule to start, pause, or delete the schedule.
* @param state state or {@code null} for none
*/
public AuditSchedule setState(java.lang.String state) {
this.state = state;
return this;
}

/**
* Output only. Timestamp when the schedule was last updated.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}

/**
* Output only. Timestamp when the schedule was last updated.
* @param updateTime updateTime or {@code null} for none
*/
public AuditSchedule setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}

@Override
public AuditSchedule set(String fieldName, Object value) {
return (AuditSchedule) super.set(fieldName, value);
}

@Override
public AuditSchedule clone() {
return (AuditSchedule) super.clone();
}

}
Loading
Loading