@java.lang.Override protected ContainerAnalysisV1Beta1BlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ContainerAnalysisV1Beta1BlockingStub(channel, callOptions); }
/** * * * <pre> * Returns the permissions that a caller has on the specified note or * occurrence. Requires list permission on the project (for example, * `containeranalysis.notes.list`). * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for * occurrences. * </pre> */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { return blockingUnaryCall( getChannel(), getTestIamPermissionsMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Gets the access control policy for a note or an occurrence resource. * Requires `containeranalysis.notes.setIamPolicy` or * `containeranalysis.occurrences.setIamPolicy` permission if the resource is * a note or occurrence, respectively. * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for * occurrences. * </pre> */ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return blockingUnaryCall( getChannel(), getGetIamPolicyMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Sets the access control policy on the specified note or occurrence. * Requires `containeranalysis.notes.setIamPolicy` or * `containeranalysis.occurrences.setIamPolicy` permission if the resource is * a note or an occurrence, respectively. * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for * occurrences. * </pre> */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return blockingUnaryCall( getChannel(), getSetIamPolicyMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Updates the specified scan configuration. * </pre> */ public com.google.containeranalysis.v1beta1.ScanConfig updateScanConfig( com.google.containeranalysis.v1beta1.UpdateScanConfigRequest request) { return blockingUnaryCall( getChannel(), getUpdateScanConfigMethodHelper(), getCallOptions(), request); } }
/** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static ContainerAnalysisV1Beta1BlockingStub newBlockingStub(io.grpc.Channel channel) { return new ContainerAnalysisV1Beta1BlockingStub(channel); }
/** * * * <pre> * Lists scan configurations for the specified project. * </pre> */ public com.google.containeranalysis.v1beta1.ListScanConfigsResponse listScanConfigs( com.google.containeranalysis.v1beta1.ListScanConfigsRequest request) { return blockingUnaryCall( getChannel(), getListScanConfigsMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Gets the specified scan configuration. * </pre> */ public com.google.containeranalysis.v1beta1.ScanConfig getScanConfig( com.google.containeranalysis.v1beta1.GetScanConfigRequest request) { return blockingUnaryCall( getChannel(), getGetScanConfigMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Gets the access control policy for a note or an occurrence resource. * Requires `containeranalysis.notes.setIamPolicy` or * `containeranalysis.occurrences.setIamPolicy` permission if the resource is * a note or occurrence, respectively. * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for * occurrences. * </pre> */ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return blockingUnaryCall( getChannel(), getGetIamPolicyMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Sets the access control policy on the specified note or occurrence. * Requires `containeranalysis.notes.setIamPolicy` or * `containeranalysis.occurrences.setIamPolicy` permission if the resource is * a note or an occurrence, respectively. * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for * occurrences. * </pre> */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return blockingUnaryCall( getChannel(), getSetIamPolicyMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Returns the permissions that a caller has on the specified note or * occurrence. Requires list permission on the project (for example, * `containeranalysis.notes.list`). * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for * occurrences. * </pre> */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { return blockingUnaryCall( getChannel(), getTestIamPermissionsMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Updates the specified scan configuration. * </pre> */ public com.google.containeranalysis.v1beta1.ScanConfig updateScanConfig( com.google.containeranalysis.v1beta1.UpdateScanConfigRequest request) { return blockingUnaryCall( getChannel(), getUpdateScanConfigMethodHelper(), getCallOptions(), request); } }
/** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static ContainerAnalysisV1Beta1BlockingStub newBlockingStub(io.grpc.Channel channel) { return new ContainerAnalysisV1Beta1BlockingStub(channel); }
/** * * * <pre> * Lists scan configurations for the specified project. * </pre> */ public com.google.containeranalysis.v1beta1.ListScanConfigsResponse listScanConfigs( com.google.containeranalysis.v1beta1.ListScanConfigsRequest request) { return blockingUnaryCall( getChannel(), getListScanConfigsMethodHelper(), getCallOptions(), request); }
/** * * * <pre> * Gets the specified scan configuration. * </pre> */ public com.google.containeranalysis.v1beta1.ScanConfig getScanConfig( com.google.containeranalysis.v1beta1.GetScanConfigRequest request) { return blockingUnaryCall( getChannel(), getGetScanConfigMethodHelper(), getCallOptions(), request); }
@java.lang.Override protected ContainerAnalysisV1Beta1BlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ContainerAnalysisV1Beta1BlockingStub(channel, callOptions); }