From 14342b4e4c7208f5fa601672131aaa2b74839fc2 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Wed, 13 Sep 2023 18:18:13 -0700
Subject: [PATCH] chore: regenerate connectors client (#18100)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
---
.../v1/2.0.0/README.md | 4 +-
.../connectors/v1/model/Connection.java | 24 ++
.../v1/model/ConnectorInfraConfig.java | 24 ++
.../v1/model/ConnectorVersionInfraConfig.java | 24 ++
.../connectors/v1/model/EventingConfig.java | 54 ++-
.../services/connectors/v1/model/Field.java | 24 ++
.../connectors/v1/model/InputParameter.java | 24 ++
.../connectors/v1/model/JsonSchema.java | 267 ++++++++++++++
.../connectors/v1/model/ResultMetadata.java | 24 ++
.../v1/model/RuntimeActionSchema.java | 48 +++
.../v1/model/RuntimeEntitySchema.java | 24 ++
.../v1/2.0.0/pom.xml | 4 +-
.../v2/2.0.0/README.md | 4 +-
.../services/connectors/v2/Connectors.java | 326 ++++++++++++++++++
.../services/connectors/v2/model/Action.java | 48 +++
.../connectors/v2/model/EntityType.java | 24 ++
.../services/connectors/v2/model/Field.java | 24 ++
.../connectors/v2/model/InputParameter.java | 24 ++
.../connectors/v2/model/JsonSchema.java | 294 ++++++++++++++++
.../connectors/v2/model/ResultMetadata.java | 24 ++
.../v2/2.0.0/pom.xml | 4 +-
21 files changed, 1306 insertions(+), 11 deletions(-)
create mode 100644 clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/JsonSchema.java
create mode 100644 clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/JsonSchema.java
diff --git a/clients/google-api-services-connectors/v1/2.0.0/README.md b/clients/google-api-services-connectors/v1/2.0.0/README.md
index 303a4470ccd..63e8365947c 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/README.md
+++ b/clients/google-api-services-connectors/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-connectors
- v1-rev20230812-2.0.0
+ v1-rev20230906-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-connectors:v1-rev20230812-2.0.0'
+ implementation 'com.google.apis:google-api-services-connectors:v1-rev20230906-2.0.0'
}
```
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Connection.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Connection.java
index e36bc1d40d7..1a687e4441c 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Connection.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Connection.java
@@ -140,6 +140,13 @@ public final class Connection extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String imageLocation;
+ /**
+ * Output only. Is trusted tester program enabled for the project.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean isTrustedTester;
+
/**
* Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on
* labels for more details. https://cloud.google.com/compute/docs/labeling-resources
@@ -480,6 +487,23 @@ public Connection setImageLocation(java.lang.String imageLocation) {
return this;
}
+ /**
+ * Output only. Is trusted tester program enabled for the project.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getIsTrustedTester() {
+ return isTrustedTester;
+ }
+
+ /**
+ * Output only. Is trusted tester program enabled for the project.
+ * @param isTrustedTester isTrustedTester or {@code null} for none
+ */
+ public Connection setIsTrustedTester(java.lang.Boolean isTrustedTester) {
+ this.isTrustedTester = isTrustedTester;
+ return this;
+ }
+
/**
* Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on
* labels for more details. https://cloud.google.com/compute/docs/labeling-resources
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorInfraConfig.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorInfraConfig.java
index f7062cd996d..dac7a8eafa7 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorInfraConfig.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorInfraConfig.java
@@ -65,6 +65,13 @@ public final class ConnectorInfraConfig extends com.google.api.client.json.Gener
@com.google.api.client.util.Key
private ResourceRequests resourceRequests;
+ /**
+ * The name of shared connector deployment.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String sharedDeployment;
+
/**
* HPA autoscaling config.
* @return value or {@code null} for none
@@ -150,6 +157,23 @@ public ConnectorInfraConfig setResourceRequests(ResourceRequests resourceRequest
return this;
}
+ /**
+ * The name of shared connector deployment.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSharedDeployment() {
+ return sharedDeployment;
+ }
+
+ /**
+ * The name of shared connector deployment.
+ * @param sharedDeployment sharedDeployment or {@code null} for none
+ */
+ public ConnectorInfraConfig setSharedDeployment(java.lang.String sharedDeployment) {
+ this.sharedDeployment = sharedDeployment;
+ return this;
+ }
+
@Override
public ConnectorInfraConfig set(String fieldName, Object value) {
return (ConnectorInfraConfig) super.set(fieldName, value);
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorVersionInfraConfig.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorVersionInfraConfig.java
index 4d5d8566b05..b9065199141 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorVersionInfraConfig.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ConnectorVersionInfraConfig.java
@@ -65,6 +65,13 @@ public final class ConnectorVersionInfraConfig extends com.google.api.client.jso
@com.google.api.client.util.Key
private ResourceRequests resourceRequests;
+ /**
+ * Output only. The name of shared connector deployment.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String sharedDeployment;
+
/**
* Output only. HPA autoscaling config.
* @return value or {@code null} for none
@@ -150,6 +157,23 @@ public ConnectorVersionInfraConfig setResourceRequests(ResourceRequests resource
return this;
}
+ /**
+ * Output only. The name of shared connector deployment.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSharedDeployment() {
+ return sharedDeployment;
+ }
+
+ /**
+ * Output only. The name of shared connector deployment.
+ * @param sharedDeployment sharedDeployment or {@code null} for none
+ */
+ public ConnectorVersionInfraConfig setSharedDeployment(java.lang.String sharedDeployment) {
+ this.sharedDeployment = sharedDeployment;
+ return this;
+ }
+
@Override
public ConnectorVersionInfraConfig set(String fieldName, Object value) {
return (ConnectorVersionInfraConfig) super.set(fieldName, value);
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/EventingConfig.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/EventingConfig.java
index 07e465ffd5b..03c855da6e2 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/EventingConfig.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/EventingConfig.java
@@ -64,7 +64,21 @@ public final class EventingConfig extends com.google.api.client.json.GenericJson
private java.lang.Boolean enrichmentEnabled;
/**
- * Registration endpoint for auto regsitration.
+ * Optional. Private Connectivity Enabled.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean privateConnectivityEnabled;
+
+ /**
+ * Optional. Public Events listener endpoint.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String publicEventsListenerEndpoint;
+
+ /**
+ * Registration endpoint for auto registration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -139,7 +153,41 @@ public EventingConfig setEnrichmentEnabled(java.lang.Boolean enrichmentEnabled)
}
/**
- * Registration endpoint for auto regsitration.
+ * Optional. Private Connectivity Enabled.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getPrivateConnectivityEnabled() {
+ return privateConnectivityEnabled;
+ }
+
+ /**
+ * Optional. Private Connectivity Enabled.
+ * @param privateConnectivityEnabled privateConnectivityEnabled or {@code null} for none
+ */
+ public EventingConfig setPrivateConnectivityEnabled(java.lang.Boolean privateConnectivityEnabled) {
+ this.privateConnectivityEnabled = privateConnectivityEnabled;
+ return this;
+ }
+
+ /**
+ * Optional. Public Events listener endpoint.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getPublicEventsListenerEndpoint() {
+ return publicEventsListenerEndpoint;
+ }
+
+ /**
+ * Optional. Public Events listener endpoint.
+ * @param publicEventsListenerEndpoint publicEventsListenerEndpoint or {@code null} for none
+ */
+ public EventingConfig setPublicEventsListenerEndpoint(java.lang.String publicEventsListenerEndpoint) {
+ this.publicEventsListenerEndpoint = publicEventsListenerEndpoint;
+ return this;
+ }
+
+ /**
+ * Registration endpoint for auto registration.
* @return value or {@code null} for none
*/
public DestinationConfig getRegistrationDestinationConfig() {
@@ -147,7 +195,7 @@ public DestinationConfig getRegistrationDestinationConfig() {
}
/**
- * Registration endpoint for auto regsitration.
+ * Registration endpoint for auto registration.
* @param registrationDestinationConfig registrationDestinationConfig or {@code null} for none
*/
public EventingConfig setRegistrationDestinationConfig(DestinationConfig registrationDestinationConfig) {
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Field.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Field.java
index 8f25a7030ba..3e206878db3 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Field.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/Field.java
@@ -66,6 +66,13 @@ public final class Field extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String field;
+ /**
+ * JsonSchema representation of this entity's schema
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* The following boolean field specifies if the current Field acts as a primary key or id if the
* parent is of type entity.
@@ -177,6 +184,23 @@ public Field setField(java.lang.String field) {
return this;
}
+ /**
+ * JsonSchema representation of this entity's schema
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * JsonSchema representation of this entity's schema
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public Field setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
/**
* The following boolean field specifies if the current Field acts as a primary key or id if the
* parent is of type entity.
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/InputParameter.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/InputParameter.java
index e08a9f856ae..7687ca258bc 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/InputParameter.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/InputParameter.java
@@ -51,6 +51,13 @@ public final class InputParameter extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String description;
+ /**
+ * JsonSchema representation of this action's parameter
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* Specifies whether a null value is allowed.
* The value may be {@code null}.
@@ -118,6 +125,23 @@ public InputParameter setDescription(java.lang.String description) {
return this;
}
+ /**
+ * JsonSchema representation of this action's parameter
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * JsonSchema representation of this action's parameter
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public InputParameter setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
/**
* Specifies whether a null value is allowed.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/JsonSchema.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/JsonSchema.java
new file mode 100644
index 00000000000..ad5a62d11e4
--- /dev/null
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/JsonSchema.java
@@ -0,0 +1,267 @@
+/*
+ * 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.connectors.v1.model;
+
+/**
+ * JsonSchema representation of schema metadata
+ *
+ *
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 Connectors 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 JsonSchema extends com.google.api.client.json.GenericJson {
+
+ /**
+ * The default value of the field or object described by this schema.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key("default")
+ private java.lang.Object default__;
+
+ /**
+ * A description of this schema.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String description;
+
+ /**
+ * Possible values for an enumeration. This works in conjunction with `type` to represent types
+ * with a fixed set of legal values
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key("enum")
+ private java.util.List enum__;
+
+ /**
+ * Format of the value as per https://json-schema.org/understanding-json-
+ * schema/reference/string.html#format
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String format;
+
+ /**
+ * Schema that applies to array values, applicable only if this is of type `array`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema items;
+
+ /**
+ * JDBC datatype of the field.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String jdbcType;
+
+ /**
+ * The child schemas, applicable only if this is of type `object`. The key is the name of the
+ * property and the value is the json schema that describes that property
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.Map properties;
+
+ /**
+ * Whether this property is required.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List required;
+
+ /**
+ * JSON Schema Validation: A Vocabulary for Structural Validation of JSON
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List type;
+
+ /**
+ * The default value of the field or object described by this schema.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Object getDefault() {
+ return default__;
+ }
+
+ /**
+ * The default value of the field or object described by this schema.
+ * @param default__ default__ or {@code null} for none
+ */
+ public JsonSchema setDefault(java.lang.Object default__) {
+ this.default__ = default__;
+ return this;
+ }
+
+ /**
+ * A description of this schema.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getDescription() {
+ return description;
+ }
+
+ /**
+ * A description of this schema.
+ * @param description description or {@code null} for none
+ */
+ public JsonSchema setDescription(java.lang.String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Possible values for an enumeration. This works in conjunction with `type` to represent types
+ * with a fixed set of legal values
+ * @return value or {@code null} for none
+ */
+ public java.util.List getEnum() {
+ return enum__;
+ }
+
+ /**
+ * Possible values for an enumeration. This works in conjunction with `type` to represent types
+ * with a fixed set of legal values
+ * @param enum__ enum__ or {@code null} for none
+ */
+ public JsonSchema setEnum(java.util.List enum__) {
+ this.enum__ = enum__;
+ return this;
+ }
+
+ /**
+ * Format of the value as per https://json-schema.org/understanding-json-
+ * schema/reference/string.html#format
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getFormat() {
+ return format;
+ }
+
+ /**
+ * Format of the value as per https://json-schema.org/understanding-json-
+ * schema/reference/string.html#format
+ * @param format format or {@code null} for none
+ */
+ public JsonSchema setFormat(java.lang.String format) {
+ this.format = format;
+ return this;
+ }
+
+ /**
+ * Schema that applies to array values, applicable only if this is of type `array`.
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getItems() {
+ return items;
+ }
+
+ /**
+ * Schema that applies to array values, applicable only if this is of type `array`.
+ * @param items items or {@code null} for none
+ */
+ public JsonSchema setItems(JsonSchema items) {
+ this.items = items;
+ return this;
+ }
+
+ /**
+ * JDBC datatype of the field.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getJdbcType() {
+ return jdbcType;
+ }
+
+ /**
+ * JDBC datatype of the field.
+ * @param jdbcType jdbcType or {@code null} for none
+ */
+ public JsonSchema setJdbcType(java.lang.String jdbcType) {
+ this.jdbcType = jdbcType;
+ return this;
+ }
+
+ /**
+ * The child schemas, applicable only if this is of type `object`. The key is the name of the
+ * property and the value is the json schema that describes that property
+ * @return value or {@code null} for none
+ */
+ public java.util.Map getProperties() {
+ return properties;
+ }
+
+ /**
+ * The child schemas, applicable only if this is of type `object`. The key is the name of the
+ * property and the value is the json schema that describes that property
+ * @param properties properties or {@code null} for none
+ */
+ public JsonSchema setProperties(java.util.Map properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Whether this property is required.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getRequired() {
+ return required;
+ }
+
+ /**
+ * Whether this property is required.
+ * @param required required or {@code null} for none
+ */
+ public JsonSchema setRequired(java.util.List required) {
+ this.required = required;
+ return this;
+ }
+
+ /**
+ * JSON Schema Validation: A Vocabulary for Structural Validation of JSON
+ * @return value or {@code null} for none
+ */
+ public java.util.List getType() {
+ return type;
+ }
+
+ /**
+ * JSON Schema Validation: A Vocabulary for Structural Validation of JSON
+ * @param type type or {@code null} for none
+ */
+ public JsonSchema setType(java.util.List type) {
+ this.type = type;
+ return this;
+ }
+
+ @Override
+ public JsonSchema set(String fieldName, Object value) {
+ return (JsonSchema) super.set(fieldName, value);
+ }
+
+ @Override
+ public JsonSchema clone() {
+ return (JsonSchema) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ResultMetadata.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ResultMetadata.java
index 5a0b8da0da6..cb0077b7dc9 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ResultMetadata.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/ResultMetadata.java
@@ -50,6 +50,13 @@ public final class ResultMetadata extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String field;
+ /**
+ * JsonSchema representation of this action's result
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* The data type of the field.
* @return value or {@code null} for none
@@ -101,6 +108,23 @@ public ResultMetadata setField(java.lang.String field) {
return this;
}
+ /**
+ * JsonSchema representation of this action's result
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * JsonSchema representation of this action's result
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public ResultMetadata setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
@Override
public ResultMetadata set(String fieldName, Object value) {
return (ResultMetadata) super.set(fieldName, value);
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeActionSchema.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeActionSchema.java
index c6327fcaddb..29b01dd63f8 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeActionSchema.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeActionSchema.java
@@ -36,6 +36,13 @@ public final class RuntimeActionSchema extends com.google.api.client.json.Generi
@com.google.api.client.util.Key
private java.lang.String action;
+ /**
+ * Output only. JsonSchema representation of this action's input metadata
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema inputJsonSchema;
+
/**
* Output only. List of input parameter metadata for the action.
* The value may be {@code null}.
@@ -49,6 +56,13 @@ public final class RuntimeActionSchema extends com.google.api.client.json.Generi
com.google.api.client.util.Data.nullOf(InputParameter.class);
}
+ /**
+ * Output only. JsonSchema representation of this action's result metadata
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema resultJsonSchema;
+
/**
* Output only. List of result field metadata.
* The value may be {@code null}.
@@ -79,6 +93,23 @@ public RuntimeActionSchema setAction(java.lang.String action) {
return this;
}
+ /**
+ * Output only. JsonSchema representation of this action's input metadata
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getInputJsonSchema() {
+ return inputJsonSchema;
+ }
+
+ /**
+ * Output only. JsonSchema representation of this action's input metadata
+ * @param inputJsonSchema inputJsonSchema or {@code null} for none
+ */
+ public RuntimeActionSchema setInputJsonSchema(JsonSchema inputJsonSchema) {
+ this.inputJsonSchema = inputJsonSchema;
+ return this;
+ }
+
/**
* Output only. List of input parameter metadata for the action.
* @return value or {@code null} for none
@@ -96,6 +127,23 @@ public RuntimeActionSchema setInputParameters(java.util.List inp
return this;
}
+ /**
+ * Output only. JsonSchema representation of this action's result metadata
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getResultJsonSchema() {
+ return resultJsonSchema;
+ }
+
+ /**
+ * Output only. JsonSchema representation of this action's result metadata
+ * @param resultJsonSchema resultJsonSchema or {@code null} for none
+ */
+ public RuntimeActionSchema setResultJsonSchema(JsonSchema resultJsonSchema) {
+ this.resultJsonSchema = resultJsonSchema;
+ return this;
+ }
+
/**
* Output only. List of result field metadata.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeEntitySchema.java b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeEntitySchema.java
index b59b53440e3..4a3a3b5d9b1 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeEntitySchema.java
+++ b/clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/RuntimeEntitySchema.java
@@ -49,6 +49,13 @@ public final class RuntimeEntitySchema extends com.google.api.client.json.Generi
com.google.api.client.util.Data.nullOf(Field.class);
}
+ /**
+ * Output only. JsonSchema representation of this entity's metadata
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* Output only. Name of the entity.
* @return value or {@code null} for none
@@ -83,6 +90,23 @@ public RuntimeEntitySchema setFields(java.util.List fields) {
return this;
}
+ /**
+ * Output only. JsonSchema representation of this entity's metadata
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * Output only. JsonSchema representation of this entity's metadata
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public RuntimeEntitySchema setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
@Override
public RuntimeEntitySchema set(String fieldName, Object value) {
return (RuntimeEntitySchema) super.set(fieldName, value);
diff --git a/clients/google-api-services-connectors/v1/2.0.0/pom.xml b/clients/google-api-services-connectors/v1/2.0.0/pom.xml
index b6dd70a330d..5af83793471 100644
--- a/clients/google-api-services-connectors/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-connectors/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-connectors
- v1-rev20230812-2.0.0
- Connectors API v1-rev20230812-2.0.0
+ v1-rev20230906-2.0.0
+ Connectors API v1-rev20230906-2.0.0
jar
2011
diff --git a/clients/google-api-services-connectors/v2/2.0.0/README.md b/clients/google-api-services-connectors/v2/2.0.0/README.md
index 47508f6dfb5..3ed0aaccec0 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/README.md
+++ b/clients/google-api-services-connectors/v2/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-connectors
- v2-rev20230812-2.0.0
+ v2-rev20230906-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-connectors:v2-rev20230812-2.0.0'
+ implementation 'com.google.apis:google-api-services-connectors:v2-rev20230906-2.0.0'
}
```
diff --git a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/Connectors.java b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/Connectors.java
index aa6c096ba5d..ac9c3902756 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/Connectors.java
+++ b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/Connectors.java
@@ -500,6 +500,153 @@ public Execute set(String parameterName, Object value) {
return (Execute) super.set(parameterName, value);
}
}
+ /**
+ * Gets the schema of the given action.
+ *
+ * Create a request for the method "actions.get".
+ *
+ * This request holds the parameters needed by the connectors server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Resource name of the Action. Format:
+ * projects/{project}/locations/{location}/connections/{connection}/actions/{action}
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends ConnectorsRequest {
+
+ private static final String REST_PATH = "v2/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/connections/[^/]+/actions/[^/]+$");
+
+ /**
+ * Gets the schema of the given action.
+ *
+ * Create a request for the method "actions.get".
+ *
+ * This request holds the parameters needed by the the connectors server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Resource name of the Action. Format:
+ * projects/{project}/locations/{location}/connections/{connection}/actions/{action}
+ * @since 1.13
+ */
+ protected Get(java.lang.String name) {
+ super(Connectors.this, "GET", REST_PATH, null, com.google.api.services.connectors.v2.model.Action.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/connections/[^/]+/actions/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
+
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
+
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
+
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
+
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. Resource name of the Action. Format:
+ * projects/{project}/locations/{location}/connections/{connection}/actions/{action}
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. Resource name of the Action. Format:
+ projects/{project}/locations/{location}/connections/{connection}/actions/{action}
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Required. Resource name of the Action. Format:
+ * projects/{project}/locations/{location}/connections/{connection}/actions/{action}
+ */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/connections/[^/]+/actions/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
/**
* Gets the schema of all the actions supported by the connector.
*
@@ -681,6 +828,22 @@ public List setPageToken(java.lang.String pageToken) {
return this;
}
+ /** Specifies which fields of the Action are returned in the response. */
+ @com.google.api.client.util.Key
+ private java.lang.String view;
+
+ /** Specifies which fields of the Action are returned in the response.
+ */
+ public java.lang.String getView() {
+ return view;
+ }
+
+ /** Specifies which fields of the Action are returned in the response. */
+ public List setView(java.lang.String view) {
+ this.view = view;
+ return this;
+ }
+
@Override
public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
@@ -708,6 +871,153 @@ public EntityTypes entityTypes() {
*/
public class EntityTypes {
+ /**
+ * Gets metadata of given entity type
+ *
+ * Create a request for the method "entityTypes.get".
+ *
+ * This request holds the parameters needed by the connectors server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Resource name of the Entity Type. Format:
+ * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{entityType}
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends ConnectorsRequest {
+
+ private static final String REST_PATH = "v2/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$");
+
+ /**
+ * Gets metadata of given entity type
+ *
+ * Create a request for the method "entityTypes.get".
+ *
+ * This request holds the parameters needed by the the connectors server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Resource name of the Entity Type. Format:
+ * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{entityType}
+ * @since 1.13
+ */
+ protected Get(java.lang.String name) {
+ super(Connectors.this, "GET", REST_PATH, null, com.google.api.services.connectors.v2.model.EntityType.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
+
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
+
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
+
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
+
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. Resource name of the Entity Type. Format: projects/{project}/locations/{loc
+ * ation}/connections/{connection}/entityTypes/{entityType}
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. Resource name of the Entity Type. Format:
+ projects/{project}/locations/{location}/connections/{connection}/entityTypes/{entityType}
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Required. Resource name of the Entity Type. Format: projects/{project}/locations/{loc
+ * ation}/connections/{connection}/entityTypes/{entityType}
+ */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
/**
* Lists metadata related to all entity types present in the external system.
*
@@ -891,6 +1201,22 @@ public List setPageToken(java.lang.String pageToken) {
return this;
}
+ /** Specifies which fields of the Entity Type are returned in the response. */
+ @com.google.api.client.util.Key
+ private java.lang.String view;
+
+ /** Specifies which fields of the Entity Type are returned in the response.
+ */
+ public java.lang.String getView() {
+ return view;
+ }
+
+ /** Specifies which fields of the Entity Type are returned in the response. */
+ public List setView(java.lang.String view) {
+ this.view = view;
+ return this;
+ }
+
@Override
public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
diff --git a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Action.java b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Action.java
index e82d30f9c4b..67191e8ef17 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Action.java
+++ b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Action.java
@@ -30,6 +30,13 @@
@SuppressWarnings("javadoc")
public final class Action extends com.google.api.client.json.GenericJson {
+ /**
+ * JsonSchema representation of this actions's input schema
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema inputJsonSchema;
+
/**
* List containing input parameter metadata.
* The value may be {@code null}.
@@ -44,6 +51,13 @@ public final class Action extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String name;
+ /**
+ * JsonSchema representation of this actions's result schema
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema resultJsonSchema;
+
/**
* List containing the metadata of result fields.
* The value may be {@code null}.
@@ -51,6 +65,23 @@ public final class Action extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List resultMetadata;
+ /**
+ * JsonSchema representation of this actions's input schema
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getInputJsonSchema() {
+ return inputJsonSchema;
+ }
+
+ /**
+ * JsonSchema representation of this actions's input schema
+ * @param inputJsonSchema inputJsonSchema or {@code null} for none
+ */
+ public Action setInputJsonSchema(JsonSchema inputJsonSchema) {
+ this.inputJsonSchema = inputJsonSchema;
+ return this;
+ }
+
/**
* List containing input parameter metadata.
* @return value or {@code null} for none
@@ -85,6 +116,23 @@ public Action setName(java.lang.String name) {
return this;
}
+ /**
+ * JsonSchema representation of this actions's result schema
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getResultJsonSchema() {
+ return resultJsonSchema;
+ }
+
+ /**
+ * JsonSchema representation of this actions's result schema
+ * @param resultJsonSchema resultJsonSchema or {@code null} for none
+ */
+ public Action setResultJsonSchema(JsonSchema resultJsonSchema) {
+ this.resultJsonSchema = resultJsonSchema;
+ return this;
+ }
+
/**
* List containing the metadata of result fields.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/EntityType.java b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/EntityType.java
index b595806199d..1a5bb04e633 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/EntityType.java
+++ b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/EntityType.java
@@ -37,6 +37,13 @@ public final class EntityType extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List fields;
+ /**
+ * JsonSchema representation of this entity's schema
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* The name of the entity type.
* The value may be {@code null}.
@@ -61,6 +68,23 @@ public EntityType setFields(java.util.List fields) {
return this;
}
+ /**
+ * JsonSchema representation of this entity's schema
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * JsonSchema representation of this entity's schema
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public EntityType setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
/**
* The name of the entity type.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Field.java b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Field.java
index 7d047e4db35..5f713f67bc7 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Field.java
+++ b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/Field.java
@@ -59,6 +59,13 @@ public final class Field extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String description;
+ /**
+ * JsonSchema of the field, applicable only if field is of type `STRUCT`
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* The following boolean field specifies if the current Field acts as a primary key or id if the
* parent is of type entity.
@@ -161,6 +168,23 @@ public Field setDescription(java.lang.String description) {
return this;
}
+ /**
+ * JsonSchema of the field, applicable only if field is of type `STRUCT`
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * JsonSchema of the field, applicable only if field is of type `STRUCT`
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public Field setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
/**
* The following boolean field specifies if the current Field acts as a primary key or id if the
* parent is of type entity.
diff --git a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/InputParameter.java b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/InputParameter.java
index 673d7d492af..df9784f311d 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/InputParameter.java
+++ b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/InputParameter.java
@@ -51,6 +51,13 @@ public final class InputParameter extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String description;
+ /**
+ * JsonSchema of the parameter, applicable only if parameter is of type `STRUCT`
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* Name of the Parameter.
* The value may be {@code null}.
@@ -118,6 +125,23 @@ public InputParameter setDescription(java.lang.String description) {
return this;
}
+ /**
+ * JsonSchema of the parameter, applicable only if parameter is of type `STRUCT`
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * JsonSchema of the parameter, applicable only if parameter is of type `STRUCT`
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public InputParameter setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
/**
* Name of the Parameter.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/JsonSchema.java b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/JsonSchema.java
new file mode 100644
index 00000000000..6c5afd8c4da
--- /dev/null
+++ b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/JsonSchema.java
@@ -0,0 +1,294 @@
+/*
+ * 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.connectors.v2.model;
+
+/**
+ * JsonSchema representation of schema metadata
+ *
+ * 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 Connectors 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 JsonSchema extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Additional details apart from standard json schema fields, this gives flexibility to store
+ * metadata about the schema
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.Map additionalDetails;
+
+ /**
+ * The default value of the field or object described by this schema.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key("default")
+ private java.lang.Object default__;
+
+ /**
+ * A description of this schema.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String description;
+
+ /**
+ * Possible values for an enumeration. This works in conjunction with `type` to represent types
+ * with a fixed set of legal values
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key("enum")
+ private java.util.List enum__;
+
+ /**
+ * Format of the value as per https://json-schema.org/understanding-json-
+ * schema/reference/string.html#format
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String format;
+
+ /**
+ * Schema that applies to array values, applicable only if this is of type `array`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema items;
+
+ /**
+ * JDBC datatype of the field.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String jdbcType;
+
+ /**
+ * The child schemas, applicable only if this is of type `object`. The key is the name of the
+ * property and the value is the json schema that describes that property
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.Map properties;
+
+ /**
+ * Whether this property is required.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List required;
+
+ /**
+ * JSON Schema Validation: A Vocabulary for Structural Validation of JSON
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List type;
+
+ /**
+ * Additional details apart from standard json schema fields, this gives flexibility to store
+ * metadata about the schema
+ * @return value or {@code null} for none
+ */
+ public java.util.Map getAdditionalDetails() {
+ return additionalDetails;
+ }
+
+ /**
+ * Additional details apart from standard json schema fields, this gives flexibility to store
+ * metadata about the schema
+ * @param additionalDetails additionalDetails or {@code null} for none
+ */
+ public JsonSchema setAdditionalDetails(java.util.Map additionalDetails) {
+ this.additionalDetails = additionalDetails;
+ return this;
+ }
+
+ /**
+ * The default value of the field or object described by this schema.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Object getDefault() {
+ return default__;
+ }
+
+ /**
+ * The default value of the field or object described by this schema.
+ * @param default__ default__ or {@code null} for none
+ */
+ public JsonSchema setDefault(java.lang.Object default__) {
+ this.default__ = default__;
+ return this;
+ }
+
+ /**
+ * A description of this schema.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getDescription() {
+ return description;
+ }
+
+ /**
+ * A description of this schema.
+ * @param description description or {@code null} for none
+ */
+ public JsonSchema setDescription(java.lang.String description) {
+ this.description = description;
+ return this;
+ }
+
+ /**
+ * Possible values for an enumeration. This works in conjunction with `type` to represent types
+ * with a fixed set of legal values
+ * @return value or {@code null} for none
+ */
+ public java.util.List getEnum() {
+ return enum__;
+ }
+
+ /**
+ * Possible values for an enumeration. This works in conjunction with `type` to represent types
+ * with a fixed set of legal values
+ * @param enum__ enum__ or {@code null} for none
+ */
+ public JsonSchema setEnum(java.util.List enum__) {
+ this.enum__ = enum__;
+ return this;
+ }
+
+ /**
+ * Format of the value as per https://json-schema.org/understanding-json-
+ * schema/reference/string.html#format
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getFormat() {
+ return format;
+ }
+
+ /**
+ * Format of the value as per https://json-schema.org/understanding-json-
+ * schema/reference/string.html#format
+ * @param format format or {@code null} for none
+ */
+ public JsonSchema setFormat(java.lang.String format) {
+ this.format = format;
+ return this;
+ }
+
+ /**
+ * Schema that applies to array values, applicable only if this is of type `array`.
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getItems() {
+ return items;
+ }
+
+ /**
+ * Schema that applies to array values, applicable only if this is of type `array`.
+ * @param items items or {@code null} for none
+ */
+ public JsonSchema setItems(JsonSchema items) {
+ this.items = items;
+ return this;
+ }
+
+ /**
+ * JDBC datatype of the field.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getJdbcType() {
+ return jdbcType;
+ }
+
+ /**
+ * JDBC datatype of the field.
+ * @param jdbcType jdbcType or {@code null} for none
+ */
+ public JsonSchema setJdbcType(java.lang.String jdbcType) {
+ this.jdbcType = jdbcType;
+ return this;
+ }
+
+ /**
+ * The child schemas, applicable only if this is of type `object`. The key is the name of the
+ * property and the value is the json schema that describes that property
+ * @return value or {@code null} for none
+ */
+ public java.util.Map getProperties() {
+ return properties;
+ }
+
+ /**
+ * The child schemas, applicable only if this is of type `object`. The key is the name of the
+ * property and the value is the json schema that describes that property
+ * @param properties properties or {@code null} for none
+ */
+ public JsonSchema setProperties(java.util.Map properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Whether this property is required.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getRequired() {
+ return required;
+ }
+
+ /**
+ * Whether this property is required.
+ * @param required required or {@code null} for none
+ */
+ public JsonSchema setRequired(java.util.List required) {
+ this.required = required;
+ return this;
+ }
+
+ /**
+ * JSON Schema Validation: A Vocabulary for Structural Validation of JSON
+ * @return value or {@code null} for none
+ */
+ public java.util.List getType() {
+ return type;
+ }
+
+ /**
+ * JSON Schema Validation: A Vocabulary for Structural Validation of JSON
+ * @param type type or {@code null} for none
+ */
+ public JsonSchema setType(java.util.List type) {
+ this.type = type;
+ return this;
+ }
+
+ @Override
+ public JsonSchema set(String fieldName, Object value) {
+ return (JsonSchema) super.set(fieldName, value);
+ }
+
+ @Override
+ public JsonSchema clone() {
+ return (JsonSchema) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/ResultMetadata.java b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/ResultMetadata.java
index 4af7a317f14..73dd94de7ad 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/ResultMetadata.java
+++ b/clients/google-api-services-connectors/v2/2.0.0/com/google/api/services/connectors/v2/model/ResultMetadata.java
@@ -43,6 +43,13 @@ public final class ResultMetadata extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String description;
+ /**
+ * JsonSchema of the result, applicable only if parameter is of type `STRUCT`
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private JsonSchema jsonSchema;
+
/**
* Name of the metadata field.
* The value may be {@code null}.
@@ -84,6 +91,23 @@ public ResultMetadata setDescription(java.lang.String description) {
return this;
}
+ /**
+ * JsonSchema of the result, applicable only if parameter is of type `STRUCT`
+ * @return value or {@code null} for none
+ */
+ public JsonSchema getJsonSchema() {
+ return jsonSchema;
+ }
+
+ /**
+ * JsonSchema of the result, applicable only if parameter is of type `STRUCT`
+ * @param jsonSchema jsonSchema or {@code null} for none
+ */
+ public ResultMetadata setJsonSchema(JsonSchema jsonSchema) {
+ this.jsonSchema = jsonSchema;
+ return this;
+ }
+
/**
* Name of the metadata field.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-connectors/v2/2.0.0/pom.xml b/clients/google-api-services-connectors/v2/2.0.0/pom.xml
index 49a326205d6..9615275fef7 100644
--- a/clients/google-api-services-connectors/v2/2.0.0/pom.xml
+++ b/clients/google-api-services-connectors/v2/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-connectors
- v2-rev20230812-2.0.0
- Connectors API v2-rev20230812-2.0.0
+ v2-rev20230906-2.0.0
+ Connectors API v2-rev20230906-2.0.0
jar
2011