@@ -130,7 +130,7 @@ def export_project_location_image_metadata(name, fields: nil, quota_user: nil, o
130130 # service`` for Service `projects/`project_id_or_number`/locations/`location`/
131131 # services/`service`/revisions/`revision`` for Revision `projects/`
132132 # project_id_or_number`/locations/`location`/jobs/`job`/executions/`execution``
133- # for Execution
133+ # for Execution `project_id_or_number` may contains domain-scoped project IDs
134134 # @param [String] fields
135135 # Selector specifying which fields to include in a partial response.
136136 # @param [String] quota_user
@@ -1572,51 +1572,6 @@ def get_project_location_worker_pool(name, fields: nil, quota_user: nil, options
15721572 execute_or_queue_command ( command , &block )
15731573 end
15741574
1575- # Gets the IAM Access Control policy currently in effect for the given Cloud Run
1576- # WorkerPool. This result does not include any inherited policies.
1577- # @param [String] resource
1578- # REQUIRED: The resource for which the policy is being requested. See [Resource
1579- # names](https://cloud.google.com/apis/design/resource_names) for the
1580- # appropriate value for this field.
1581- # @param [Fixnum] options_requested_policy_version
1582- # Optional. The maximum policy version that will be used to format the policy.
1583- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1584- # rejected. Requests for policies with any conditional role bindings must
1585- # specify version 3. Policies with no conditional role bindings may specify any
1586- # valid value or leave the field unset. The policy in the response might use the
1587- # policy version that you specified, or it might use a lower policy version. For
1588- # example, if you specify version 3, but the policy has no conditional role
1589- # bindings, the response uses version 1. To learn which resources support
1590- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1591- # google.com/iam/help/conditions/resource-policies).
1592- # @param [String] fields
1593- # Selector specifying which fields to include in a partial response.
1594- # @param [String] quota_user
1595- # Available to use for quota purposes for server-side applications. Can be any
1596- # arbitrary string assigned to a user, but should not exceed 40 characters.
1597- # @param [Google::Apis::RequestOptions] options
1598- # Request-specific options
1599- #
1600- # @yield [result, err] Result & error if block supplied
1601- # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
1602- # @yieldparam err [StandardError] error object if request failed
1603- #
1604- # @return [Google::Apis::RunV2::GoogleIamV1Policy]
1605- #
1606- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1607- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1608- # @raise [Google::Apis::AuthorizationError] Authorization is required
1609- def get_project_location_worker_pool_iam_policy ( resource , options_requested_policy_version : nil , fields : nil , quota_user : nil , options : nil , &block )
1610- command = make_simple_command ( :get , 'v2/{+resource}:getIamPolicy' , options )
1611- command . response_representation = Google ::Apis ::RunV2 ::GoogleIamV1Policy ::Representation
1612- command . response_class = Google ::Apis ::RunV2 ::GoogleIamV1Policy
1613- command . params [ 'resource' ] = resource unless resource . nil?
1614- command . query [ 'options.requestedPolicyVersion' ] = options_requested_policy_version unless options_requested_policy_version . nil?
1615- command . query [ 'fields' ] = fields unless fields . nil?
1616- command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1617- execute_or_queue_command ( command , &block )
1618- end
1619-
16201575 # Lists WorkerPools. Results are sorted by creation time, descending.
16211576 # @param [String] parent
16221577 # Required. The location and project to list resources on. Location must be a
@@ -1715,42 +1670,6 @@ def patch_project_location_worker_pool(name, google_cloud_run_v2_worker_pool_obj
17151670 execute_or_queue_command ( command , &block )
17161671 end
17171672
1718- # Sets the IAM Access control policy for the specified WorkerPool. Overwrites
1719- # any existing policy.
1720- # @param [String] resource
1721- # REQUIRED: The resource for which the policy is being specified. See [Resource
1722- # names](https://cloud.google.com/apis/design/resource_names) for the
1723- # appropriate value for this field.
1724- # @param [Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1725- # @param [String] fields
1726- # Selector specifying which fields to include in a partial response.
1727- # @param [String] quota_user
1728- # Available to use for quota purposes for server-side applications. Can be any
1729- # arbitrary string assigned to a user, but should not exceed 40 characters.
1730- # @param [Google::Apis::RequestOptions] options
1731- # Request-specific options
1732- #
1733- # @yield [result, err] Result & error if block supplied
1734- # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
1735- # @yieldparam err [StandardError] error object if request failed
1736- #
1737- # @return [Google::Apis::RunV2::GoogleIamV1Policy]
1738- #
1739- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1740- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1741- # @raise [Google::Apis::AuthorizationError] Authorization is required
1742- def set_project_location_worker_pool_iam_policy ( resource , google_iam_v1_set_iam_policy_request_object = nil , fields : nil , quota_user : nil , options : nil , &block )
1743- command = make_simple_command ( :post , 'v2/{+resource}:setIamPolicy' , options )
1744- command . request_representation = Google ::Apis ::RunV2 ::GoogleIamV1SetIamPolicyRequest ::Representation
1745- command . request_object = google_iam_v1_set_iam_policy_request_object
1746- command . response_representation = Google ::Apis ::RunV2 ::GoogleIamV1Policy ::Representation
1747- command . response_class = Google ::Apis ::RunV2 ::GoogleIamV1Policy
1748- command . params [ 'resource' ] = resource unless resource . nil?
1749- command . query [ 'fields' ] = fields unless fields . nil?
1750- command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1751- execute_or_queue_command ( command , &block )
1752- end
1753-
17541673 # Returns permissions that a caller has on the specified Project. There are no
17551674 # permissions required for making this API call.
17561675 # @param [String] resource
0 commit comments