15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_SERVICE_ACCOUNT_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_SERVICE_ACCOUNT_H
18#include "google/cloud/storage/version.h"
19#include "google/cloud/status_or.h"
25GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
28
29
34 std::string
const&
email_address()
const {
return email_address_; }
38 email_address_ = std::move(v);
42 std::string
const&
kind()
const {
return kind_; }
51 std::string email_address_;
66 return std::rel_ops::operator!=(lhs, rhs);
70 return std::rel_ops::operator>(lhs, rhs);
74 return std::rel_ops::operator<=(lhs, rhs);
78 return std::rel_ops::operator>=(lhs, rhs);
81std::ostream& operator<<(std::ostream& os,
ServiceAccount const& rhs);
83GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Represents the metadata for a Google Cloud Storage service account.
Definition: service_account.h:30
ServiceAccount & set_kind(std::string v)
Definition: service_account.h:45
ServiceAccount & set_email_address(std::string v)
Definition: service_account.h:37
std::string const & email_address() const
Definition: service_account.h:34
std::string const & kind() const
Definition: service_account.h:42
Contains all the Google Cloud Storage C++ client APIs.
Definition: auto_finalize.h:24
bool operator!=(ServiceAccount const &lhs, ServiceAccount const &rhs)
Definition: service_account.h:65
bool operator<=(ServiceAccount const &lhs, ServiceAccount const &rhs)
Definition: service_account.h:73
bool operator==(ServiceAccount const &lhs, ServiceAccount const &rhs)
Definition: service_account.h:55
bool operator>=(ServiceAccount const &lhs, ServiceAccount const &rhs)
Definition: service_account.h:77
bool operator<(ServiceAccount const &lhs, ServiceAccount const &rhs)
Definition: service_account.h:60
bool operator>(ServiceAccount const &lhs, ServiceAccount const &rhs)
Definition: service_account.h:69