google-apis-playcustomapp_v1 0.3.0 → 0.7.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: a31dce79f837f42089103eca4bae334eac1caf5bb9df8e25e92066bede9b54c9
4
- data.tar.gz: 499eab85994a197b7e620a1697ddba5f7f1a28b70ab98f522c30433e6d590c08
3
+ metadata.gz: 7a85b59e49bf4a4a80b1cef5bed1a11f64b4d54cfe3327dce61ef737a20b819a
4
+ data.tar.gz: 3593a0b09dca0e6b9646a42ddbc891949accd6cc5031c8ce07127d950d9567d7
5
5
  SHA512:
6
- metadata.gz: 36444986d664de267983a1359dd25530874d8214225712634d74af91ab579904b37545624de017aca111ed5ccf410ecc5528796b5fb7b539866f96fc54980aee
7
- data.tar.gz: 38e084556d962dc2f3bd0848151315ab707d0a9fa97457be5bbae112921b868f197bb5a8f74cef32e41c69cff3dc7abcb896020a8676d4cb5a436ef596a10eed
6
+ metadata.gz: 6f3585ce734c790ccc5390b3f12c0657845f67ecb7a4f5f0f2e9c132711ff9104b7552ad14ebc3b997404277d4a3f5dc3435610f6c05a7527c34a96712871666
7
+ data.tar.gz: 327ebdef10bbce50397fe38eb468ca6840fa40578712086fe3c385de6406a2e571efa01d8bc5728fd123e1c44578bff7f2d84baa05ab15babfe96730178f531a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-playcustomapp_v1
2
2
 
3
+ ### v0.7.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-10-26)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+ * Unspecified changes
11
+
12
+ ### v0.5.0 (2021-06-29)
13
+
14
+ * Regenerated using generator version 0.4.0
15
+
16
+ ### v0.4.0 (2021-06-24)
17
+
18
+ * Regenerated using generator version 0.3.0
19
+
3
20
  ### v0.3.0 (2021-05-19)
4
21
 
5
22
  * Regenerated using generator version 0.2.0
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/playcustomapp_v1"
51
51
  client = Google::Apis::PlaycustomappV1::PlaycustomappService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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.3.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
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.3.0
4
+ version: 0.7.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-05-24 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.3.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.7.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.17
78
+ rubygems_version: 3.3.4
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Google Play Custom App Publishing API V1