...

Source file src/google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1

     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 asset aliases all exported identifiers in package
    18  // "cloud.google.com/go/asset/apiv1p5beta1/assetpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package asset
    24  
    25  import (
    26  	src "cloud.google.com/go/asset/apiv1p5beta1/assetpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    31  const (
    32  	ContentType_ACCESS_POLICY            = src.ContentType_ACCESS_POLICY
    33  	ContentType_CONTENT_TYPE_UNSPECIFIED = src.ContentType_CONTENT_TYPE_UNSPECIFIED
    34  	ContentType_IAM_POLICY               = src.ContentType_IAM_POLICY
    35  	ContentType_ORG_POLICY               = src.ContentType_ORG_POLICY
    36  	ContentType_RESOURCE                 = src.ContentType_RESOURCE
    37  )
    38  
    39  // Deprecated: Please use vars in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    40  var (
    41  	ContentType_name                                      = src.ContentType_name
    42  	ContentType_value                                     = src.ContentType_value
    43  	File_google_cloud_asset_v1p5beta1_asset_service_proto = src.File_google_cloud_asset_v1p5beta1_asset_service_proto
    44  	File_google_cloud_asset_v1p5beta1_assets_proto        = src.File_google_cloud_asset_v1p5beta1_assets_proto
    45  )
    46  
    47  // Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM
    48  // policies, and other non-GCP assets.
    49  //
    50  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    51  type Asset = src.Asset
    52  
    53  // AssetServiceClient is the client API for AssetService service. For
    54  // semantics around ctx use and closing/ending streaming RPCs, please refer to
    55  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
    56  //
    57  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    58  type AssetServiceClient = src.AssetServiceClient
    59  
    60  // AssetServiceServer is the server API for AssetService service.
    61  //
    62  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    63  type AssetServiceServer = src.AssetServiceServer
    64  type Asset_AccessLevel = src.Asset_AccessLevel
    65  type Asset_AccessPolicy = src.Asset_AccessPolicy
    66  type Asset_ServicePerimeter = src.Asset_ServicePerimeter
    67  
    68  // Asset content type.
    69  //
    70  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    71  type ContentType = src.ContentType
    72  
    73  // ListAssets request.
    74  //
    75  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    76  type ListAssetsRequest = src.ListAssetsRequest
    77  
    78  // ListAssets response.
    79  //
    80  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    81  type ListAssetsResponse = src.ListAssetsResponse
    82  
    83  // Representation of a cloud resource.
    84  //
    85  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    86  type Resource = src.Resource
    87  
    88  // UnimplementedAssetServiceServer can be embedded to have forward compatible
    89  // implementations.
    90  //
    91  // Deprecated: Please use types in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    92  type UnimplementedAssetServiceServer = src.UnimplementedAssetServiceServer
    93  
    94  // Deprecated: Please use funcs in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
    95  func NewAssetServiceClient(cc grpc.ClientConnInterface) AssetServiceClient {
    96  	return src.NewAssetServiceClient(cc)
    97  }
    98  
    99  // Deprecated: Please use funcs in: cloud.google.com/go/asset/apiv1p5beta1/assetpb
   100  func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer) {
   101  	src.RegisterAssetServiceServer(s, srv)
   102  }
   103  

View as plain text