google-apis-playcustomapp_v1 0.2.0 → 0.6.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: 46de11c41ad1a4d14a6c2b271aa57277ac98869ba4af430444a08026a4af6076
4
- data.tar.gz: 7e3e5412dc2be21ac4e5f4a05b0b97ca9524d68f33259ee879c1a1f8a786a5de
3
+ metadata.gz: 6c6f451f962bac212c1ea78fd4bb679fb342b6a1dc3ecac9227c9d77974fe72b
4
+ data.tar.gz: d3b59f072be252ba930604b3fe330c60212c19a250fb3832ca5b8f27957123a4
5
5
  SHA512:
6
- metadata.gz: c5881cc3891aec22e9bc6ea8ab632eb77dc1cea7e166bef7eafa4a1b378c4694194af276207a76d0e09820ec6d8c03a06b336244ee1e2641e0e2b50f0d774cd1
7
- data.tar.gz: efe7e422b0b107c640dd24a505777c84762802407a96a35dd60bb7e5e4538627632121a0f1f69fef3c4fbf69a56d48ada4280a8b45a7ccfbc770f34d6fd7334d
6
+ metadata.gz: c1037a2f6bf1ad50d7f41929c444b5e882db106810c6b146005d6eb9937aea4d5c50da61f8a4b323b4358a6ad0decdb5c4dcb5aa5591e9677d3ac58700cce09f
7
+ data.tar.gz: 1ce6bccb20d162fcdf07ca7d8181ced22a30a07840fb436496f5a4f5ad70826d34d8f8c2966e2b611fd9e9ff5140f867e5e8d40d1bb43ebd5d0a461318965299
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-playcustomapp_v1
2
2
 
3
+ ### v0.6.0 (2021-10-26)
4
+
5
+ * Regenerated from discovery document revision 20211022
6
+ * Unspecified changes
7
+
8
+ ### v0.5.0 (2021-06-29)
9
+
10
+ * Regenerated using generator version 0.4.0
11
+
12
+ ### v0.4.0 (2021-06-24)
13
+
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.3.0 (2021-05-19)
17
+
18
+ * Regenerated using generator version 0.2.0
19
+
3
20
  ### v0.2.0 (2021-03-04)
4
21
 
5
22
  * Regenerated using generator version 0.1.2
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
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
- * 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.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/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
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Playcustomapp service in particular.)
67
67
 
@@ -31,6 +31,16 @@ module Google
31
31
  # @return [String]
32
32
  attr_accessor :language_code
33
33
 
34
+ # Organizations to which the custom app should be made available. If the request
35
+ # contains any organizations, then the app will be restricted to only these
36
+ # organizations. To support the organization linked to the developer account,
37
+ # the organization ID should be provided explicitly together with other
38
+ # organizations. If no organizations are provided, then the app is only
39
+ # available to the organization linked to the developer account.
40
+ # Corresponds to the JSON property `organizations`
41
+ # @return [Array<Google::Apis::PlaycustomappV1::Organization>]
42
+ attr_accessor :organizations
43
+
34
44
  # Output only. Package name of the created Android app. Only present in the API
35
45
  # response.
36
46
  # Corresponds to the JSON property `packageName`
@@ -49,10 +59,37 @@ module Google
49
59
  # Update properties of this object
50
60
  def update!(**args)
51
61
  @language_code = args[:language_code] if args.key?(:language_code)
62
+ @organizations = args[:organizations] if args.key?(:organizations)
52
63
  @package_name = args[:package_name] if args.key?(:package_name)
53
64
  @title = args[:title] if args.key?(:title)
54
65
  end
55
66
  end
67
+
68
+ # Represents an organization that can access a custom app.
69
+ class Organization
70
+ include Google::Apis::Core::Hashable
71
+
72
+ # Required. ID of the organization.
73
+ # Corresponds to the JSON property `organizationId`
74
+ # @return [String]
75
+ attr_accessor :organization_id
76
+
77
+ # Optional. A human-readable name of the organization, to help recognize the
78
+ # organization.
79
+ # Corresponds to the JSON property `organizationName`
80
+ # @return [String]
81
+ attr_accessor :organization_name
82
+
83
+ def initialize(**args)
84
+ update!(**args)
85
+ end
86
+
87
+ # Update properties of this object
88
+ def update!(**args)
89
+ @organization_id = args[:organization_id] if args.key?(:organization_id)
90
+ @organization_name = args[:organization_name] if args.key?(:organization_name)
91
+ end
92
+ end
56
93
  end
57
94
  end
58
95
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PlaycustomappV1
18
18
  # Version of the google-apis-playcustomapp_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201020"
25
+ REVISION = "20211022"
26
26
  end
27
27
  end
28
28
  end
@@ -28,14 +28,30 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class Organization
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class CustomApp
32
38
  # @private
33
39
  class Representation < Google::Apis::Core::JsonRepresentation
34
40
  property :language_code, as: 'languageCode'
41
+ collection :organizations, as: 'organizations', class: Google::Apis::PlaycustomappV1::Organization, decorator: Google::Apis::PlaycustomappV1::Organization::Representation
42
+
35
43
  property :package_name, as: 'packageName'
36
44
  property :title, as: 'title'
37
45
  end
38
46
  end
47
+
48
+ class Organization
49
+ # @private
50
+ class Representation < Google::Apis::Core::JsonRepresentation
51
+ property :organization_id, as: 'organizationId'
52
+ property :organization_name, as: 'organizationName'
53
+ end
54
+ end
39
55
  end
40
56
  end
41
57
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-playcustomapp_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.6.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-03-08 00:00:00.000000000 Z
11
+ date: 2021-10-27 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.4'
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.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Google Play Custom App Publishing
28
34
  API V1. Simple REST clients are Ruby client libraries that provide access to Google
29
35
  services via their HTTP REST API endpoints. These libraries are generated and updated
@@ -51,9 +57,9 @@ licenses:
51
57
  - Apache-2.0
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-playcustomapp_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-playcustomapp_v1/v0.2.0
56
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-playcustomapp_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playcustomapp_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-playcustomapp_v1/v0.6.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playcustomapp_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
59
65
  require_paths:
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Google Play Custom App Publishing API V1