google-apis-webfonts_v1 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3450dda1bfb6d7f2b0282ee86475baef55ac4996d3b8a9686ff3b4e77a6518a
|
4
|
+
data.tar.gz: 5f1762f474781bccc2efb55a247ec7738c015f41c2a1b060f7510142358d3436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 438eeed3063699a319410fcd276454981d19cac20b9f6f41e8b09630660ffec5066c86565a49e87f67afb7936622ad5fc98703c75c3aeb3341172a6c653c9479
|
7
|
+
data.tar.gz: 41002090ff14661e5bf8ba35a57d30e4e4afe191bc8d73ad874e617997785c64d75b8823af9908576f059484f94428c32438e332b7442b3f8061a31a3527913a
|
data/CHANGELOG.md
CHANGED
@@ -53,6 +53,31 @@ module Google
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
# Metadata for a tag.
|
57
|
+
class Tag
|
58
|
+
include Google::Apis::Core::Hashable
|
59
|
+
|
60
|
+
# The name of the tag.
|
61
|
+
# Corresponds to the JSON property `name`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :name
|
64
|
+
|
65
|
+
# The weight of the tag.
|
66
|
+
# Corresponds to the JSON property `weight`
|
67
|
+
# @return [Float]
|
68
|
+
attr_accessor :weight
|
69
|
+
|
70
|
+
def initialize(**args)
|
71
|
+
update!(**args)
|
72
|
+
end
|
73
|
+
|
74
|
+
# Update properties of this object
|
75
|
+
def update!(**args)
|
76
|
+
@name = args[:name] if args.key?(:name)
|
77
|
+
@weight = args[:weight] if args.key?(:weight)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
56
81
|
# Metadata describing a family of fonts.
|
57
82
|
class Webfont
|
58
83
|
include Google::Apis::Core::Hashable
|
@@ -104,6 +129,11 @@ module Google
|
|
104
129
|
# @return [Array<String>]
|
105
130
|
attr_accessor :subsets
|
106
131
|
|
132
|
+
# The tags that apply to this family.
|
133
|
+
# Corresponds to the JSON property `tags`
|
134
|
+
# @return [Array<Google::Apis::WebfontsV1::Tag>]
|
135
|
+
attr_accessor :tags
|
136
|
+
|
107
137
|
# The available variants for the font.
|
108
138
|
# Corresponds to the JSON property `variants`
|
109
139
|
# @return [Array<String>]
|
@@ -129,6 +159,7 @@ module Google
|
|
129
159
|
@last_modified = args[:last_modified] if args.key?(:last_modified)
|
130
160
|
@menu = args[:menu] if args.key?(:menu)
|
131
161
|
@subsets = args[:subsets] if args.key?(:subsets)
|
162
|
+
@tags = args[:tags] if args.key?(:tags)
|
132
163
|
@variants = args[:variants] if args.key?(:variants)
|
133
164
|
@version = args[:version] if args.key?(:version)
|
134
165
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module WebfontsV1
|
18
18
|
# Version of the google-apis-webfonts_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250917"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class Tag
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Webfont
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -49,6 +55,14 @@ module Google
|
|
49
55
|
end
|
50
56
|
end
|
51
57
|
|
58
|
+
class Tag
|
59
|
+
# @private
|
60
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
61
|
+
property :name, as: 'name'
|
62
|
+
property :weight, as: 'weight'
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
52
66
|
class Webfont
|
53
67
|
# @private
|
54
68
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -62,6 +76,8 @@ module Google
|
|
62
76
|
property :last_modified, as: 'lastModified'
|
63
77
|
property :menu, as: 'menu'
|
64
78
|
collection :subsets, as: 'subsets'
|
79
|
+
collection :tags, as: 'tags', class: Google::Apis::WebfontsV1::Tag, decorator: Google::Apis::WebfontsV1::Tag::Representation
|
80
|
+
|
65
81
|
collection :variants, as: 'variants'
|
66
82
|
property :version, as: 'version'
|
67
83
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-webfonts_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-webfonts_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-webfonts_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-webfonts_v1/v0.20.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-webfonts_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Web Fonts Developer API V1
|
79
79
|
test_files: []
|