diff --git a/WORKSPACE b/WORKSPACE index f2fd4d0..85d668c 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -61,7 +61,7 @@ git_repository( git_repository( name = "improbable_platform", remote = "git@github.com:improbable/platform.git", - commit = "b5beeabcf21dfcc970d64ba6ba323376b3600966", + commit = "258e29f17d1b4bb9748805054c9ed9e68a2b7992", shallow_since = "2018-12-01", ) diff --git a/apis/playerauth_v2alpha1/PlayerAuthServiceClient.cs b/apis/playerauth_v2alpha1/PlayerAuthServiceClient.cs index f6fcd43..b4a1fac 100755 --- a/apis/playerauth_v2alpha1/PlayerAuthServiceClient.cs +++ b/apis/playerauth_v2alpha1/PlayerAuthServiceClient.cs @@ -53,6 +53,11 @@ private PlayerAuthServiceSettings(PlayerAuthServiceSettings existing) : base(exi CreateLoginTokenSettings = existing.CreateLoginTokenSettings; CreatePlayerIdentityTokenSettings = existing.CreatePlayerIdentityTokenSettings; DecodePlayerIdentityTokenSettings = existing.DecodePlayerIdentityTokenSettings; + CreateDevelopmentAuthenticationTokenSettings = existing.CreateDevelopmentAuthenticationTokenSettings; + GetDevelopmentAuthenticationTokenSettings = existing.GetDevelopmentAuthenticationTokenSettings; + ListDevelopmentAuthenticationTokensSettings = existing.ListDevelopmentAuthenticationTokensSettings; + UpdateDevelopmentAuthenticationTokenSettings = existing.UpdateDevelopmentAuthenticationTokenSettings; + ExpireDevelopmentAuthenticationTokenSettings = existing.ExpireDevelopmentAuthenticationTokenSettings; OnCopy(existing); } @@ -210,6 +215,153 @@ private PlayerAuthServiceSettings(PlayerAuthServiceSettings existing) : base(exi retryFilter: IdempotentRetryFilter ))); + /// + /// for synchronous and asynchronous calls to + /// PlayerAuthServiceClient.CreateDevelopmentAuthenticationToken and PlayerAuthServiceClient.CreateDevelopmentAuthenticationTokenAsync. + /// + /// + /// The default PlayerAuthServiceClient.CreateDevelopmentAuthenticationToken and + /// PlayerAuthServiceClient.CreateDevelopmentAuthenticationTokenAsync are: + /// + /// Initial retry delay: 50 milliseconds + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds + /// Initial timeout: 60000 milliseconds + /// Timeout multiplier: 1.0 + /// Timeout maximum delay: 60000 milliseconds + /// + /// Retry will be attempted on the following response status codes: + /// + /// No status codes + /// + /// Default RPC expiration is 600000 milliseconds. + /// + public gaxgrpc::CallSettings CreateDevelopmentAuthenticationTokenSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming( + gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings( + retryBackoff: GetDefaultRetryBackoff(), + timeoutBackoff: GetDefaultTimeoutBackoff(), + totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(600000)), + retryFilter: NonIdempotentRetryFilter + ))); + + /// + /// for synchronous and asynchronous calls to + /// PlayerAuthServiceClient.GetDevelopmentAuthenticationToken and PlayerAuthServiceClient.GetDevelopmentAuthenticationTokenAsync. + /// + /// + /// The default PlayerAuthServiceClient.GetDevelopmentAuthenticationToken and + /// PlayerAuthServiceClient.GetDevelopmentAuthenticationTokenAsync are: + /// + /// Initial retry delay: 50 milliseconds + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds + /// Initial timeout: 60000 milliseconds + /// Timeout multiplier: 1.0 + /// Timeout maximum delay: 60000 milliseconds + /// + /// Retry will be attempted on the following response status codes: + /// + /// + /// + /// + /// Default RPC expiration is 600000 milliseconds. + /// + public gaxgrpc::CallSettings GetDevelopmentAuthenticationTokenSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming( + gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings( + retryBackoff: GetDefaultRetryBackoff(), + timeoutBackoff: GetDefaultTimeoutBackoff(), + totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(600000)), + retryFilter: IdempotentRetryFilter + ))); + + /// + /// for synchronous and asynchronous calls to + /// PlayerAuthServiceClient.ListDevelopmentAuthenticationTokens and PlayerAuthServiceClient.ListDevelopmentAuthenticationTokensAsync. + /// + /// + /// The default PlayerAuthServiceClient.ListDevelopmentAuthenticationTokens and + /// PlayerAuthServiceClient.ListDevelopmentAuthenticationTokensAsync are: + /// + /// Initial retry delay: 50 milliseconds + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds + /// Initial timeout: 60000 milliseconds + /// Timeout multiplier: 1.0 + /// Timeout maximum delay: 60000 milliseconds + /// + /// Retry will be attempted on the following response status codes: + /// + /// + /// + /// + /// Default RPC expiration is 600000 milliseconds. + /// + public gaxgrpc::CallSettings ListDevelopmentAuthenticationTokensSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming( + gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings( + retryBackoff: GetDefaultRetryBackoff(), + timeoutBackoff: GetDefaultTimeoutBackoff(), + totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(600000)), + retryFilter: IdempotentRetryFilter + ))); + + /// + /// for synchronous and asynchronous calls to + /// PlayerAuthServiceClient.UpdateDevelopmentAuthenticationToken and PlayerAuthServiceClient.UpdateDevelopmentAuthenticationTokenAsync. + /// + /// + /// The default PlayerAuthServiceClient.UpdateDevelopmentAuthenticationToken and + /// PlayerAuthServiceClient.UpdateDevelopmentAuthenticationTokenAsync are: + /// + /// Initial retry delay: 50 milliseconds + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds + /// Initial timeout: 60000 milliseconds + /// Timeout multiplier: 1.0 + /// Timeout maximum delay: 60000 milliseconds + /// + /// Retry will be attempted on the following response status codes: + /// + /// No status codes + /// + /// Default RPC expiration is 600000 milliseconds. + /// + public gaxgrpc::CallSettings UpdateDevelopmentAuthenticationTokenSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming( + gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings( + retryBackoff: GetDefaultRetryBackoff(), + timeoutBackoff: GetDefaultTimeoutBackoff(), + totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(600000)), + retryFilter: NonIdempotentRetryFilter + ))); + + /// + /// for synchronous and asynchronous calls to + /// PlayerAuthServiceClient.ExpireDevelopmentAuthenticationToken and PlayerAuthServiceClient.ExpireDevelopmentAuthenticationTokenAsync. + /// + /// + /// The default PlayerAuthServiceClient.ExpireDevelopmentAuthenticationToken and + /// PlayerAuthServiceClient.ExpireDevelopmentAuthenticationTokenAsync are: + /// + /// Initial retry delay: 50 milliseconds + /// Retry delay multiplier: 1.3 + /// Retry maximum delay: 10000 milliseconds + /// Initial timeout: 60000 milliseconds + /// Timeout multiplier: 1.0 + /// Timeout maximum delay: 60000 milliseconds + /// + /// Retry will be attempted on the following response status codes: + /// + /// No status codes + /// + /// Default RPC expiration is 600000 milliseconds. + /// + public gaxgrpc::CallSettings ExpireDevelopmentAuthenticationTokenSettings { get; set; } = gaxgrpc::CallSettings.FromCallTiming( + gaxgrpc::CallTiming.FromRetry(new gaxgrpc::RetrySettings( + retryBackoff: GetDefaultRetryBackoff(), + timeoutBackoff: GetDefaultTimeoutBackoff(), + totalExpiration: gax::Expiration.FromTimeout(sys::TimeSpan.FromMilliseconds(600000)), + retryFilter: NonIdempotentRetryFilter + ))); + /// /// Creates a deep clone of this object, with all the same property values. /// @@ -245,24 +397,248 @@ public static PlayerAuthServiceClient Create(ispc::PlatformApiEndpoint endpoint } /// - /// Creates a which uses the specified channel for remote operations. + /// Creates a which uses the specified channel for remote operations. + /// + /// The for remote operations. Must not be null. + /// Optional . + /// The created . + public static PlayerAuthServiceClient Create(grpccore::Channel channel, PlayerAuthServiceSettings settings = null) + { + gax::GaxPreconditions.CheckNotNull(channel, nameof(channel)); + PlayerAuthService.PlayerAuthServiceClient grpcClient = new PlayerAuthService.PlayerAuthServiceClient(channel); + return new PlayerAuthServiceClientImpl(grpcClient, settings); + } + + /// + /// The underlying gRPC PlayerAuthService client. + /// + public virtual PlayerAuthService.PlayerAuthServiceClient GrpcClient + { + get { throw new sys::NotImplementedException(); } + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task CreateLoginTokenAsync( + CreateLoginTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// A to use for this RPC. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task CreateLoginTokenAsync( + CreateLoginTokenRequest request, + st::CancellationToken cancellationToken) => CreateLoginTokenAsync( + request, + gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public virtual CreateLoginTokenResponse CreateLoginToken( + CreateLoginTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task CreatePlayerIdentityTokenAsync( + CreatePlayerIdentityTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// A to use for this RPC. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task CreatePlayerIdentityTokenAsync( + CreatePlayerIdentityTokenRequest request, + st::CancellationToken cancellationToken) => CreatePlayerIdentityTokenAsync( + request, + gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public virtual CreatePlayerIdentityTokenResponse CreatePlayerIdentityToken( + CreatePlayerIdentityTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task DecodePlayerIdentityTokenAsync( + DecodePlayerIdentityTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// A to use for this RPC. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task DecodePlayerIdentityTokenAsync( + DecodePlayerIdentityTokenRequest request, + st::CancellationToken cancellationToken) => DecodePlayerIdentityTokenAsync( + request, + gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public virtual DecodePlayerIdentityTokenResponse DecodePlayerIdentityToken( + DecodePlayerIdentityTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task CreateDevelopmentAuthenticationTokenAsync( + CreateDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// /// - /// The for remote operations. Must not be null. - /// Optional . - /// The created . - public static PlayerAuthServiceClient Create(grpccore::Channel channel, PlayerAuthServiceSettings settings = null) - { - gax::GaxPreconditions.CheckNotNull(channel, nameof(channel)); - PlayerAuthService.PlayerAuthServiceClient grpcClient = new PlayerAuthService.PlayerAuthServiceClient(channel); - return new PlayerAuthServiceClientImpl(grpcClient, settings); - } + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// A to use for this RPC. + /// + /// + /// A Task containing the RPC response. + /// + public virtual stt::Task CreateDevelopmentAuthenticationTokenAsync( + CreateDevelopmentAuthenticationTokenRequest request, + st::CancellationToken cancellationToken) => CreateDevelopmentAuthenticationTokenAsync( + request, + gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); /// - /// The underlying gRPC PlayerAuthService client. + /// /// - public virtual PlayerAuthService.PlayerAuthServiceClient GrpcClient + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public virtual CreateDevelopmentAuthenticationTokenResponse CreateDevelopmentAuthenticationToken( + CreateDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) { - get { throw new sys::NotImplementedException(); } + throw new sys::NotImplementedException(); } /// @@ -277,8 +653,8 @@ public virtual PlayerAuthService.PlayerAuthServiceClient GrpcClient /// /// A Task containing the RPC response. /// - public virtual stt::Task CreateLoginTokenAsync( - CreateLoginTokenRequest request, + public virtual stt::Task GetDevelopmentAuthenticationTokenAsync( + GetDevelopmentAuthenticationTokenRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); @@ -296,9 +672,9 @@ public virtual PlayerAuthService.PlayerAuthServiceClient GrpcClient /// /// A Task containing the RPC response. /// - public virtual stt::Task CreateLoginTokenAsync( - CreateLoginTokenRequest request, - st::CancellationToken cancellationToken) => CreateLoginTokenAsync( + public virtual stt::Task GetDevelopmentAuthenticationTokenAsync( + GetDevelopmentAuthenticationTokenRequest request, + st::CancellationToken cancellationToken) => GetDevelopmentAuthenticationTokenAsync( request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); @@ -314,8 +690,46 @@ public virtual PlayerAuthService.PlayerAuthServiceClient GrpcClient /// /// The RPC response. /// - public virtual CreateLoginTokenResponse CreateLoginToken( - CreateLoginTokenRequest request, + public virtual GetDevelopmentAuthenticationTokenResponse GetDevelopmentAuthenticationToken( + GetDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A pageable asynchronous sequence of resources. + /// + public virtual gax::PagedAsyncEnumerable ListDevelopmentAuthenticationTokensAsync( + ListDevelopmentAuthenticationTokensRequest request, + gaxgrpc::CallSettings callSettings = null) + { + throw new sys::NotImplementedException(); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A pageable sequence of resources. + /// + public virtual gax::PagedEnumerable ListDevelopmentAuthenticationTokens( + ListDevelopmentAuthenticationTokensRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); @@ -333,8 +747,8 @@ public virtual CreateLoginTokenResponse CreateLoginToken( /// /// A Task containing the RPC response. /// - public virtual stt::Task CreatePlayerIdentityTokenAsync( - CreatePlayerIdentityTokenRequest request, + public virtual stt::Task UpdateDevelopmentAuthenticationTokenAsync( + UpdateDevelopmentAuthenticationTokenRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); @@ -352,9 +766,9 @@ public virtual CreateLoginTokenResponse CreateLoginToken( /// /// A Task containing the RPC response. /// - public virtual stt::Task CreatePlayerIdentityTokenAsync( - CreatePlayerIdentityTokenRequest request, - st::CancellationToken cancellationToken) => CreatePlayerIdentityTokenAsync( + public virtual stt::Task UpdateDevelopmentAuthenticationTokenAsync( + UpdateDevelopmentAuthenticationTokenRequest request, + st::CancellationToken cancellationToken) => UpdateDevelopmentAuthenticationTokenAsync( request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); @@ -370,8 +784,8 @@ public virtual CreateLoginTokenResponse CreateLoginToken( /// /// The RPC response. /// - public virtual CreatePlayerIdentityTokenResponse CreatePlayerIdentityToken( - CreatePlayerIdentityTokenRequest request, + public virtual UpdateDevelopmentAuthenticationTokenResponse UpdateDevelopmentAuthenticationToken( + UpdateDevelopmentAuthenticationTokenRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); @@ -389,8 +803,8 @@ public virtual CreatePlayerIdentityTokenResponse CreatePlayerIdentityToken( /// /// A Task containing the RPC response. /// - public virtual stt::Task DecodePlayerIdentityTokenAsync( - DecodePlayerIdentityTokenRequest request, + public virtual stt::Task ExpireDevelopmentAuthenticationTokenAsync( + ExpireDevelopmentAuthenticationTokenRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); @@ -408,9 +822,9 @@ public virtual CreatePlayerIdentityTokenResponse CreatePlayerIdentityToken( /// /// A Task containing the RPC response. /// - public virtual stt::Task DecodePlayerIdentityTokenAsync( - DecodePlayerIdentityTokenRequest request, - st::CancellationToken cancellationToken) => DecodePlayerIdentityTokenAsync( + public virtual stt::Task ExpireDevelopmentAuthenticationTokenAsync( + ExpireDevelopmentAuthenticationTokenRequest request, + st::CancellationToken cancellationToken) => ExpireDevelopmentAuthenticationTokenAsync( request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken)); @@ -426,8 +840,8 @@ public virtual CreatePlayerIdentityTokenResponse CreatePlayerIdentityToken( /// /// The RPC response. /// - public virtual DecodePlayerIdentityTokenResponse DecodePlayerIdentityToken( - DecodePlayerIdentityTokenRequest request, + public virtual ExpireDevelopmentAuthenticationTokenResponse ExpireDevelopmentAuthenticationToken( + ExpireDevelopmentAuthenticationTokenRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); @@ -443,6 +857,11 @@ public sealed partial class PlayerAuthServiceClientImpl : PlayerAuthServiceClien private readonly gaxgrpc::ApiCall _callCreateLoginToken; private readonly gaxgrpc::ApiCall _callCreatePlayerIdentityToken; private readonly gaxgrpc::ApiCall _callDecodePlayerIdentityToken; + private readonly gaxgrpc::ApiCall _callCreateDevelopmentAuthenticationToken; + private readonly gaxgrpc::ApiCall _callGetDevelopmentAuthenticationToken; + private readonly gaxgrpc::ApiCall _callListDevelopmentAuthenticationTokens; + private readonly gaxgrpc::ApiCall _callUpdateDevelopmentAuthenticationToken; + private readonly gaxgrpc::ApiCall _callExpireDevelopmentAuthenticationToken; /// /// Constructs a client wrapper for the PlayerAuthService service, with the specified gRPC client and settings. @@ -460,12 +879,32 @@ public PlayerAuthServiceClientImpl(PlayerAuthService.PlayerAuthServiceClient grp GrpcClient.CreatePlayerIdentityTokenAsync, GrpcClient.CreatePlayerIdentityToken, effectiveSettings.CreatePlayerIdentityTokenSettings); _callDecodePlayerIdentityToken = clientHelper.BuildApiCall( GrpcClient.DecodePlayerIdentityTokenAsync, GrpcClient.DecodePlayerIdentityToken, effectiveSettings.DecodePlayerIdentityTokenSettings); + _callCreateDevelopmentAuthenticationToken = clientHelper.BuildApiCall( + GrpcClient.CreateDevelopmentAuthenticationTokenAsync, GrpcClient.CreateDevelopmentAuthenticationToken, effectiveSettings.CreateDevelopmentAuthenticationTokenSettings); + _callGetDevelopmentAuthenticationToken = clientHelper.BuildApiCall( + GrpcClient.GetDevelopmentAuthenticationTokenAsync, GrpcClient.GetDevelopmentAuthenticationToken, effectiveSettings.GetDevelopmentAuthenticationTokenSettings); + _callListDevelopmentAuthenticationTokens = clientHelper.BuildApiCall( + GrpcClient.ListDevelopmentAuthenticationTokensAsync, GrpcClient.ListDevelopmentAuthenticationTokens, effectiveSettings.ListDevelopmentAuthenticationTokensSettings); + _callUpdateDevelopmentAuthenticationToken = clientHelper.BuildApiCall( + GrpcClient.UpdateDevelopmentAuthenticationTokenAsync, GrpcClient.UpdateDevelopmentAuthenticationToken, effectiveSettings.UpdateDevelopmentAuthenticationTokenSettings); + _callExpireDevelopmentAuthenticationToken = clientHelper.BuildApiCall( + GrpcClient.ExpireDevelopmentAuthenticationTokenAsync, GrpcClient.ExpireDevelopmentAuthenticationToken, effectiveSettings.ExpireDevelopmentAuthenticationTokenSettings); Modify_ApiCall(ref _callCreateLoginToken); Modify_CreateLoginTokenApiCall(ref _callCreateLoginToken); Modify_ApiCall(ref _callCreatePlayerIdentityToken); Modify_CreatePlayerIdentityTokenApiCall(ref _callCreatePlayerIdentityToken); Modify_ApiCall(ref _callDecodePlayerIdentityToken); Modify_DecodePlayerIdentityTokenApiCall(ref _callDecodePlayerIdentityToken); + Modify_ApiCall(ref _callCreateDevelopmentAuthenticationToken); + Modify_CreateDevelopmentAuthenticationTokenApiCall(ref _callCreateDevelopmentAuthenticationToken); + Modify_ApiCall(ref _callGetDevelopmentAuthenticationToken); + Modify_GetDevelopmentAuthenticationTokenApiCall(ref _callGetDevelopmentAuthenticationToken); + Modify_ApiCall(ref _callListDevelopmentAuthenticationTokens); + Modify_ListDevelopmentAuthenticationTokensApiCall(ref _callListDevelopmentAuthenticationTokens); + Modify_ApiCall(ref _callUpdateDevelopmentAuthenticationToken); + Modify_UpdateDevelopmentAuthenticationTokenApiCall(ref _callUpdateDevelopmentAuthenticationToken); + Modify_ApiCall(ref _callExpireDevelopmentAuthenticationToken); + Modify_ExpireDevelopmentAuthenticationTokenApiCall(ref _callExpireDevelopmentAuthenticationToken); OnConstruction(grpcClient, effectiveSettings, clientHelper); } @@ -482,6 +921,11 @@ partial void Modify_ApiCall(ref gaxgrpc::ApiCall call); partial void Modify_CreatePlayerIdentityTokenApiCall(ref gaxgrpc::ApiCall call); partial void Modify_DecodePlayerIdentityTokenApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_CreateDevelopmentAuthenticationTokenApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_GetDevelopmentAuthenticationTokenApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_ListDevelopmentAuthenticationTokensApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_UpdateDevelopmentAuthenticationTokenApiCall(ref gaxgrpc::ApiCall call); + partial void Modify_ExpireDevelopmentAuthenticationTokenApiCall(ref gaxgrpc::ApiCall call); partial void OnConstruction(PlayerAuthService.PlayerAuthServiceClient grpcClient, PlayerAuthServiceSettings effectiveSettings, gaxgrpc::ClientHelper clientHelper); /// @@ -495,6 +939,11 @@ partial void Modify_ApiCall(ref gaxgrpc::ApiCall /// @@ -616,9 +1065,221 @@ public override DecodePlayerIdentityTokenResponse DecodePlayerIdentityToken( return _callDecodePlayerIdentityToken.Sync(request, callSettings); } + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public override stt::Task CreateDevelopmentAuthenticationTokenAsync( + CreateDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callCreateDevelopmentAuthenticationToken.Async(request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public override CreateDevelopmentAuthenticationTokenResponse CreateDevelopmentAuthenticationToken( + CreateDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_CreateDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callCreateDevelopmentAuthenticationToken.Sync(request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public override stt::Task GetDevelopmentAuthenticationTokenAsync( + GetDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_GetDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callGetDevelopmentAuthenticationToken.Async(request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public override GetDevelopmentAuthenticationTokenResponse GetDevelopmentAuthenticationToken( + GetDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_GetDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callGetDevelopmentAuthenticationToken.Sync(request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A pageable asynchronous sequence of resources. + /// + public override gax::PagedAsyncEnumerable ListDevelopmentAuthenticationTokensAsync( + ListDevelopmentAuthenticationTokensRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_ListDevelopmentAuthenticationTokensRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedAsyncEnumerable(_callListDevelopmentAuthenticationTokens, request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A pageable sequence of resources. + /// + public override gax::PagedEnumerable ListDevelopmentAuthenticationTokens( + ListDevelopmentAuthenticationTokensRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_ListDevelopmentAuthenticationTokensRequest(ref request, ref callSettings); + return new gaxgrpc::GrpcPagedEnumerable(_callListDevelopmentAuthenticationTokens, request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public override stt::Task UpdateDevelopmentAuthenticationTokenAsync( + UpdateDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callUpdateDevelopmentAuthenticationToken.Async(request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public override UpdateDevelopmentAuthenticationTokenResponse UpdateDevelopmentAuthenticationToken( + UpdateDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_UpdateDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callUpdateDevelopmentAuthenticationToken.Sync(request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// A Task containing the RPC response. + /// + public override stt::Task ExpireDevelopmentAuthenticationTokenAsync( + ExpireDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_ExpireDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callExpireDevelopmentAuthenticationToken.Async(request, callSettings); + } + + /// + /// + /// + /// + /// The request object containing all of the parameters for the API call. + /// + /// + /// If not null, applies overrides to this RPC call. + /// + /// + /// The RPC response. + /// + public override ExpireDevelopmentAuthenticationTokenResponse ExpireDevelopmentAuthenticationToken( + ExpireDevelopmentAuthenticationTokenRequest request, + gaxgrpc::CallSettings callSettings = null) + { + Modify_ExpireDevelopmentAuthenticationTokenRequest(ref request, ref callSettings); + return _callExpireDevelopmentAuthenticationToken.Sync(request, callSettings); + } + } // Partial classes to enable page-streaming + public partial class ListDevelopmentAuthenticationTokensRequest : gaxgrpc::IPageRequest { } + public partial class ListDevelopmentAuthenticationTokensResponse : gaxgrpc::IPageResponse + { + /// + /// Returns an enumerator that iterates through the resources in this response. + /// + public scg::IEnumerator GetEnumerator() => DevelopmentAuthenticationTokens.GetEnumerator(); + + /// + sc::IEnumerator sc::IEnumerable.GetEnumerator() => GetEnumerator(); + } + }