Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: regenerate accessapproval client #18860

Merged
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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-accessapproval</artifactId>
<version>v1-rev20231020-2.0.0</version>
<version>v1-rev20231110-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231020-2.0.0'
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231110-2.0.0'
}
```

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

/**
* The hashing algorithm used for signature verification. It will only be present in the case of
* Google managed keys.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String googleKeyAlgorithm;

/**
* The public key for the Google default signing, encoded in PEM format. The signature was created
* using a private key which may be verified using this public key.
Expand All @@ -44,6 +52,14 @@ public final class SignatureInfo extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String googlePublicKeyPem;

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String serializedApprovalRequest;

/**
* The digital signature.
* The value may be {@code null}.
Expand All @@ -68,6 +84,25 @@ public SignatureInfo setCustomerKmsKeyVersion(java.lang.String customerKmsKeyVer
return this;
}

/**
* The hashing algorithm used for signature verification. It will only be present in the case of
* Google managed keys.
* @return value or {@code null} for none
*/
public java.lang.String getGoogleKeyAlgorithm() {
return googleKeyAlgorithm;
}

/**
* The hashing algorithm used for signature verification. It will only be present in the case of
* Google managed keys.
* @param googleKeyAlgorithm googleKeyAlgorithm or {@code null} for none
*/
public SignatureInfo setGoogleKeyAlgorithm(java.lang.String googleKeyAlgorithm) {
this.googleKeyAlgorithm = googleKeyAlgorithm;
return this;
}

/**
* The public key for the Google default signing, encoded in PEM format. The signature was created
* using a private key which may be verified using this public key.
Expand All @@ -87,6 +122,55 @@ public SignatureInfo setGooglePublicKeyPem(java.lang.String googlePublicKeyPem)
return this;
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #decodeSerializedApprovalRequest()
* @return value or {@code null} for none
*/
public java.lang.String getSerializedApprovalRequest() {
return serializedApprovalRequest;
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #getSerializedApprovalRequest()
* @return Base64 decoded value or {@code null} for none
*
* @since 1.14
*/
public byte[] decodeSerializedApprovalRequest() {
return com.google.api.client.util.Base64.decodeBase64(serializedApprovalRequest);
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #encodeSerializedApprovalRequest()
* @param serializedApprovalRequest serializedApprovalRequest or {@code null} for none
*/
public SignatureInfo setSerializedApprovalRequest(java.lang.String serializedApprovalRequest) {
this.serializedApprovalRequest = serializedApprovalRequest;
return this;
}

/**
* The serialized ApprovalRequest message without the approve.signature_info field. This to allow
* the customer to verify signatures if they want to.
* @see #setSerializedApprovalRequest()
*
* <p>
* The value is encoded Base64 or {@code null} for none.
* </p>
*
* @since 1.14
*/
public SignatureInfo encodeSerializedApprovalRequest(byte[] serializedApprovalRequest) {
this.serializedApprovalRequest = com.google.api.client.util.Base64.encodeBase64URLSafeString(serializedApprovalRequest);
return this;
}

/**
* The digital signature.
* @see #decodeSignature()
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-accessapproval/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-accessapproval</artifactId>
<version>v1-rev20231020-2.0.0</version>
<name>Access Approval API v1-rev20231020-2.0.0</name>
<version>v1-rev20231110-2.0.0</version>
<name>Access Approval API v1-rev20231110-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-accessapproval/v1/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-accessapproval</artifactId>
<version>v1-rev20231020-2.0.0</version>
<version>v1-rev20231110-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231020-2.0.0'
implementation 'com.google.apis:google-api-services-accessapproval:v1-rev20231110-2.0.0'
}
```

Expand Down