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

Commit

Permalink
fix!: Removed resource definition of Compute API resources and incorr…
Browse files Browse the repository at this point in the history
…ect resource references that used them

PiperOrigin-RevId: 459444490

Source-Link: googleapis/googleapis@24f0736

Source-Link: https://github.com/googleapis/googleapis-gen/commit/cd5440ba0eed0fc86bc3a510ba5a1dfba82c82b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2Q1NDQwYmEwZWVkMGZjODZiYzNhNTEwYmE1YTFkZmJhODJjODJiMCJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jul 13, 2022
1 parent 44d24e1 commit 9013607
Show file tree
Hide file tree
Showing 195 changed files with 14,205 additions and 21,364 deletions.

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListDnsAuthorizationsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListLocationsPagedResponse;

import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
Expand All @@ -32,9 +33,14 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.certificatemanager.v1.stub.CertificateManagerStubSettings;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
Expand All @@ -48,10 +54,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (certificatemanager.googleapis.com) and default port (443) are
* <li> The default service address (certificatemanager.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down Expand Up @@ -178,8 +184,7 @@ public UnaryCallSettings<DeleteCertificateMapRequest, Operation> deleteCertifica

/** Returns the object with the settings used for calls to listCertificateMapEntries. */
public PagedCallSettings<
ListCertificateMapEntriesRequest,
ListCertificateMapEntriesResponse,
ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse,
ListCertificateMapEntriesPagedResponse>
listCertificateMapEntriesSettings() {
return ((CertificateManagerStubSettings) getStubSettings()).listCertificateMapEntriesSettings();
Expand Down Expand Up @@ -234,8 +239,7 @@ public UnaryCallSettings<DeleteCertificateMapRequest, Operation> deleteCertifica

/** Returns the object with the settings used for calls to listDnsAuthorizations. */
public PagedCallSettings<
ListDnsAuthorizationsRequest,
ListDnsAuthorizationsResponse,
ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse,
ListDnsAuthorizationsPagedResponse>
listDnsAuthorizationsSettings() {
return ((CertificateManagerStubSettings) getStubSettings()).listDnsAuthorizationsSettings();
Expand Down Expand Up @@ -286,6 +290,17 @@ public UnaryCallSettings<DeleteCertificateMapRequest, Operation> deleteCertifica
.deleteDnsAuthorizationOperationSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return ((CertificateManagerStubSettings) getStubSettings()).listLocationsSettings();
}

/** Returns the object with the settings used for calls to getLocation. */
public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
return ((CertificateManagerStubSettings) getStubSettings()).getLocationSettings();
}

public static final CertificateManagerSettings create(CertificateManagerStubSettings stub)
throws IOException {
return new CertificateManagerSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -451,8 +466,7 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific

/** Returns the builder for the settings used for calls to listCertificateMaps. */
public PagedCallSettings.Builder<
ListCertificateMapsRequest,
ListCertificateMapsResponse,
ListCertificateMapsRequest, ListCertificateMapsResponse,
ListCertificateMapsPagedResponse>
listCertificateMapsSettings() {
return getStubSettingsBuilder().listCertificateMapsSettings();
Expand Down Expand Up @@ -504,8 +518,7 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific

/** Returns the builder for the settings used for calls to listCertificateMapEntries. */
public PagedCallSettings.Builder<
ListCertificateMapEntriesRequest,
ListCertificateMapEntriesResponse,
ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse,
ListCertificateMapEntriesPagedResponse>
listCertificateMapEntriesSettings() {
return getStubSettingsBuilder().listCertificateMapEntriesSettings();
Expand Down Expand Up @@ -557,8 +570,7 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific

/** Returns the builder for the settings used for calls to listDnsAuthorizations. */
public PagedCallSettings.Builder<
ListDnsAuthorizationsRequest,
ListDnsAuthorizationsResponse,
ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse,
ListDnsAuthorizationsPagedResponse>
listDnsAuthorizationsSettings() {
return getStubSettingsBuilder().listDnsAuthorizationsSettings();
Expand Down Expand Up @@ -608,6 +620,18 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
return getStubSettingsBuilder().deleteDnsAuthorizationOperationSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return getStubSettingsBuilder().listLocationsSettings();
}

/** Returns the builder for the settings used for calls to getLocation. */
public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettings() {
return getStubSettingsBuilder().getLocationSettings();
}

@Override
public CertificateManagerSettings build() throws IOException {
return new CertificateManagerSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"GetDnsAuthorization": {
"methods": ["getDnsAuthorization", "getDnsAuthorization", "getDnsAuthorization", "getDnsAuthorizationCallable"]
},
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"ListCertificateMapEntries": {
"methods": ["listCertificateMapEntries", "listCertificateMapEntries", "listCertificateMapEntries", "listCertificateMapEntriesPagedCallable", "listCertificateMapEntriesCallable"]
},
Expand All @@ -58,6 +61,9 @@
"ListDnsAuthorizations": {
"methods": ["listDnsAuthorizations", "listDnsAuthorizations", "listDnsAuthorizations", "listDnsAuthorizationsPagedCallable", "listDnsAuthorizationsCallable"]
},
"ListLocations": {
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
},
"UpdateCertificate": {
"methods": ["updateCertificateAsync", "updateCertificateAsync", "updateCertificateOperationCallable", "updateCertificateCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
* <p>The Certificates Manager service exposes the following resources:
*
* <ul>
* <li>`Certificate` which describes a single TLS certificate.
* <li>`CertificateMap` which describes a collection of certificates that can be attached to a
* <li> `Certificate` which describes a single TLS certificate.
* <li> `CertificateMap` which describes a collection of certificates that can be attached to a
* target resource.
* <li>`CertificateMapEntry` which describes a single configuration entry that consists of a SNI
* <li> `CertificateMapEntry` which describes a single configuration entry that consists of a SNI
* and a group of certificates. It's a subresource of CertificateMap.
* </ul>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificateMapsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListCertificatesPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListDnsAuthorizationsPagedResponse;
import static com.google.cloud.certificatemanager.v1.CertificateManagerClient.ListLocationsPagedResponse;

import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
Expand Down Expand Up @@ -53,6 +54,10 @@
import com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest;
import com.google.cloud.certificatemanager.v1.UpdateCertificateRequest;
import com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import com.google.protobuf.Empty;
Expand Down Expand Up @@ -257,6 +262,19 @@ public UnaryCallable<DeleteDnsAuthorizationRequest, Operation> deleteDnsAuthoriz
throw new UnsupportedOperationException("Not implemented: deleteDnsAuthorizationCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
}

public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
}

@Override
public abstract void close();
}
Loading

0 comments on commit 9013607

Please sign in to comment.