...

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

Documentation: google.golang.org/genproto/googleapis/iam/v2

     1  // Copyright 2023 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 iam aliases all exported identifiers in package
    18  // "cloud.google.com/go/iam/apiv2/iampb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package iam
    24  
    25  import (
    26  	src "cloud.google.com/go/iam/apiv2/iampb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use vars in: cloud.google.com/go/iam/apiv2/iampb
    31  var (
    32  	File_google_iam_v2_deny_proto   = src.File_google_iam_v2_deny_proto
    33  	File_google_iam_v2_policy_proto = src.File_google_iam_v2_policy_proto
    34  )
    35  
    36  // Request message for `CreatePolicy`.
    37  //
    38  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    39  type CreatePolicyRequest = src.CreatePolicyRequest
    40  
    41  // Request message for `DeletePolicy`.
    42  //
    43  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    44  type DeletePolicyRequest = src.DeletePolicyRequest
    45  
    46  // A deny rule in an IAM deny policy.
    47  //
    48  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    49  type DenyRule = src.DenyRule
    50  
    51  // Request message for `GetPolicy`.
    52  //
    53  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    54  type GetPolicyRequest = src.GetPolicyRequest
    55  
    56  // Request message for `ListPolicies`.
    57  //
    58  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    59  type ListPoliciesRequest = src.ListPoliciesRequest
    60  
    61  // Response message for `ListPolicies`.
    62  //
    63  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    64  type ListPoliciesResponse = src.ListPoliciesResponse
    65  
    66  // PoliciesClient is the client API for Policies service. For semantics around
    67  // ctx use and closing/ending streaming RPCs, please refer to
    68  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
    69  //
    70  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    71  type PoliciesClient = src.PoliciesClient
    72  
    73  // PoliciesServer is the server API for Policies service.
    74  //
    75  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    76  type PoliciesServer = src.PoliciesServer
    77  
    78  // Data for an IAM policy.
    79  //
    80  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    81  type Policy = src.Policy
    82  
    83  // Metadata for long-running `Policy` operations.
    84  //
    85  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    86  type PolicyOperationMetadata = src.PolicyOperationMetadata
    87  
    88  // A single rule in a `Policy`.
    89  //
    90  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    91  type PolicyRule = src.PolicyRule
    92  type PolicyRule_DenyRule = src.PolicyRule_DenyRule
    93  
    94  // UnimplementedPoliciesServer can be embedded to have forward compatible
    95  // implementations.
    96  //
    97  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
    98  type UnimplementedPoliciesServer = src.UnimplementedPoliciesServer
    99  
   100  // Request message for `UpdatePolicy`.
   101  //
   102  // Deprecated: Please use types in: cloud.google.com/go/iam/apiv2/iampb
   103  type UpdatePolicyRequest = src.UpdatePolicyRequest
   104  
   105  // Deprecated: Please use funcs in: cloud.google.com/go/iam/apiv2/iampb
   106  func NewPoliciesClient(cc grpc.ClientConnInterface) PoliciesClient { return src.NewPoliciesClient(cc) }
   107  
   108  // Deprecated: Please use funcs in: cloud.google.com/go/iam/apiv2/iampb
   109  func RegisterPoliciesServer(s *grpc.Server, srv PoliciesServer) { src.RegisterPoliciesServer(s, srv) }
   110  

View as plain text