class GoogleCloudStorage::ProjectsApi
- GoogleCloudStorage::ProjectsApi
- Reference
- Object
Defined in:
google_cloud_storage/api/projects_api.crConstant Summary
-
STORAGE_PROJECTS_HMAC_KEYS_CREATE_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
STORAGE_PROJECTS_HMAC_KEYS_DELETE_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
STORAGE_PROJECTS_HMAC_KEYS_GET_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
STORAGE_PROJECTS_HMAC_KEYS_LIST_MIN_FOR_MAX_RESULTS =
Int32.new("0")
-
STORAGE_PROJECTS_HMAC_KEYS_LIST_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
STORAGE_PROJECTS_HMAC_KEYS_UPDATE_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
-
STORAGE_PROJECTS_SERVICE_ACCOUNT_GET_VALID_VALUES_FOR_ALT =
String.static_array("json", "media")
Constructors
Instance Method Summary
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_hmac_keys_create(*, project_id : String | Nil = nil, service_account_email : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_hmac_keys_delete(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_hmac_keys_get(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_hmac_keys_list(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, max_results : Int32 | Nil = nil, page_token : String | Nil = nil, service_account_email : String | Nil = nil, show_deleted_keys : Bool | Nil = nil, user_project : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_hmac_keys_update(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, hmac_key_metadata : GoogleCloudStorage::HmacKeyMetadata | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_service_account_get(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Crest::Request
@return Crest::Request
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#hmac_keys_create(*, project_id : String | Nil = nil, service_account_email : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : GoogleCloudStorage::HmacKey
Creates a new HMAC key for the specified service account.
-
#hmac_keys_create(*, project_id : String | Nil = nil, service_account_email : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, &block : Crest::Response -> ) : Nil
Creates a new HMAC key for the specified service account.
-
#hmac_keys_create_with_http_info(*, project_id : String | Nil = nil, service_account_email : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Tuple(GoogleCloudStorage::HmacKey, Int32, Hash(String, Array(String) | String))
Creates a new HMAC key for the specified service account.
-
#hmac_keys_delete(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Nil
Deletes an HMAC key.
-
#hmac_keys_delete(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, &block : Crest::Response -> ) : Nil
Deletes an HMAC key.
-
#hmac_keys_delete_with_http_info(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String))
Deletes an HMAC key.
-
#hmac_keys_get(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : GoogleCloudStorage::HmacKeyMetadata
Retrieves an HMAC key's metadata @required @param project_id [String?] Project ID owning the service account of the requested key.
-
#hmac_keys_get(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, &block : Crest::Response -> ) : Nil
Retrieves an HMAC key's metadata @required @param project_id [String?] Project ID owning the service account of the requested key.
-
#hmac_keys_get_with_http_info(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Tuple(GoogleCloudStorage::HmacKeyMetadata, Int32, Hash(String, Array(String) | String))
Retrieves an HMAC key's metadata @required @param project_id [String?] Project ID owning the service account of the requested key.
-
#hmac_keys_list(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, max_results : Int32 | Nil = nil, page_token : String | Nil = nil, service_account_email : String | Nil = nil, show_deleted_keys : Bool | Nil = nil, user_project : String | Nil = nil) : GoogleCloudStorage::HmacKeysMetadata
Retrieves a list of HMAC keys matching the criteria.
-
#hmac_keys_list(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, max_results : Int32 | Nil = nil, page_token : String | Nil = nil, service_account_email : String | Nil = nil, show_deleted_keys : Bool | Nil = nil, user_project : String | Nil = nil, &block : Crest::Response -> ) : Nil
Retrieves a list of HMAC keys matching the criteria.
-
#hmac_keys_list_with_http_info(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, max_results : Int32 | Nil = nil, page_token : String | Nil = nil, service_account_email : String | Nil = nil, show_deleted_keys : Bool | Nil = nil, user_project : String | Nil = nil) : Tuple(GoogleCloudStorage::HmacKeysMetadata, Int32, Hash(String, Array(String) | String))
Retrieves a list of HMAC keys matching the criteria.
-
#hmac_keys_update(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, hmac_key_metadata : GoogleCloudStorage::HmacKeyMetadata | Nil = nil) : GoogleCloudStorage::HmacKeyMetadata
Updates the state of an HMAC key.
-
#hmac_keys_update(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, hmac_key_metadata : GoogleCloudStorage::HmacKeyMetadata | Nil = nil, &block : Crest::Response -> ) : Nil
Updates the state of an HMAC key.
-
#hmac_keys_update_with_http_info(*, project_id : String | Nil = nil, access_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, hmac_key_metadata : GoogleCloudStorage::HmacKeyMetadata | Nil = nil) : Tuple(GoogleCloudStorage::HmacKeyMetadata, Int32, Hash(String, Array(String) | String))
Updates the state of an HMAC key.
-
#service_account_get(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : GoogleCloudStorage::ServiceAccount
Get the email address of this project's Google Cloud Storage service account.
-
#service_account_get(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil, &block : Crest::Response -> ) : Nil
Get the email address of this project's Google Cloud Storage service account.
-
#service_account_get_with_http_info(*, project_id : String | Nil = nil, alt : String | Nil = nil, fields : String | Nil = nil, key : String | Nil = nil, oauth_token : String | Nil = nil, pretty_print : Bool | Nil = nil, quota_user : String | Nil = nil, upload_type : String | Nil = nil, user_ip : String | Nil = nil, user_project : String | Nil = nil) : Tuple(GoogleCloudStorage::ServiceAccount, Int32, Hash(String, Array(String) | String))
Get the email address of this project's Google Cloud Storage service account.
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
Creates a new HMAC key for the specified service account. @required @param project_id [String?] Project ID owning the service account. @required @param service_account_email [String?] Email address of the service account. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [GoogleCloudStorage::HmacKey]
Creates a new HMAC key for the specified service account. @required @param project_id [String?] Project ID owning the service account. @required @param service_account_email [String?] Email address of the service account. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return nil
Creates a new HMAC key for the specified service account. @required @param project_id [String?] Project ID owning the service account. @required @param service_account_email [String?] Email address of the service account. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [Tuple(GoogleCloudStorage::HmacKey, Integer, Hash)] GoogleCloudStorage::HmacKey, response status code and response headers
Deletes an HMAC key. @required @param project_id [String?] Project ID owning the requested key @required @param access_id [String?] Name of the HMAC key to be deleted. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [Nil]
Deletes an HMAC key. @required @param project_id [String?] Project ID owning the requested key @required @param access_id [String?] Name of the HMAC key to be deleted. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return nil
Deletes an HMAC key. @required @param project_id [String?] Project ID owning the requested key @required @param access_id [String?] Name of the HMAC key to be deleted. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
Retrieves an HMAC key's metadata @required @param project_id [String?] Project ID owning the service account of the requested key. @required @param access_id [String?] Name of the HMAC key. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [GoogleCloudStorage::HmacKeyMetadata]
Retrieves an HMAC key's metadata @required @param project_id [String?] Project ID owning the service account of the requested key. @required @param access_id [String?] Name of the HMAC key. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return nil
Retrieves an HMAC key's metadata @required @param project_id [String?] Project ID owning the service account of the requested key. @required @param access_id [String?] Name of the HMAC key. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [Tuple(GoogleCloudStorage::HmacKeyMetadata, Integer, Hash)] GoogleCloudStorage::HmacKeyMetadata, response status code and response headers
Retrieves a list of HMAC keys matching the criteria. @required @param project_id [String?] Name of the project in which to look for HMAC keys. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param max_results [Int32?] Maximum number of items to return in a single page of responses. The service uses this parameter or 250 items, whichever is smaller. The max number of items per page will also be limited by the number of distinct service accounts in the response. If the number of service accounts in a single response is too high, the page will truncated and a next page token will be returned. @optional @param page_token [String?] A previously-returned page token representing part of the larger set of results to view. @optional @param service_account_email [String?] If present, only keys for the given service account are returned. @optional @param show_deleted_keys [Bool?] Whether or not to show keys in the DELETED state. @optional @param user_project [String?] The project to be billed for this request. @return [GoogleCloudStorage::HmacKeysMetadata]
Retrieves a list of HMAC keys matching the criteria. @required @param project_id [String?] Name of the project in which to look for HMAC keys. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param max_results [Int32?] Maximum number of items to return in a single page of responses. The service uses this parameter or 250 items, whichever is smaller. The max number of items per page will also be limited by the number of distinct service accounts in the response. If the number of service accounts in a single response is too high, the page will truncated and a next page token will be returned. @optional @param page_token [String?] A previously-returned page token representing part of the larger set of results to view. @optional @param service_account_email [String?] If present, only keys for the given service account are returned. @optional @param show_deleted_keys [Bool?] Whether or not to show keys in the DELETED state. @optional @param user_project [String?] The project to be billed for this request. @return nil
Retrieves a list of HMAC keys matching the criteria. @required @param project_id [String?] Name of the project in which to look for HMAC keys. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param max_results [Int32?] Maximum number of items to return in a single page of responses. The service uses this parameter or 250 items, whichever is smaller. The max number of items per page will also be limited by the number of distinct service accounts in the response. If the number of service accounts in a single response is too high, the page will truncated and a next page token will be returned. @optional @param page_token [String?] A previously-returned page token representing part of the larger set of results to view. @optional @param service_account_email [String?] If present, only keys for the given service account are returned. @optional @param show_deleted_keys [Bool?] Whether or not to show keys in the DELETED state. @optional @param user_project [String?] The project to be billed for this request. @return [Tuple(GoogleCloudStorage::HmacKeysMetadata, Integer, Hash)] GoogleCloudStorage::HmacKeysMetadata, response status code and response headers
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states. @required @param project_id [String?] Project ID owning the service account of the updated key. @required @param access_id [String?] Name of the HMAC key being updated. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @optional @param hmac_key_metadata [GoogleCloudStorage::HmacKeyMetadata?] @return [GoogleCloudStorage::HmacKeyMetadata]
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states. @required @param project_id [String?] Project ID owning the service account of the updated key. @required @param access_id [String?] Name of the HMAC key being updated. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @optional @param hmac_key_metadata [GoogleCloudStorage::HmacKeyMetadata?] @return nil
Updates the state of an HMAC key. See the HMAC Key resource descriptor for valid states. @required @param project_id [String?] Project ID owning the service account of the updated key. @required @param access_id [String?] Name of the HMAC key being updated. @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @optional @param hmac_key_metadata [GoogleCloudStorage::HmacKeyMetadata?] @return [Tuple(GoogleCloudStorage::HmacKeyMetadata, Integer, Hash)] GoogleCloudStorage::HmacKeyMetadata, response status code and response headers
Get the email address of this project's Google Cloud Storage service account. @required @param project_id [String?] Project ID @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [GoogleCloudStorage::ServiceAccount]
Get the email address of this project's Google Cloud Storage service account. @required @param project_id [String?] Project ID @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return nil
Get the email address of this project's Google Cloud Storage service account. @required @param project_id [String?] Project ID @optional @param alt [String?] Data format for the response. @optional @param fields [String?] Selector specifying which fields to include in a partial response. @optional @param key [String?] 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. @optional @param oauth_token [String?] OAuth 2.0 token for the current user. @optional @param pretty_print [Bool?] Returns response with indentations and line breaks. @optional @param quota_user [String?] An opaque string that represents a user for quota purposes. Must not exceed 40 characters. @optional @param upload_type [String?] Upload protocol for media (e.g. "media", "multipart", "resumable"). @optional @param user_ip [String?] Deprecated. Please use quotaUser instead. @optional @param user_project [String?] The project to be billed for this request. @return [Tuple(GoogleCloudStorage::ServiceAccount, Integer, Hash)] GoogleCloudStorage::ServiceAccount, response status code and response headers