google-ads-marketing_platform-admin-v1alpha 0.1.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.
Files changed (29) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +154 -0
  6. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/client.rb +877 -0
  7. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/credentials.rb +50 -0
  8. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/paths.rb +94 -0
  9. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest/client.rb +816 -0
  10. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest/service_stub.rb +390 -0
  11. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/rest.rb +54 -0
  12. data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service.rb +57 -0
  13. data/lib/google/ads/marketing_platform/admin/v1alpha/rest.rb +39 -0
  14. data/lib/google/ads/marketing_platform/admin/v1alpha/version.rb +30 -0
  15. data/lib/google/ads/marketing_platform/admin/v1alpha.rb +47 -0
  16. data/lib/google/marketingplatform/admin/v1alpha/marketingplatform_admin_pb.rb +59 -0
  17. data/lib/google/marketingplatform/admin/v1alpha/marketingplatform_admin_services_pb.rb +65 -0
  18. data/lib/google/marketingplatform/admin/v1alpha/resources_pb.rb +49 -0
  19. data/lib/google-ads-marketing_platform-admin-v1alpha.rb +21 -0
  20. data/proto_docs/README.md +4 -0
  21. data/proto_docs/google/api/client.rb +473 -0
  22. data/proto_docs/google/api/field_behavior.rb +85 -0
  23. data/proto_docs/google/api/launch_stage.rb +71 -0
  24. data/proto_docs/google/api/resource.rb +227 -0
  25. data/proto_docs/google/marketingplatform/admin/v1alpha/marketingplatform_admin.rb +138 -0
  26. data/proto_docs/google/marketingplatform/admin/v1alpha/resources.rb +84 -0
  27. data/proto_docs/google/protobuf/duration.rb +98 -0
  28. data/proto_docs/google/protobuf/empty.rb +34 -0
  29. metadata +103 -0
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "googleauth"
20
+
21
+ module Google
22
+ module Ads
23
+ module MarketingPlatform
24
+ module Admin
25
+ module V1alpha
26
+ module MarketingplatformAdminService
27
+ # Credentials for the MarketingplatformAdminService API.
28
+ class Credentials < ::Google::Auth::Credentials
29
+ self.scope = [
30
+ "https://www.googleapis.com/auth/marketingplatformadmin.analytics.read",
31
+ "https://www.googleapis.com/auth/marketingplatformadmin.analytics.update"
32
+ ]
33
+ self.env_vars = [
34
+ "GOOGLE_CLOUD_CREDENTIALS",
35
+ "GOOGLE_CLOUD_KEYFILE",
36
+ "GCLOUD_KEYFILE",
37
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
38
+ "GOOGLE_CLOUD_KEYFILE_JSON",
39
+ "GCLOUD_KEYFILE_JSON"
40
+ ]
41
+ self.paths = [
42
+ "~/.config/google_cloud/application_default_credentials.json"
43
+ ]
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,94 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Ads
22
+ module MarketingPlatform
23
+ module Admin
24
+ module V1alpha
25
+ module MarketingplatformAdminService
26
+ # Path helper methods for the MarketingplatformAdminService API.
27
+ module Paths
28
+ ##
29
+ # Create a fully-qualified Account resource string.
30
+ #
31
+ # The resource will be in the following format:
32
+ #
33
+ # `accounts/{account}`
34
+ #
35
+ # @param account [String]
36
+ #
37
+ # @return [::String]
38
+ def account_path account:
39
+ "accounts/#{account}"
40
+ end
41
+
42
+ ##
43
+ # Create a fully-qualified AnalyticsAccountLink resource string.
44
+ #
45
+ # The resource will be in the following format:
46
+ #
47
+ # `organizations/{organization}/analyticsAccountLinks/{analytics_account_link}`
48
+ #
49
+ # @param organization [String]
50
+ # @param analytics_account_link [String]
51
+ #
52
+ # @return [::String]
53
+ def analytics_account_link_path organization:, analytics_account_link:
54
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
55
+
56
+ "organizations/#{organization}/analyticsAccountLinks/#{analytics_account_link}"
57
+ end
58
+
59
+ ##
60
+ # Create a fully-qualified Organization resource string.
61
+ #
62
+ # The resource will be in the following format:
63
+ #
64
+ # `organizations/{organization}`
65
+ #
66
+ # @param organization [String]
67
+ #
68
+ # @return [::String]
69
+ def organization_path organization:
70
+ "organizations/#{organization}"
71
+ end
72
+
73
+ ##
74
+ # Create a fully-qualified Property resource string.
75
+ #
76
+ # The resource will be in the following format:
77
+ #
78
+ # `properties/{property}`
79
+ #
80
+ # @param property [String]
81
+ #
82
+ # @return [::String]
83
+ def property_path property:
84
+ "properties/#{property}"
85
+ end
86
+
87
+ extend self
88
+ end
89
+ end
90
+ end
91
+ end
92
+ end
93
+ end
94
+ end