google-apis-discovery_v1 0.0.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdaea404c30a4e7a1783321bf5ff9333e6b7014eea2639fb72b948b40c5e1c9c
4
- data.tar.gz: c86bb9d20c78fca226f11c06406065b75ef0c1dc41f457ef0c36c92f134a70ee
3
+ metadata.gz: 89c9ecf7b78c52bb7b8c28fae2e26f51da65129c4e8f3d56f9188caf740b4962
4
+ data.tar.gz: 4b9b4b0bd4361518240ed6adfe5859bdd26e0a836d3d87a7cb9cff5b7fce5d36
5
5
  SHA512:
6
- metadata.gz: 85958921f094b20345d922a59b0adbd93eb60f797555834cb6c78edeebb9b49253905a370f19db83fad7718d5824b26684670af00bf702510fab2cec4e346139
7
- data.tar.gz: 92a542c6a4df958e262d22fd5b7dde10e242aaaa13bfd5d4f3e0c44c1c79c2b9a45cc279905888fb474f13df484edac0c549935c492ad37ab4786b0b31230539
6
+ metadata.gz: daf283ae57b9635a97110079eaf75890dffcd6899dbd14bc1f7e7ac0597f2ebc8a6f535a776e71dfbb8cfb1f2768a15deeac0dc9bb949a3a659d9b674ae25a47
7
+ data.tar.gz: c6241dc1915a3d7905837e39c00d9d661fcb1fc62a1593fd179a50bf29c3d427c05a7df71a68451d70828cdaf067b267fd10d5646d08a3117599619303bf34b6
data/.yardopts CHANGED
@@ -1,6 +1,7 @@
1
1
  --hide-void-return
2
2
  --no-private
3
3
  --verbose
4
+ --title=google-apis-discovery_v1
4
5
  --markup-provider=redcarpet
5
6
  --markup=markdown
6
7
  --main OVERVIEW.md
data/CHANGELOG.md CHANGED
@@ -1,8 +1,24 @@
1
1
  # Release history for google-apis-discovery_v1
2
2
 
3
- ### v0.0.1 (2021-01-01)
3
+ ### v0.5.0 (2021-06-24)
4
4
 
5
- * Early release to bootstrap google-apis-generator gem
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.4.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.3.0 (2021-04-08)
12
+
13
+ * Regenerated from discovery document revision 20200806
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.2.0 (2021-03-04)
17
+
18
+ * Regenerated using generator version 0.1.2
19
+
20
+ ### v0.1.0 (2021-01-07)
21
+
22
+ * Regenerated using generator version 0.1.1
6
23
  * Regenerated from discovery document revision 20190129
7
- * Regenerated using generator version 0.1.0
8
24
 
data/OVERVIEW.md CHANGED
@@ -1,4 +1,4 @@
1
- # Legacy REST client for version V1 of the API Discovery Service
1
+ # Simple REST client for version V1 of the API Discovery Service
2
2
 
3
3
  This is a simple client library for version V1 of the API Discovery Service. It provides:
4
4
 
@@ -7,7 +7,7 @@ This is a simple client library for version V1 of the API Discovery Service. It
7
7
  * Integration with the googleauth gem for authentication using OAuth, API keys, and service accounts.
8
8
  * Control of retry, pagination, and timeouts.
9
9
 
10
- Note that although this client library is supported and will continue to be updated to track changes to the service, it is considered legacy. A more modern client may be available for many Google services, especially Cloud Platform services. See the section below titled *Which client should I use?* for more information.
10
+ Note that although this client library is supported and will continue to be updated to track changes to the service, it is otherwise considered complete and not under active development. Many Google services, especially Google Cloud Platform services, may provide a more modern client that is under more active development and improvement. See the section below titled *Which client should I use?* for more information.
11
11
 
12
12
  ## Getting started
13
13
 
@@ -58,26 +58,26 @@ See the class reference docs for information on the methods you can call from a
58
58
 
59
59
  ## Documentation
60
60
 
61
- More detailed descriptions of the Google legacy REST clients are available in two documents.
61
+ More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
63
  * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
64
  * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
- (Note: the above documents are written for the legacy clients in general, and their examples may not reflect the Discovery service in particular.)
66
+ (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Discovery service in particular.)
67
67
 
68
68
  For reference information on specific calls in the API Discovery Service, see the {Google::Apis::DiscoveryV1::DiscoveryService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
72
- Google provides two types of Ruby API client libraries: **legacy REST clients** and **modern clients**.
72
+ Google provides two types of Ruby API client libraries: **simple REST clients** and **modern clients**.
73
73
 
74
- This library, `google-apis-discovery_v1`, is a legacy REST client. You can identify legacy clients by their gem names, which are always in the form `google-apis-<servicename>_<serviceversion>`. The legacy REST clients connect to HTTP/JSON REST endpoints and are automatically generated from service discovery documents. They support most API functionality, but their class interfaces are sometimes awkward.
74
+ This library, `google-apis-discovery_v1`, is a simple REST client. You can identify these clients by their gem names, which are always in the form `google-apis-<servicename>_<serviceversion>`. The simple REST clients connect to HTTP/JSON REST endpoints and are automatically generated from service discovery documents. They support most API functionality, but their class interfaces are sometimes awkward.
75
75
 
76
- Modern clients are produced by a modern code generator, combined with hand-crafted functionality for some services. Most modern clients connect to high-performance gRPC endpoints, although a few are backed by REST services. Modern clients are available for many Google services, especially Cloud Platform services, but do not yet support all the services covered by the legacy clients.
76
+ Modern clients are produced by a modern code generator, sometimes combined with hand-crafted functionality. Most modern clients connect to high-performance gRPC endpoints, although a few are backed by REST services. Modern clients are available for many Google services, especially Google Cloud Platform services, but do not yet support all the services covered by the simple clients.
77
77
 
78
78
  Gem names for modern clients are often of the form `google-cloud-<service_name>`. (For example, [google-cloud-pubsub](https://rubygems.org/gems/google-cloud-pubsub).) Note that most modern clients also have corresponding "versioned" gems with names like `google-cloud-<service_name>-<version>`. (For example, [google-cloud-pubsub-v1](https://rubygems.org/gems/google-cloud-pubsub-v1).) The "versioned" gems can be used directly, but often provide lower-level interfaces. In most cases, the main gem is recommended.
79
79
 
80
- **For most users, we recommend the modern client, if one is available.** Compared with legacy clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a legacy client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
80
+ **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
82
  The [product documentation](https://developers.google.com/discovery/) may provide guidance regarding the preferred client library to use.
83
83
 
@@ -680,6 +680,12 @@ module Google
680
680
  attr_accessor :etag_required
681
681
  alias_method :etag_required?, :etag_required
682
682
 
683
+ # The URI path of this REST method in (RFC 6570) format without level 2 features
684
+ # (`+var`). Supplementary to the path property.
685
+ # Corresponds to the JSON property `flatPath`
686
+ # @return [String]
687
+ attr_accessor :flat_path
688
+
683
689
  # HTTP method used by this method.
684
690
  # Corresponds to the JSON property `httpMethod`
685
691
  # @return [String]
@@ -762,6 +768,7 @@ module Google
762
768
  def update!(**args)
763
769
  @description = args[:description] if args.key?(:description)
764
770
  @etag_required = args[:etag_required] if args.key?(:etag_required)
771
+ @flat_path = args[:flat_path] if args.key?(:flat_path)
765
772
  @http_method = args[:http_method] if args.key?(:http_method)
766
773
  @id = args[:id] if args.key?(:id)
767
774
  @media_upload = args[:media_upload] if args.key?(:media_upload)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryV1
18
18
  # Version of the google-apis-discovery_v1 gem
19
- GEM_VERSION = "0.0.1"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20190129"
25
+ REVISION = "20200806"
26
26
  end
27
27
  end
28
28
  end
@@ -312,6 +312,7 @@ module Google
312
312
  class Representation < Google::Apis::Core::JsonRepresentation
313
313
  property :description, as: 'description'
314
314
  property :etag_required, as: 'etagRequired'
315
+ property :flat_path, as: 'flatPath'
315
316
  property :http_method, as: 'httpMethod'
316
317
  property :id, as: 'id'
317
318
  property :media_upload, as: 'mediaUpload', class: Google::Apis::DiscoveryV1::RestMethod::MediaUpload, decorator: Google::Apis::DiscoveryV1::RestMethod::MediaUpload::Representation
metadata CHANGED
@@ -1,31 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discovery_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.5.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: 2021-01-01 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
27
- description: This is the legacy REST client for API Discovery Service V1. Legacy REST
28
- clients are simple Ruby libraries that provide access to Google services via their
32
+ version: 2.a
33
+ description: This is the simple REST client for API Discovery Service V1. Simple REST
34
+ clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
30
36
  based on the discovery documents published by the service, and they handle most
31
37
  concerns such as authentication, pagination, retry, timeouts, and logging. You can
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-discovery_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-discovery_v1/v0.0.1
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discovery_v1/v0.5.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-discovery_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -62,15 +68,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
68
  requirements:
63
69
  - - ">="
64
70
  - !ruby/object:Gem::Version
65
- version: '2.4'
71
+ version: '2.5'
66
72
  required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.1.4
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
- summary: Legacy REST client for API Discovery Service V1
81
+ summary: Simple REST client for API Discovery Service V1
76
82
  test_files: []