Reference documentation and code samples for the Google Cloud Asset V1 Client class AnalyzeIamPolicyLongrunningRequest.
A request message for AssetService.AnalyzeIamPolicyLongrunning.
Generated from protobuf message google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ analysis_query |
Google\Cloud\Asset\V1\IamPolicyAnalysisQuery
Required. The request query. |
↳ saved_analysis_query |
string
Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both |
↳ output_config |
Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig
Required. Output configuration indicating where the results will be output to. |
getAnalysisQuery
Required. The request query.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\IamPolicyAnalysisQuery|null |
hasAnalysisQuery
clearAnalysisQuery
setAnalysisQuery
Required. The request query.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\IamPolicyAnalysisQuery
|
Returns | |
---|---|
Type | Description |
$this |
getSavedAnalysisQuery
Optional. The name of a saved query, which must be in the format of:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
If both
analysis_query
andsaved_analysis_query
are provided, they will be merged together with thesaved_analysis_query
as base and theanalysis_query
as overrides. For more details of the merge behavior, please refer to the MergeFrom doc.
Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.
Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
setSavedAnalysisQuery
Optional. The name of a saved query, which must be in the format of:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
If both
analysis_query
andsaved_analysis_query
are provided, they will be merged together with thesaved_analysis_query
as base and theanalysis_query
as overrides. For more details of the merge behavior, please refer to the MergeFrom doc.
Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.
Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getOutputConfig
Required. Output configuration indicating where the results will be output to.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig|null |
hasOutputConfig
clearOutputConfig
setOutputConfig
Required. Output configuration indicating where the results will be output to.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig
|
Returns | |
---|---|
Type | Description |
$this |