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 java-recaptchaenterprise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.23.0</version>
<version>26.24.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recaptchaenterprise.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.21.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.24.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.google.cloud.recaptchaenterprise.v1;

import static com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceClient.ListFirewallPoliciesPagedResponse;
import static com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceClient.ListKeysPagedResponse;
import static com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse;
import static com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse;
Expand All @@ -38,11 +39,17 @@
import com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse;
import com.google.recaptchaenterprise.v1.Assessment;
import com.google.recaptchaenterprise.v1.CreateAssessmentRequest;
import com.google.recaptchaenterprise.v1.CreateFirewallPolicyRequest;
import com.google.recaptchaenterprise.v1.CreateKeyRequest;
import com.google.recaptchaenterprise.v1.DeleteFirewallPolicyRequest;
import com.google.recaptchaenterprise.v1.DeleteKeyRequest;
import com.google.recaptchaenterprise.v1.FirewallPolicy;
import com.google.recaptchaenterprise.v1.GetFirewallPolicyRequest;
import com.google.recaptchaenterprise.v1.GetKeyRequest;
import com.google.recaptchaenterprise.v1.GetMetricsRequest;
import com.google.recaptchaenterprise.v1.Key;
import com.google.recaptchaenterprise.v1.ListFirewallPoliciesRequest;
import com.google.recaptchaenterprise.v1.ListFirewallPoliciesResponse;
import com.google.recaptchaenterprise.v1.ListKeysRequest;
import com.google.recaptchaenterprise.v1.ListKeysResponse;
import com.google.recaptchaenterprise.v1.ListRelatedAccountGroupMembershipsRequest;
Expand All @@ -55,6 +62,7 @@
import com.google.recaptchaenterprise.v1.RetrieveLegacySecretKeyResponse;
import com.google.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest;
import com.google.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsResponse;
import com.google.recaptchaenterprise.v1.UpdateFirewallPolicyRequest;
import com.google.recaptchaenterprise.v1.UpdateKeyRequest;
import java.io.IOException;
import java.util.List;
Expand Down Expand Up @@ -158,6 +166,41 @@ public UnaryCallSettings<GetMetricsRequest, Metrics> getMetricsSettings() {
return ((RecaptchaEnterpriseServiceStubSettings) getStubSettings()).getMetricsSettings();
}

/** Returns the object with the settings used for calls to createFirewallPolicy. */
public UnaryCallSettings<CreateFirewallPolicyRequest, FirewallPolicy>
createFirewallPolicySettings() {
return ((RecaptchaEnterpriseServiceStubSettings) getStubSettings())
.createFirewallPolicySettings();
}

/** Returns the object with the settings used for calls to listFirewallPolicies. */
public PagedCallSettings<
ListFirewallPoliciesRequest,
ListFirewallPoliciesResponse,
ListFirewallPoliciesPagedResponse>
listFirewallPoliciesSettings() {
return ((RecaptchaEnterpriseServiceStubSettings) getStubSettings())
.listFirewallPoliciesSettings();
}

/** Returns the object with the settings used for calls to getFirewallPolicy. */
public UnaryCallSettings<GetFirewallPolicyRequest, FirewallPolicy> getFirewallPolicySettings() {
return ((RecaptchaEnterpriseServiceStubSettings) getStubSettings()).getFirewallPolicySettings();
}

/** Returns the object with the settings used for calls to updateFirewallPolicy. */
public UnaryCallSettings<UpdateFirewallPolicyRequest, FirewallPolicy>
updateFirewallPolicySettings() {
return ((RecaptchaEnterpriseServiceStubSettings) getStubSettings())
.updateFirewallPolicySettings();
}

/** Returns the object with the settings used for calls to deleteFirewallPolicy. */
public UnaryCallSettings<DeleteFirewallPolicyRequest, Empty> deleteFirewallPolicySettings() {
return ((RecaptchaEnterpriseServiceStubSettings) getStubSettings())
.deleteFirewallPolicySettings();
}

/** Returns the object with the settings used for calls to listRelatedAccountGroups. */
public PagedCallSettings<
ListRelatedAccountGroupsRequest,
Expand Down Expand Up @@ -343,6 +386,39 @@ public UnaryCallSettings.Builder<GetMetricsRequest, Metrics> getMetricsSettings(
return getStubSettingsBuilder().getMetricsSettings();
}

/** Returns the builder for the settings used for calls to createFirewallPolicy. */
public UnaryCallSettings.Builder<CreateFirewallPolicyRequest, FirewallPolicy>
createFirewallPolicySettings() {
return getStubSettingsBuilder().createFirewallPolicySettings();
}

/** Returns the builder for the settings used for calls to listFirewallPolicies. */
public PagedCallSettings.Builder<
ListFirewallPoliciesRequest,
ListFirewallPoliciesResponse,
ListFirewallPoliciesPagedResponse>
listFirewallPoliciesSettings() {
return getStubSettingsBuilder().listFirewallPoliciesSettings();
}

/** Returns the builder for the settings used for calls to getFirewallPolicy. */
public UnaryCallSettings.Builder<GetFirewallPolicyRequest, FirewallPolicy>
getFirewallPolicySettings() {
return getStubSettingsBuilder().getFirewallPolicySettings();
}

/** Returns the builder for the settings used for calls to updateFirewallPolicy. */
public UnaryCallSettings.Builder<UpdateFirewallPolicyRequest, FirewallPolicy>
updateFirewallPolicySettings() {
return getStubSettingsBuilder().updateFirewallPolicySettings();
}

/** Returns the builder for the settings used for calls to deleteFirewallPolicy. */
public UnaryCallSettings.Builder<DeleteFirewallPolicyRequest, Empty>
deleteFirewallPolicySettings() {
return getStubSettingsBuilder().deleteFirewallPolicySettings();
}

/** Returns the builder for the settings used for calls to listRelatedAccountGroups. */
public PagedCallSettings.Builder<
ListRelatedAccountGroupsRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,30 @@
"CreateAssessment": {
"methods": ["createAssessment", "createAssessment", "createAssessment", "createAssessmentCallable"]
},
"CreateFirewallPolicy": {
"methods": ["createFirewallPolicy", "createFirewallPolicy", "createFirewallPolicy", "createFirewallPolicyCallable"]
},
"CreateKey": {
"methods": ["createKey", "createKey", "createKey", "createKeyCallable"]
},
"DeleteFirewallPolicy": {
"methods": ["deleteFirewallPolicy", "deleteFirewallPolicy", "deleteFirewallPolicy", "deleteFirewallPolicyCallable"]
},
"DeleteKey": {
"methods": ["deleteKey", "deleteKey", "deleteKey", "deleteKeyCallable"]
},
"GetFirewallPolicy": {
"methods": ["getFirewallPolicy", "getFirewallPolicy", "getFirewallPolicy", "getFirewallPolicyCallable"]
},
"GetKey": {
"methods": ["getKey", "getKey", "getKey", "getKeyCallable"]
},
"GetMetrics": {
"methods": ["getMetrics", "getMetrics", "getMetrics", "getMetricsCallable"]
},
"ListFirewallPolicies": {
"methods": ["listFirewallPolicies", "listFirewallPolicies", "listFirewallPolicies", "listFirewallPoliciesPagedCallable", "listFirewallPoliciesCallable"]
},
"ListKeys": {
"methods": ["listKeys", "listKeys", "listKeys", "listKeysPagedCallable", "listKeysCallable"]
},
Expand All @@ -46,6 +58,9 @@
"SearchRelatedAccountGroupMemberships": {
"methods": ["searchRelatedAccountGroupMemberships", "searchRelatedAccountGroupMemberships", "searchRelatedAccountGroupMemberships", "searchRelatedAccountGroupMembershipsPagedCallable", "searchRelatedAccountGroupMembershipsCallable"]
},
"UpdateFirewallPolicy": {
"methods": ["updateFirewallPolicy", "updateFirewallPolicy", "updateFirewallPolicyCallable"]
},
"UpdateKey": {
"methods": ["updateKey", "updateKey", "updateKeyCallable"]
}
Expand Down
Loading