ml  v1
Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest Class Reference

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. More...

Inheritance diagram for Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest:
Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1TestIamPermissionsResponse >

Public Member Functions

 TestIamPermissionsRequest (Google.Apis.Services.IClientService service, Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1TestIamPermissionsRequest body, string resource)
 Constructs a new TestIamPermissions request. More...
 

Protected Member Functions

override object GetBody ()
 summary>Gets the method name. More...
 
override void InitParameters ()
 Initializes TestIamPermissions parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1TestIamPermissionsResponse >
 CloudMachineLearningEngineBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new CloudMachineLearningEngineBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes CloudMachineLearningEngine parameter list. More...
 

Properties

virtual string Resource [get]
 REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1TestIamPermissionsResponse >
virtual System.Nullable< XgafvEnum > Xgafv [get, set]
 V1 error format. More...
 
virtual string AccessToken [get, set]
 OAuth access token. More...
 
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for response. More...
 
virtual string Callback [get, set]
 JSONP More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. More...
 
virtual string UploadType [get, set]
 Legacy upload protocol for media (e.g. "media", "multipart"). More...
 
virtual string UploadProtocol [get, set]
 Upload protocol for media (e.g. "raw", "multipart"). More...
 

Detailed Description

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Constructor & Destructor Documentation

◆ TestIamPermissionsRequest()

Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest.TestIamPermissionsRequest ( Google.Apis.Services.IClientService  service,
Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleIamV1TestIamPermissionsRequest  body,
string  resource 
)
inline

Constructs a new TestIamPermissions request.

Member Function Documentation

◆ GetBody()

override object Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest.GetBody ( )
inlineprotected

summary>Gets the method name.

◆ InitParameters()

override void Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest.InitParameters ( )
inlineprotected

Initializes TestIamPermissions parameter list.

Property Documentation

◆ HttpMethod

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest.HttpMethod
get

summary>Gets the REST path.

◆ MethodName

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest.MethodName
get

summary>Gets the HTTP method.

◆ Resource

virtual string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.ModelsResource.TestIamPermissionsRequest.Resource
get

REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.


The documentation for this class was generated from the following file: