google-apis-playcustomapp_v1 0.5.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: cd5d0325ec965071ac563b263a1396f19e201216660a6abb30a2b4aec3664287
4
- data.tar.gz: c24e6d69f3c67044e7e93ad6ae6d1da5546276ab2815a1148f0aeee56c0c8057
3
+ metadata.gz: 6c6f451f962bac212c1ea78fd4bb679fb342b6a1dc3ecac9227c9d77974fe72b
4
+ data.tar.gz: d3b59f072be252ba930604b3fe330c60212c19a250fb3832ca5b8f27957123a4
5
5
  SHA512:
6
- metadata.gz: 30539c5038de2695e133a2feec5e6141dfcb38e95e7ad19f3b8e908b4c10b1f0072fdd22be067c50bffc27cb3d56fe365996f919f67e2da6ba0e59d4d65385fe
7
- data.tar.gz: 853c9c9c5132db3c250caf1a4d5bdf023863e1ab73ffee0e0eb9b96eea81224eaa8cdbf493e0b541b30fc3b9de3ad30e2b62a1a107f531eb8774c5a730666c64
6
+ metadata.gz: c1037a2f6bf1ad50d7f41929c444b5e882db106810c6b146005d6eb9937aea4d5c50da61f8a4b323b4358a6ad0decdb5c4dcb5aa5591e9677d3ac58700cce09f
7
+ data.tar.gz: 1ce6bccb20d162fcdf07ca7d8181ced22a30a07840fb436496f5a4f5ad70826d34d8f8c2966e2b611fd9e9ff5140f867e5e8d40d1bb43ebd5d0a461318965299
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.5.0 (2021-06-29)
4
9
 
5
10
  * Regenerated using generator version 0.4.0
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.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-playcustomapp_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.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-07-05 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
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-playcustomapp_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-playcustomapp_v1/v0.5.0
62
- 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
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: