google-apps-script-type 0.1.0 → 1.1.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 +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/google/apps/script/type/addon_widget_set_pb.rb +85 -14
- data/lib/google/apps/script/type/calendar/calendar_addon_manifest_pb.rb +135 -25
- data/lib/google/apps/script/type/docs/docs_addon_manifest_pb.rb +75 -8
- data/lib/google/apps/script/type/drive/drive_addon_manifest_pb.rb +76 -8
- data/lib/google/apps/script/type/extension_point_pb.rb +105 -17
- data/lib/google/apps/script/type/gmail/gmail_addon_manifest_pb.rb +155 -32
- data/lib/google/apps/script/type/script_manifest_pb.rb +135 -24
- data/lib/google/apps/script/type/sheets/sheets_addon_manifest_pb.rb +75 -8
- data/lib/google/apps/script/type/slides/slides_addon_manifest_pb.rb +75 -8
- data/lib/google/apps/script/type/version.rb +1 -1
- metadata +7 -7
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/apps/script/type/slides/slides_addon_manifest.proto
|
3
4
|
|
@@ -6,16 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
require 'google/apps/script/type/extension_point_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
|
11
|
+
descriptor_data = "\n:google/apps/script/type/slides/slides_addon_manifest.proto\x12\x1egoogle.apps.script.type.slides\x1a\x1fgoogle/api/field_behavior.proto\x1a-google/apps/script/type/extension_point.proto\"\xbd\x01\n\x13SlidesAddOnManifest\x12I\n\x10homepage_trigger\x18\x01 \x01(\x0b\x32/.google.apps.script.type.HomepageExtensionPoint\x12[\n\x1don_file_scope_granted_trigger\x18\x02 \x01(\x0b\x32\x34.google.apps.script.type.slides.SlidesExtensionPoint\"2\n\x14SlidesExtensionPoint\x12\x1a\n\x0crun_function\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x42\xe6\x01\n\"com.google.apps.script.type.slidesB\x18SlidesAddOnManifestProtoP\x01Z=google.golang.org/genproto/googleapis/apps/script/type/slides\xaa\x02\x1eGoogle.Apps.Script.Type.Slides\xca\x02\x1eGoogle\\Apps\\Script\\Type\\Slides\xea\x02\"Google::Apps::Script::Type::Slidesb\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.apps.script.type.HomepageExtensionPoint", "google/apps/script/type/extension_point.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
17
32
|
end
|
18
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
19
36
|
end
|
20
37
|
|
21
38
|
module Google
|
@@ -30,3 +47,53 @@ module Google
|
|
30
47
|
end
|
31
48
|
end
|
32
49
|
end
|
50
|
+
|
51
|
+
#### Source proto file: google/apps/script/type/slides/slides_addon_manifest.proto ####
|
52
|
+
#
|
53
|
+
# // Copyright 2020 Google LLC
|
54
|
+
# //
|
55
|
+
# // Licensed under the Apache License, Version 2.0 (the "License");
|
56
|
+
# // you may not use this file except in compliance with the License.
|
57
|
+
# // You may obtain a copy of the License at
|
58
|
+
# //
|
59
|
+
# // http://www.apache.org/licenses/LICENSE-2.0
|
60
|
+
# //
|
61
|
+
# // Unless required by applicable law or agreed to in writing, software
|
62
|
+
# // distributed under the License is distributed on an "AS IS" BASIS,
|
63
|
+
# // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
64
|
+
# // See the License for the specific language governing permissions and
|
65
|
+
# // limitations under the License.
|
66
|
+
#
|
67
|
+
# syntax = "proto3";
|
68
|
+
#
|
69
|
+
# package google.apps.script.type.slides;
|
70
|
+
#
|
71
|
+
# import "google/api/field_behavior.proto";
|
72
|
+
# import "google/apps/script/type/extension_point.proto";
|
73
|
+
#
|
74
|
+
# option csharp_namespace = "Google.Apps.Script.Type.Slides";
|
75
|
+
# option go_package = "google.golang.org/genproto/googleapis/apps/script/type/slides";
|
76
|
+
# option java_multiple_files = true;
|
77
|
+
# option java_outer_classname = "SlidesAddOnManifestProto";
|
78
|
+
# option java_package = "com.google.apps.script.type.slides";
|
79
|
+
# option php_namespace = "Google\\Apps\\Script\\Type\\Slides";
|
80
|
+
# option ruby_package = "Google::Apps::Script::Type::Slides";
|
81
|
+
#
|
82
|
+
# // Manifest section specific to Slides Add-ons.
|
83
|
+
#
|
84
|
+
# // Slides add-on manifest.
|
85
|
+
# message SlidesAddOnManifest {
|
86
|
+
# // If present, this overrides the configuration from
|
87
|
+
# // `addOns.common.homepageTrigger`.
|
88
|
+
# google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
|
89
|
+
#
|
90
|
+
# // Endpoint to execute when file scope authorization is granted
|
91
|
+
# // for this document/user pair.
|
92
|
+
# SlidesExtensionPoint on_file_scope_granted_trigger = 2;
|
93
|
+
# }
|
94
|
+
#
|
95
|
+
# // Common format for declaring a Slides add-on's triggers.
|
96
|
+
# message SlidesExtensionPoint {
|
97
|
+
# // Required. The endpoint to execute when this extension point is activated.
|
98
|
+
# string run_function = 1 [(google.api.field_behavior) = REQUIRED];
|
99
|
+
# }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apps-script-type
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: googleapis-common-protos-types
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-protobuf
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.18'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.18'
|
41
41
|
description: Common protocol buffer types used by Google Apps Script related client
|
42
42
|
libraries
|
43
43
|
email:
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.
|
80
|
+
rubygems_version: 3.4.19
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Common protocol buffer types used by Google Apps Script related client libraries
|