class Google::Apis::MybusinessaccountmanagementV1::Invitation
Represents a pending invitation.
Attributes
Required. The resource name for the invitation. `accounts/`account_id`/ invitations/`invitation_id“. Corresponds to the JSON property `name` @return [String]
Output only. The invited role on the account. Corresponds to the JSON property `role` @return [String]
An account is a container for your location. If you are the only user who manages locations for your business, you can use your personal Google
Account
. To share management of locations with multiple users, [create a business account] (support.google.com/business/answer/6085339?ref_topic=6085325) . Corresponds to the JSON property `targetAccount` @return [Google::Apis::MybusinessaccountmanagementV1::Account]
Represents a target location for a pending invitation. Corresponds to the JSON property `targetLocation` @return [Google::Apis::MybusinessaccountmanagementV1::TargetLocation]
Output only. Specifies which target types should appear in the response. Corresponds to the JSON property `targetType` @return [String]
Public Class Methods
# File lib/google/apis/mybusinessaccountmanagement_v1/classes.rb, line 233 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/mybusinessaccountmanagement_v1/classes.rb, line 238 def update!(**args) @name = args[:name] if args.key?(:name) @role = args[:role] if args.key?(:role) @target_account = args[:target_account] if args.key?(:target_account) @target_location = args[:target_location] if args.key?(:target_location) @target_type = args[:target_type] if args.key?(:target_type) end