feat: Automated regeneration of chat v1 client
This commit is contained in:
parent
9a4f5ed7b1
commit
cf5cf484a7
|
@ -19172,6 +19172,7 @@
|
||||||
"/chat:v1/User": user
|
"/chat:v1/User": user
|
||||||
"/chat:v1/User/displayName": display_name
|
"/chat:v1/User/displayName": display_name
|
||||||
"/chat:v1/User/domainId": domain_id
|
"/chat:v1/User/domainId": domain_id
|
||||||
|
"/chat:v1/User/isAnonymous": is_anonymous
|
||||||
"/chat:v1/User/name": name
|
"/chat:v1/User/name": name
|
||||||
"/chat:v1/User/type": type
|
"/chat:v1/User/type": type
|
||||||
"/chat:v1/UserMentionMetadata": user_mention_metadata
|
"/chat:v1/UserMentionMetadata": user_mention_metadata
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/hangouts/chat
|
# @see https://developers.google.com/hangouts/chat
|
||||||
module ChatV1
|
module ChatV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200919'
|
REVISION = '20201019'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1088,6 +1088,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :domain_id
|
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/*".
|
# Resource name, in the format "users/*".
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1106,6 +1113,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@display_name = args[:display_name] if args.key?(:display_name)
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
@domain_id = args[:domain_id] if args.key?(:domain_id)
|
@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)
|
@name = args[:name] if args.key?(:name)
|
||||||
@type = args[:type] if args.key?(:type)
|
@type = args[:type] if args.key?(:type)
|
||||||
end
|
end
|
||||||
|
|
|
@ -540,6 +540,7 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :display_name, as: 'displayName'
|
property :display_name, as: 'displayName'
|
||||||
property :domain_id, as: 'domainId'
|
property :domain_id, as: 'domainId'
|
||||||
|
property :is_anonymous, as: 'isAnonymous'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"git": {
|
"git": {
|
||||||
"name": ".",
|
"name": ".",
|
||||||
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
||||||
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
|
"sha": "cb0c5bf94e2b1c915107eec83041d4409c900155"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue