generated/google/apis/gmail_v1/service.rb in google-api-client-0.10.0 vs generated/google/apis/gmail_v1/service.rb in google-api-client-0.10.1

- old
+ new

@@ -1429,10 +1429,12 @@ execute_or_queue_command(command, &block) end # Updates the auto-forwarding setting for the specified account. A verified # forwarding address must be specified when auto-forwarding is enabled. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [Google::Apis::GmailV1::AutoForwarding] auto_forwarding_object # @param [String] fields @@ -1739,10 +1741,12 @@ # Creates a forwarding address. If ownership verification is required, a message # will be sent to the recipient and the resource's verification status will be # set to pending; otherwise, the resource will be created with verification # status set to accepted. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [Google::Apis::GmailV1::ForwardingAddress] forwarding_address_object # @param [String] fields @@ -1779,10 +1783,12 @@ execute_or_queue_command(command, &block) end # Deletes the specified forwarding address and revokes any verification that may # have been required. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [String] forwarding_email # The forwarding address to be deleted. @@ -1897,10 +1903,12 @@ # creating the alias. If ownership verification is required for the alias, a # message will be sent to the email address and the resource's verification # status will be set to pending; otherwise, the resource will be created with # verification status set to accepted. If a signature is provided, Gmail will # sanitize the HTML before saving it with the alias. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [Google::Apis::GmailV1::SendAs] send_as_object # @param [String] fields @@ -1937,10 +1945,12 @@ execute_or_queue_command(command, &block) end # Deletes the specified send-as alias. Revokes any verification that may have # been required for using it. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [String] send_as_email # The send-as alias to be deleted. @@ -2052,11 +2062,14 @@ command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end # Updates a send-as alias. If a signature is provided, Gmail will sanitize the - # HTML before saving it with the alias. This method supports patch semantics. + # HTML before saving it with the alias. + # Addresses other than the primary address for the account can only be updated + # by service account clients that have been delegated domain-wide authority. + # This method supports patch semantics. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [String] send_as_email # The send-as alias to be updated. @@ -2096,10 +2109,12 @@ execute_or_queue_command(command, &block) end # Updates a send-as alias. If a signature is provided, Gmail will sanitize the # HTML before saving it with the alias. + # Addresses other than the primary address for the account can only be updated + # by service account clients that have been delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [String] send_as_email # The send-as alias to be updated. @@ -2139,9 +2154,11 @@ execute_or_queue_command(command, &block) end # Sends a verification email to the specified send-as alias address. The # verification status must be pending. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. # @param [String] send_as_email # The send-as alias to be verified.