google-apis-marketingplatformadmin_v1alpha 0.2.0 → 0.4.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 +8 -0
- data/lib/google/apis/marketingplatformadmin_v1alpha/classes.rb +26 -0
- data/lib/google/apis/marketingplatformadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/marketingplatformadmin_v1alpha/representations.rb +14 -0
- data/lib/google/apis/marketingplatformadmin_v1alpha/service.rb +31 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 680027de9a084b441381457186ea13eaa4ac0c50067c47f930e3c30ba794305f
|
4
|
+
data.tar.gz: 97750b3f52613a6b3b846aa27dcdf44808c66e85e78e51ac5f877f35d03eed60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99b43a378d055b5844238e3aa8e38bd6fb710981a7087606781f917cb9d8d4946b7b571d54d408bb3de54ebe776f4d973c9ec4dc18642439f222c243873cb191
|
7
|
+
data.tar.gz: 4e11cb7288e5bd666e2d1702c7af5c5d6f8b511275d2b9b5fa9200538edd1af2e90477bb6de90ba6e7a66c8d00b194e84837f278ad83ab1e0692b9b8b5db1081
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-marketingplatformadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.4.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.15.0
|
6
|
+
|
7
|
+
### v0.3.0 (2024-04-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240410
|
10
|
+
|
3
11
|
### v0.2.0 (2024-03-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240311
|
@@ -109,6 +109,32 @@ module Google
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
# A resource message representing a Google Marketing Platform organization.
|
113
|
+
class Organization
|
114
|
+
include Google::Apis::Core::Hashable
|
115
|
+
|
116
|
+
# The human-readable name for the organization.
|
117
|
+
# Corresponds to the JSON property `displayName`
|
118
|
+
# @return [String]
|
119
|
+
attr_accessor :display_name
|
120
|
+
|
121
|
+
# Identifier. The resource name of the GMP organization. Format: organizations/`
|
122
|
+
# org_id`
|
123
|
+
# Corresponds to the JSON property `name`
|
124
|
+
# @return [String]
|
125
|
+
attr_accessor :name
|
126
|
+
|
127
|
+
def initialize(**args)
|
128
|
+
update!(**args)
|
129
|
+
end
|
130
|
+
|
131
|
+
# Update properties of this object
|
132
|
+
def update!(**args)
|
133
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
134
|
+
@name = args[:name] if args.key?(:name)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
112
138
|
# Request message for SetPropertyServiceLevel RPC.
|
113
139
|
class SetPropertyServiceLevelRequest
|
114
140
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MarketingplatformadminV1alpha
|
18
18
|
# Version of the google-apis-marketingplatformadmin_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240410"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Organization
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class SetPropertyServiceLevelRequest
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -77,6 +83,14 @@ module Google
|
|
77
83
|
end
|
78
84
|
end
|
79
85
|
|
86
|
+
class Organization
|
87
|
+
# @private
|
88
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
89
|
+
property :display_name, as: 'displayName'
|
90
|
+
property :name, as: 'name'
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
80
94
|
class SetPropertyServiceLevelRequest
|
81
95
|
# @private
|
82
96
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -55,6 +55,37 @@ module Google
|
|
55
55
|
@batch_path = 'batch'
|
56
56
|
end
|
57
57
|
|
58
|
+
# Lookup for a single organization.
|
59
|
+
# @param [String] name
|
60
|
+
# Required. The name of the Organization to retrieve. Format: organizations/`
|
61
|
+
# org_id`
|
62
|
+
# @param [String] fields
|
63
|
+
# Selector specifying which fields to include in a partial response.
|
64
|
+
# @param [String] quota_user
|
65
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
66
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
|
+
# @param [Google::Apis::RequestOptions] options
|
68
|
+
# Request-specific options
|
69
|
+
#
|
70
|
+
# @yield [result, err] Result & error if block supplied
|
71
|
+
# @yieldparam result [Google::Apis::MarketingplatformadminV1alpha::Organization] parsed result object
|
72
|
+
# @yieldparam err [StandardError] error object if request failed
|
73
|
+
#
|
74
|
+
# @return [Google::Apis::MarketingplatformadminV1alpha::Organization]
|
75
|
+
#
|
76
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
+
def get_organization(name, fields: nil, quota_user: nil, options: nil, &block)
|
80
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
81
|
+
command.response_representation = Google::Apis::MarketingplatformadminV1alpha::Organization::Representation
|
82
|
+
command.response_class = Google::Apis::MarketingplatformadminV1alpha::Organization
|
83
|
+
command.params['name'] = name unless name.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
58
89
|
# Creates the link between the Analytics account and the Google Marketing
|
59
90
|
# Platform organization. User needs to be an org user, and admin on the
|
60
91
|
# Analytics account to create the link. If the account is already linked to an
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-marketingplatformadmin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2024-
|
11
|
+
date: 2024-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-marketingplatformadmin_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-marketingplatformadmin_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-marketingplatformadmin_v1alpha/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-marketingplatformadmin_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|