Skip to content

Commit

Permalink
feat: KMS configuration in settings (#877)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Merge branch 'owl-bot-copy' of https://github.com/googleapis/java-logging into owl-bot-copy

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

feat: KMS configuration in settings
chore: formatting changes

PiperOrigin-RevId: 430243637

Source-Link: googleapis/googleapis@95da686

Source-Link: googleapis/googleapis-gen@a1f056b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTFmMDU2Yjc2ODljY2JlNWFlYmMwYmZkZDMxOGU5OTQ1ZWU3NjAyYSJ9

🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
 

PiperOrigin-RevId: 429289471

Source-Link: googleapis/googleapis@acd5f89

Source-Link: googleapis/googleapis-gen@8a12622
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGExMjYyMjUzNmFlMmU5YTg5NzgxOThhMTUxZTg5MjM0YjgzOWIyMCJ9

feat: Update Logging API with latest changes
  • Loading branch information
gcf-owl-bot[bot] committed Feb 28, 2022
1 parent 5c97fea commit 27c199b
Show file tree
Hide file tree
Showing 107 changed files with 16,048 additions and 3,193 deletions.

Large diffs are not rendered by default.

Expand Up @@ -29,11 +29,15 @@
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
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.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.logging.v2.stub.ConfigServiceV2StubSettings;
import com.google.logging.v2.CmekSettings;
import com.google.logging.v2.CopyLogEntriesMetadata;
import com.google.logging.v2.CopyLogEntriesRequest;
import com.google.logging.v2.CopyLogEntriesResponse;
import com.google.logging.v2.CreateBucketRequest;
import com.google.logging.v2.CreateExclusionRequest;
import com.google.logging.v2.CreateSinkRequest;
Expand All @@ -45,6 +49,7 @@
import com.google.logging.v2.GetBucketRequest;
import com.google.logging.v2.GetCmekSettingsRequest;
import com.google.logging.v2.GetExclusionRequest;
import com.google.logging.v2.GetSettingsRequest;
import com.google.logging.v2.GetSinkRequest;
import com.google.logging.v2.GetViewRequest;
import com.google.logging.v2.ListBucketsRequest;
Expand All @@ -59,12 +64,15 @@
import com.google.logging.v2.LogExclusion;
import com.google.logging.v2.LogSink;
import com.google.logging.v2.LogView;
import com.google.logging.v2.Settings;
import com.google.logging.v2.UndeleteBucketRequest;
import com.google.logging.v2.UpdateBucketRequest;
import com.google.logging.v2.UpdateCmekSettingsRequest;
import com.google.logging.v2.UpdateExclusionRequest;
import com.google.logging.v2.UpdateSettingsRequest;
import com.google.logging.v2.UpdateSinkRequest;
import com.google.logging.v2.UpdateViewRequest;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
Expand Down Expand Up @@ -224,6 +232,28 @@ public UnaryCallSettings<UpdateCmekSettingsRequest, CmekSettings> updateCmekSett
return ((ConfigServiceV2StubSettings) getStubSettings()).updateCmekSettingsSettings();
}

/** Returns the object with the settings used for calls to getSettings. */
public UnaryCallSettings<GetSettingsRequest, Settings> getSettingsSettings() {
return ((ConfigServiceV2StubSettings) getStubSettings()).getSettingsSettings();
}

/** Returns the object with the settings used for calls to updateSettings. */
public UnaryCallSettings<UpdateSettingsRequest, Settings> updateSettingsSettings() {
return ((ConfigServiceV2StubSettings) getStubSettings()).updateSettingsSettings();
}

/** Returns the object with the settings used for calls to copyLogEntries. */
public UnaryCallSettings<CopyLogEntriesRequest, Operation> copyLogEntriesSettings() {
return ((ConfigServiceV2StubSettings) getStubSettings()).copyLogEntriesSettings();
}

/** Returns the object with the settings used for calls to copyLogEntries. */
public OperationCallSettings<
CopyLogEntriesRequest, CopyLogEntriesResponse, CopyLogEntriesMetadata>
copyLogEntriesOperationSettings() {
return ((ConfigServiceV2StubSettings) getStubSettings()).copyLogEntriesOperationSettings();
}

public static final ConfigSettings create(ConfigServiceV2StubSettings stub) throws IOException {
return new ConfigSettings.Builder(stub.toBuilder()).build();
}
Expand Down Expand Up @@ -445,6 +475,28 @@ public UnaryCallSettings.Builder<DeleteExclusionRequest, Empty> deleteExclusionS
return getStubSettingsBuilder().updateCmekSettingsSettings();
}

/** Returns the builder for the settings used for calls to getSettings. */
public UnaryCallSettings.Builder<GetSettingsRequest, Settings> getSettingsSettings() {
return getStubSettingsBuilder().getSettingsSettings();
}

/** Returns the builder for the settings used for calls to updateSettings. */
public UnaryCallSettings.Builder<UpdateSettingsRequest, Settings> updateSettingsSettings() {
return getStubSettingsBuilder().updateSettingsSettings();
}

/** Returns the builder for the settings used for calls to copyLogEntries. */
public UnaryCallSettings.Builder<CopyLogEntriesRequest, Operation> copyLogEntriesSettings() {
return getStubSettingsBuilder().copyLogEntriesSettings();
}

/** Returns the builder for the settings used for calls to copyLogEntries. */
public OperationCallSettings.Builder<
CopyLogEntriesRequest, CopyLogEntriesResponse, CopyLogEntriesMetadata>
copyLogEntriesOperationSettings() {
return getStubSettingsBuilder().copyLogEntriesOperationSettings();
}

@Override
public ConfigSettings build() throws IOException {
return new ConfigSettings(this);
Expand Down

0 comments on commit 27c199b

Please sign in to comment.