feat: Automated regeneration of chat v1 client

This commit is contained in:
Yoshi Automation Bot 2020-10-21 11:43:21 -07:00 committed by GitHub
parent 9a4f5ed7b1
commit cf5cf484a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 2 deletions

View File

@ -19172,6 +19172,7 @@
"/chat:v1/User": user
"/chat:v1/User/displayName": display_name
"/chat:v1/User/domainId": domain_id
"/chat:v1/User/isAnonymous": is_anonymous
"/chat:v1/User/name": name
"/chat:v1/User/type": type
"/chat:v1/UserMentionMetadata": user_mention_metadata

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/hangouts/chat
module ChatV1
VERSION = 'V1'
REVISION = '20200919'
REVISION = '20201019'
end
end
end

View File

@ -1088,6 +1088,13 @@ module Google
# @return [String]
attr_accessor :domain_id
# Set to true if none of the depending services (Gaia, PeopleApi) returns any
# info for this user.
# Corresponds to the JSON property `isAnonymous`
# @return [Boolean]
attr_accessor :is_anonymous
alias_method :is_anonymous?, :is_anonymous
# Resource name, in the format "users/*".
# Corresponds to the JSON property `name`
# @return [String]
@ -1106,6 +1113,7 @@ module Google
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@domain_id = args[:domain_id] if args.key?(:domain_id)
@is_anonymous = args[:is_anonymous] if args.key?(:is_anonymous)
@name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type)
end

View File

@ -540,6 +540,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :domain_id, as: 'domainId'
property :is_anonymous, as: 'isAnonymous'
property :name, as: 'name'
property :type, as: 'type'
end

View File

@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "cb0c5bf94e2b1c915107eec83041d4409c900155"
}
}
]