« blib/lib/Paws/Appflow/FlowDefinition.pm
↑ Summary
blib/lib/Paws/Appflow/GoogleAnalyticsConnectorProfileProperties.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Appflow::GoogleAnalyticsConnectorProfileCredentials; | ||
| 3 | use Moose; | ||
| 4 | has AccessToken => (is => 'ro', isa => 'Str', request_name => 'accessToken', traits => ['NameInRequest']); | ||
| 5 | has ClientId => (is => 'ro', isa => 'Str', request_name => 'clientId', traits => ['NameInRequest'], required => 1); | ||
| 6 | has ClientSecret => (is => 'ro', isa => 'Str', request_name => 'clientSecret', traits => ['NameInRequest'], required => 1); | ||
| 7 | has OAuthRequest => (is => 'ro', isa => 'Paws::Appflow::ConnectorOAuthRequest', request_name => 'oAuthRequest', traits => ['NameInRequest']); | ||
| 8 | has RefreshToken => (is => 'ro', isa => 'Str', request_name => 'refreshToken', traits => ['NameInRequest']); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::Appflow::GoogleAnalyticsConnectorProfileCredentials | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::Appflow::GoogleAnalyticsConnectorProfileCredentials object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { AccessToken => $value, ..., RefreshToken => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::Appflow::GoogleAnalyticsConnectorProfileCredentials object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->AccessToken | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | The connector-specific profile credentials required by Google | ||
| 41 | Analytics. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 AccessToken => Str | ||
| 47 | |||
| 48 | The credentials used to access protected Google Analytics resources. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> ClientId => Str | ||
| 52 | |||
| 53 | The identifier for the desired client. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> ClientSecret => Str | ||
| 57 | |||
| 58 | The client secret used by the OAuth client to authenticate to the | ||
| 59 | authorization server. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 OAuthRequest => L<Paws::Appflow::ConnectorOAuthRequest> | ||
| 63 | |||
| 64 | The OAuth requirement needed to request security tokens from the | ||
| 65 | connector endpoint. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 RefreshToken => Str | ||
| 69 | |||
| 70 | The credentials used to acquire new access tokens. This is required | ||
| 71 | only for OAuth2 access tokens, and is not required for OAuth1 access | ||
| 72 | tokens. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, describing an object used in L<Paws::Appflow> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |