google-analytics-admin-v1alpha 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/analytics/admin/v1alpha/access_report_pb.rb +24 -118
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +32 -616
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +4 -2
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/client.rb +4 -2
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/rest/service_stub.rb +122 -122
- data/lib/google/analytics/admin/v1alpha/audience_pb.rb +25 -122
- data/lib/google/analytics/admin/v1alpha/channel_group_pb.rb +24 -46
- data/lib/google/analytics/admin/v1alpha/event_create_and_edit_pb.rb +24 -35
- data/lib/google/analytics/admin/v1alpha/expanded_data_set_pb.rb +25 -41
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +30 -417
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
@@ -188,7 +188,7 @@ module Google
|
|
188
188
|
credentials = @config.credentials
|
189
189
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
190
190
|
# but only if the default endpoint does not have a region prefix.
|
191
|
-
enable_self_signed_jwt = @config.endpoint ==
|
191
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
192
192
|
!@config.endpoint.split(".").first.include?("-")
|
193
193
|
credentials ||= Credentials.default scope: @config.scope,
|
194
194
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -11432,7 +11432,9 @@ module Google
|
|
11432
11432
|
class Configuration
|
11433
11433
|
extend ::Gapic::Config
|
11434
11434
|
|
11435
|
-
|
11435
|
+
DEFAULT_ENDPOINT = "analyticsadmin.googleapis.com"
|
11436
|
+
|
11437
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
11436
11438
|
config_attr :credentials, nil do |value|
|
11437
11439
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
11438
11440
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -184,7 +184,7 @@ module Google
|
|
184
184
|
credentials = @config.credentials
|
185
185
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
186
186
|
# but only if the default endpoint does not have a region prefix.
|
187
|
-
enable_self_signed_jwt = @config.endpoint ==
|
187
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
188
188
|
!@config.endpoint.split(".").first.include?("-")
|
189
189
|
credentials ||= Credentials.default scope: @config.scope,
|
190
190
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -8604,7 +8604,9 @@ module Google
|
|
8604
8604
|
class Configuration
|
8605
8605
|
extend ::Gapic::Config
|
8606
8606
|
|
8607
|
-
|
8607
|
+
DEFAULT_ENDPOINT = "analyticsadmin.googleapis.com"
|
8608
|
+
|
8609
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
8608
8610
|
config_attr :credentials, nil do |value|
|
8609
8611
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
8610
8612
|
allowed.any? { |klass| klass === value }
|