google-apis-marketingplatformadmin_v1alpha 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/marketingplatformadmin_v1alpha/classes.rb +26 -0
- data/lib/google/apis/marketingplatformadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/marketingplatformadmin_v1alpha/representations.rb +14 -0
- data/lib/google/apis/marketingplatformadmin_v1alpha/service.rb +31 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25e91442f42825e182dc99dbad9cd8487ccf3add9a385d0eac36e9ae6c133777
|
4
|
+
data.tar.gz: 96fb5c5366f46c8a3aeef3799d4db07f121440eab71219632c408dfd30382acf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32967435f1fe7ed11da5dee90a2d32f33b6ba0e619d1c96ed39ef7116a0d8b353f3d5d4f1643cf37a8c993cb63bb44f904bed7da66b023bc7c2c180a830ffbb1
|
7
|
+
data.tar.gz: ebd10f40a9ba9714d4481543e0fdbcc54f28e7f517f43953f13c9a405d42ba8ece19bb5f232bb2bbb4c01b7cd6a753e789b6f00e24f00a7bb617517133e61569
|
data/CHANGELOG.md
CHANGED
@@ -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.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.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.3.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-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.3.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: []
|