...

Source file src/google.golang.org/genproto/googleapis/iam/credentials/v1/alias.go

Documentation: google.golang.org/genproto/googleapis/iam/credentials/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package credentials aliases all exported identifiers in package
    18  // "cloud.google.com/go/iam/credentials/apiv1/credentialspb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/iam/credentials/apiv1/credentialspb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package credentials
    24  
    25  import (
    26  	src "cloud.google.com/go/iam/credentials/apiv1/credentialspb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use vars in: cloud.google.com/go/iam/credentials/apiv1/credentialspb
    31  var (
    32  	File_google_iam_credentials_v1_common_proto         = src.File_google_iam_credentials_v1_common_proto
    33  	File_google_iam_credentials_v1_iamcredentials_proto = src.File_google_iam_credentials_v1_iamcredentials_proto
    34  )
    35  
    36  type GenerateAccessTokenRequest = src.GenerateAccessTokenRequest
    37  type GenerateAccessTokenResponse = src.GenerateAccessTokenResponse
    38  type GenerateIdTokenRequest = src.GenerateIdTokenRequest
    39  type GenerateIdTokenResponse = src.GenerateIdTokenResponse
    40  
    41  // IAMCredentialsClient is the client API for IAMCredentials service. For
    42  // semantics around ctx use and closing/ending streaming RPCs, please refer to
    43  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
    44  //
    45  // Deprecated: Please use types in: cloud.google.com/go/iam/credentials/apiv1/credentialspb
    46  type IAMCredentialsClient = src.IAMCredentialsClient
    47  
    48  // IAMCredentialsServer is the server API for IAMCredentials service.
    49  //
    50  // Deprecated: Please use types in: cloud.google.com/go/iam/credentials/apiv1/credentialspb
    51  type IAMCredentialsServer = src.IAMCredentialsServer
    52  type SignBlobRequest = src.SignBlobRequest
    53  type SignBlobResponse = src.SignBlobResponse
    54  type SignJwtRequest = src.SignJwtRequest
    55  type SignJwtResponse = src.SignJwtResponse
    56  
    57  // UnimplementedIAMCredentialsServer can be embedded to have forward
    58  // compatible implementations.
    59  //
    60  // Deprecated: Please use types in: cloud.google.com/go/iam/credentials/apiv1/credentialspb
    61  type UnimplementedIAMCredentialsServer = src.UnimplementedIAMCredentialsServer
    62  
    63  // Deprecated: Please use funcs in: cloud.google.com/go/iam/credentials/apiv1/credentialspb
    64  func NewIAMCredentialsClient(cc grpc.ClientConnInterface) IAMCredentialsClient {
    65  	return src.NewIAMCredentialsClient(cc)
    66  }
    67  
    68  // Deprecated: Please use funcs in: cloud.google.com/go/iam/credentials/apiv1/credentialspb
    69  func RegisterIAMCredentialsServer(s *grpc.Server, srv IAMCredentialsServer) {
    70  	src.RegisterIAMCredentialsServer(s, srv)
    71  }
    72  

View as plain text