Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
chore: migrate to microgenerator (#286)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/5e11eb13-af38-4b8f-bcc3-5a4567daee97/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 346372957
Source-Link: googleapis/googleapis@857f70d
PiperOrigin-RevId: 346126713
Source-Link: googleapis/googleapis@b8b2f8c
  • Loading branch information
yoshi-automation committed Dec 14, 2020
1 parent 9d289f4 commit 0d392e2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
Expand Up @@ -366,7 +366,7 @@ public final AccessApprovalSettings getAccessApprovalSettings(
* determined by the value of field_mask.
*
* @param settings The new AccessApprovalSettings.
* @param update_mask The update mask applies to the settings. Only the top level fields of
* @param updateMask The update mask applies to the settings. Only the top level fields of
* AccessApprovalSettings (notification_emails & enrolled_services) are supported. For
* each field, if it is included, the currently stored value will be entirely overwritten with
* the value of the field passed in this request.
Expand Down
Expand Up @@ -170,11 +170,21 @@ public static final GrpcAccessApprovalStub create(
AccessApprovalStubSettings.newBuilder().build(), clientContext, callableFactory);
}

/**
* Constructs an instance of GrpcAccessApprovalStub, using the given settings. This is protected
* so that it is easy to make a subclass, but otherwise, the static factory methods should be
* preferred.
*/
protected GrpcAccessApprovalStub(AccessApprovalStubSettings settings, ClientContext clientContext)
throws IOException {
this(settings, clientContext, new GrpcAccessApprovalCallableFactory());
}

/**
* Constructs an instance of GrpcAccessApprovalStub, using the given settings. This is protected
* so that it is easy to make a subclass, but otherwise, the static factory methods should be
* preferred.
*/
protected GrpcAccessApprovalStub(
AccessApprovalStubSettings settings,
ClientContext clientContext,
Expand Down
Expand Up @@ -132,7 +132,7 @@ public void getApprovalRequestTest() throws Exception {
ApprovalRequest expectedResponse =
ApprovalRequest.newBuilder()
.setName("name3373707")
.setRequestedResourceName("requested_resource_name-1409378037")
.setRequestedResourceName("requestedResourceName-1218563513")
.setRequestedResourceProperties(ResourceProperties.newBuilder().build())
.setRequestedReason(AccessReason.newBuilder().build())
.setRequestedLocations(AccessLocations.newBuilder().build())
Expand Down Expand Up @@ -176,7 +176,7 @@ public void approveApprovalRequestTest() throws Exception {
ApprovalRequest expectedResponse =
ApprovalRequest.newBuilder()
.setName("name3373707")
.setRequestedResourceName("requested_resource_name-1409378037")
.setRequestedResourceName("requestedResourceName-1218563513")
.setRequestedResourceProperties(ResourceProperties.newBuilder().build())
.setRequestedReason(AccessReason.newBuilder().build())
.setRequestedLocations(AccessLocations.newBuilder().build())
Expand Down Expand Up @@ -230,7 +230,7 @@ public void dismissApprovalRequestTest() throws Exception {
ApprovalRequest expectedResponse =
ApprovalRequest.newBuilder()
.setName("name3373707")
.setRequestedResourceName("requested_resource_name-1409378037")
.setRequestedResourceName("requestedResourceName-1218563513")
.setRequestedResourceProperties(ResourceProperties.newBuilder().build())
.setRequestedReason(AccessReason.newBuilder().build())
.setRequestedLocations(AccessLocations.newBuilder().build())
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-accessapproval.git",
"sha": "b6de3c0006902d3047ae135730c282879534a03c"
"sha": "9d289f48cff12700839be26c48a3cac36228370f"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "7be2c821dd88109038c55c89f7dd48f092eeab9d",
"internalRef": "345476969"
"sha": "857f70daef9f4c38f042fb3dfb7b8423ae18fd19",
"internalRef": "346372957"
}
},
{
Expand Down

0 comments on commit 0d392e2

Please sign in to comment.