Skip to content

Commit

Permalink
chore: regenerate vmwareengine client (#18793)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Nov 5, 2023
1 parent 9448aa0 commit 1f0ca5d
Show file tree
Hide file tree
Showing 34 changed files with 16,095 additions and 4,533 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-vmwareengine/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-vmwareengine</artifactId>
<version>v1-rev20230922-2.0.0</version>
<version>v1-rev20231025-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20230922-2.0.0'
implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20231025-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String state;

/**
* Optional. Configuration of a stretched cluster. Required for clusters that belong to a
* STRETCHED private cloud.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private StretchedClusterConfig stretchedClusterConfig;

/**
* Output only. System-generated unique identifier for the resource.
* The value may be {@code null}.
Expand Down Expand Up @@ -175,6 +183,25 @@ public Cluster setState(java.lang.String state) {
return this;
}

/**
* Optional. Configuration of a stretched cluster. Required for clusters that belong to a
* STRETCHED private cloud.
* @return value or {@code null} for none
*/
public StretchedClusterConfig getStretchedClusterConfig() {
return stretchedClusterConfig;
}

/**
* Optional. Configuration of a stretched cluster. Required for clusters that belong to a
* STRETCHED private cloud.
* @param stretchedClusterConfig stretchedClusterConfig or {@code null} for none
*/
public Cluster setStretchedClusterConfig(StretchedClusterConfig stretchedClusterConfig) {
this.stretchedClusterConfig = stretchedClusterConfig;
return this;
}

/**
* Output only. System-generated unique identifier for the resource.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/*
* 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.vmwareengine.v1.model;

/**
* DnsBindPermission resource that contains the accounts having the consumer DNS bind permission on
* the corresponding intranet VPC of the consumer project.
*
* <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 VMware Engine 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 DnsBindPermission extends com.google.api.client.json.GenericJson {

/**
* Required. Output only. The name of the resource which stores the users/service accounts having
* the permission to bind to the corresponding intranet VPC of the consumer project.
* DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-
* project/locations/global/dnsBindPermission`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Output only. Users/Service accounts which have access for binding on the intranet VPC project
* corresponding to the consumer project.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<Principal> principals;

/**
* Required. Output only. The name of the resource which stores the users/service accounts having
* the permission to bind to the corresponding intranet VPC of the consumer project.
* DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-
* project/locations/global/dnsBindPermission`
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Required. Output only. The name of the resource which stores the users/service accounts having
* the permission to bind to the corresponding intranet VPC of the consumer project.
* DnsBindPermission is a global resource. Resource names are schemeless URIs that follow the
* conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-
* project/locations/global/dnsBindPermission`
* @param name name or {@code null} for none
*/
public DnsBindPermission setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Output only. Users/Service accounts which have access for binding on the intranet VPC project
* corresponding to the consumer project.
* @return value or {@code null} for none
*/
public java.util.List<Principal> getPrincipals() {
return principals;
}

/**
* Output only. Users/Service accounts which have access for binding on the intranet VPC project
* corresponding to the consumer project.
* @param principals principals or {@code null} for none
*/
public DnsBindPermission setPrincipals(java.util.List<Principal> principals) {
this.principals = principals;
return this;
}

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

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

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

/**
* DNS forwarding config. This config defines a list of domain to name server mappings, and is
* attached to the private cloud for custom domain resolution.
*
* <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 VMware Engine 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 DnsForwarding extends com.google.api.client.json.GenericJson {

/**
* Output only. Creation time of this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;

/**
* Required. List of domain mappings to configure
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<ForwardingRule> forwardingRules;

/**
* Output only. The resource name of this DNS profile. Resource names are schemeless URIs that
* follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Output only. Last update time of this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String updateTime;

/**
* Output only. Creation time of this resource.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}

/**
* Output only. Creation time of this resource.
* @param createTime createTime or {@code null} for none
*/
public DnsForwarding setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}

/**
* Required. List of domain mappings to configure
* @return value or {@code null} for none
*/
public java.util.List<ForwardingRule> getForwardingRules() {
return forwardingRules;
}

/**
* Required. List of domain mappings to configure
* @param forwardingRules forwardingRules or {@code null} for none
*/
public DnsForwarding setForwardingRules(java.util.List<ForwardingRule> forwardingRules) {
this.forwardingRules = forwardingRules;
return this;
}

/**
* Output only. The resource name of this DNS profile. Resource names are schemeless URIs that
* follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Output only. The resource name of this DNS profile. Resource names are schemeless URIs that
* follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
* `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`
* @param name name or {@code null} for none
*/
public DnsForwarding setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Output only. Last update time of this resource.
* @return value or {@code null} for none
*/
public String getUpdateTime() {
return updateTime;
}

/**
* Output only. Last update time of this resource.
* @param updateTime updateTime or {@code null} for none
*/
public DnsForwarding setUpdateTime(String updateTime) {
this.updateTime = updateTime;
return this;
}

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

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

}
Loading

0 comments on commit 1f0ca5d

Please sign in to comment.