Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type GoogleCloudRecommenderV1beta1CostProjection struct + Cost *GoogleTypeMoney + Duration string + ForceSendFields []string + NullFields []string + func (s *GoogleCloudRecommenderV1beta1CostProjection) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1Impact struct + Category string + CostProjection *GoogleCloudRecommenderV1beta1CostProjection + ForceSendFields []string + NullFields []string + func (s *GoogleCloudRecommenderV1beta1Impact) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1Insight struct + AssociatedRecommendations []*GoogleCloudRecommenderV1beta1InsightRecommendationReference + Category string + Content googleapi.RawMessage + Description string + Etag string + ForceSendFields []string + InsightSubtype string + LastRefreshTime string + Name string + NullFields []string + ObservationPeriod string + StateInfo *GoogleCloudRecommenderV1beta1InsightStateInfo + TargetResources []string + func (s *GoogleCloudRecommenderV1beta1Insight) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1InsightRecommendationReference struct + ForceSendFields []string + NullFields []string + Recommendation string + func (s *GoogleCloudRecommenderV1beta1InsightRecommendationReference) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1InsightStateInfo struct + ForceSendFields []string + NullFields []string + State string + StateMetadata map[string]string + func (s *GoogleCloudRecommenderV1beta1InsightStateInfo) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1ListInsightsResponse struct + ForceSendFields []string + Insights []*GoogleCloudRecommenderV1beta1Insight + NextPageToken string + NullFields []string + func (s *GoogleCloudRecommenderV1beta1ListInsightsResponse) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1ListRecommendationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Recommendations []*GoogleCloudRecommenderV1beta1Recommendation + func (s *GoogleCloudRecommenderV1beta1ListRecommendationsResponse) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest struct + Etag string + ForceSendFields []string + NullFields []string + StateMetadata map[string]string + func (s *GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest struct + Etag string + ForceSendFields []string + NullFields []string + StateMetadata map[string]string + func (s *GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest struct + Etag string + ForceSendFields []string + NullFields []string + StateMetadata map[string]string + func (s *GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest struct + Etag string + ForceSendFields []string + NullFields []string + StateMetadata map[string]string + func (s *GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1Operation struct + Action string + ForceSendFields []string + NullFields []string + Path string + PathFilters googleapi.RawMessage + PathValueMatchers map[string]GoogleCloudRecommenderV1beta1ValueMatcher + Resource string + ResourceType string + SourcePath string + SourceResource string + Value interface{} + ValueMatcher *GoogleCloudRecommenderV1beta1ValueMatcher + func (s *GoogleCloudRecommenderV1beta1Operation) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1OperationGroup struct + ForceSendFields []string + NullFields []string + Operations []*GoogleCloudRecommenderV1beta1Operation + func (s *GoogleCloudRecommenderV1beta1OperationGroup) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1Recommendation struct + AdditionalImpact []*GoogleCloudRecommenderV1beta1Impact + AssociatedInsights []*GoogleCloudRecommenderV1beta1RecommendationInsightReference + Content *GoogleCloudRecommenderV1beta1RecommendationContent + Description string + Etag string + ForceSendFields []string + LastRefreshTime string + Name string + NullFields []string + PrimaryImpact *GoogleCloudRecommenderV1beta1Impact + RecommenderSubtype string + StateInfo *GoogleCloudRecommenderV1beta1RecommendationStateInfo + func (s *GoogleCloudRecommenderV1beta1Recommendation) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1RecommendationContent struct + ForceSendFields []string + NullFields []string + OperationGroups []*GoogleCloudRecommenderV1beta1OperationGroup + func (s *GoogleCloudRecommenderV1beta1RecommendationContent) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1RecommendationInsightReference struct + ForceSendFields []string + Insight string + NullFields []string + func (s *GoogleCloudRecommenderV1beta1RecommendationInsightReference) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1RecommendationStateInfo struct + ForceSendFields []string + NullFields []string + State string + StateMetadata map[string]string + func (s *GoogleCloudRecommenderV1beta1RecommendationStateInfo) MarshalJSON() ([]byte, error) + type GoogleCloudRecommenderV1beta1ValueMatcher struct + ForceSendFields []string + MatchesPattern string + NullFields []string + func (s *GoogleCloudRecommenderV1beta1ValueMatcher) MarshalJSON() ([]byte, error) + type GoogleTypeMoney struct + CurrencyCode string + ForceSendFields []string + Nanos int64 + NullFields []string + Units int64 + func (s *GoogleTypeMoney) MarshalJSON() ([]byte, error) + type ProjectsLocationsInsightTypesInsightsGetCall struct + func (c *ProjectsLocationsInsightTypesInsightsGetCall) Context(ctx context.Context) *ProjectsLocationsInsightTypesInsightsGetCall + func (c *ProjectsLocationsInsightTypesInsightsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Insight, error) + func (c *ProjectsLocationsInsightTypesInsightsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsInsightTypesInsightsGetCall + func (c *ProjectsLocationsInsightTypesInsightsGetCall) Header() http.Header + func (c *ProjectsLocationsInsightTypesInsightsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsInsightTypesInsightsGetCall + type ProjectsLocationsInsightTypesInsightsListCall struct + func (c *ProjectsLocationsInsightTypesInsightsListCall) Context(ctx context.Context) *ProjectsLocationsInsightTypesInsightsListCall + func (c *ProjectsLocationsInsightTypesInsightsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1ListInsightsResponse, error) + func (c *ProjectsLocationsInsightTypesInsightsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsInsightTypesInsightsListCall + func (c *ProjectsLocationsInsightTypesInsightsListCall) Filter(filter string) *ProjectsLocationsInsightTypesInsightsListCall + func (c *ProjectsLocationsInsightTypesInsightsListCall) Header() http.Header + func (c *ProjectsLocationsInsightTypesInsightsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInsightTypesInsightsListCall + func (c *ProjectsLocationsInsightTypesInsightsListCall) PageSize(pageSize int64) *ProjectsLocationsInsightTypesInsightsListCall + func (c *ProjectsLocationsInsightTypesInsightsListCall) PageToken(pageToken string) *ProjectsLocationsInsightTypesInsightsListCall + func (c *ProjectsLocationsInsightTypesInsightsListCall) Pages(ctx context.Context, ...) error + type ProjectsLocationsInsightTypesInsightsMarkAcceptedCall struct + func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Context(ctx context.Context) *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall + func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Insight, error) + func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Fields(s ...googleapi.Field) *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall + func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Header() http.Header + type ProjectsLocationsInsightTypesInsightsService struct + func NewProjectsLocationsInsightTypesInsightsService(s *Service) *ProjectsLocationsInsightTypesInsightsService + func (r *ProjectsLocationsInsightTypesInsightsService) Get(name string) *ProjectsLocationsInsightTypesInsightsGetCall + func (r *ProjectsLocationsInsightTypesInsightsService) List(parent string) *ProjectsLocationsInsightTypesInsightsListCall + func (r *ProjectsLocationsInsightTypesInsightsService) MarkAccepted(name string, ...) *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall + type ProjectsLocationsInsightTypesService struct + Insights *ProjectsLocationsInsightTypesInsightsService + func NewProjectsLocationsInsightTypesService(s *Service) *ProjectsLocationsInsightTypesService + type ProjectsLocationsRecommendersRecommendationsGetCall struct + func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Context(ctx context.Context) *ProjectsLocationsRecommendersRecommendationsGetCall + func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) + func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRecommendersRecommendationsGetCall + func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Header() http.Header + func (c *ProjectsLocationsRecommendersRecommendationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRecommendersRecommendationsGetCall + type ProjectsLocationsRecommendersRecommendationsListCall struct + func (c *ProjectsLocationsRecommendersRecommendationsListCall) Context(ctx context.Context) *ProjectsLocationsRecommendersRecommendationsListCall + func (c *ProjectsLocationsRecommendersRecommendationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1ListRecommendationsResponse, error) + func (c *ProjectsLocationsRecommendersRecommendationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRecommendersRecommendationsListCall + func (c *ProjectsLocationsRecommendersRecommendationsListCall) Filter(filter string) *ProjectsLocationsRecommendersRecommendationsListCall + func (c *ProjectsLocationsRecommendersRecommendationsListCall) Header() http.Header + func (c *ProjectsLocationsRecommendersRecommendationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRecommendersRecommendationsListCall + func (c *ProjectsLocationsRecommendersRecommendationsListCall) PageSize(pageSize int64) *ProjectsLocationsRecommendersRecommendationsListCall + func (c *ProjectsLocationsRecommendersRecommendationsListCall) PageToken(pageToken string) *ProjectsLocationsRecommendersRecommendationsListCall + func (c *ProjectsLocationsRecommendersRecommendationsListCall) Pages(ctx context.Context, ...) error + type ProjectsLocationsRecommendersRecommendationsMarkClaimedCall struct + func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Context(ctx context.Context) *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall + func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) + func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Fields(s ...googleapi.Field) *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall + func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Header() http.Header + type ProjectsLocationsRecommendersRecommendationsMarkFailedCall struct + func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Context(ctx context.Context) *ProjectsLocationsRecommendersRecommendationsMarkFailedCall + func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) + func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Fields(s ...googleapi.Field) *ProjectsLocationsRecommendersRecommendationsMarkFailedCall + func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Header() http.Header + type ProjectsLocationsRecommendersRecommendationsMarkSucceededCall struct + func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Context(ctx context.Context) *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall + func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Do(opts ...googleapi.CallOption) (*GoogleCloudRecommenderV1beta1Recommendation, error) + func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Fields(s ...googleapi.Field) *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall + func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Header() http.Header + type ProjectsLocationsRecommendersRecommendationsService struct + func NewProjectsLocationsRecommendersRecommendationsService(s *Service) *ProjectsLocationsRecommendersRecommendationsService + func (r *ProjectsLocationsRecommendersRecommendationsService) Get(name string) *ProjectsLocationsRecommendersRecommendationsGetCall + func (r *ProjectsLocationsRecommendersRecommendationsService) List(parent string) *ProjectsLocationsRecommendersRecommendationsListCall + func (r *ProjectsLocationsRecommendersRecommendationsService) MarkClaimed(name string, ...) *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall + func (r *ProjectsLocationsRecommendersRecommendationsService) MarkFailed(name string, ...) *ProjectsLocationsRecommendersRecommendationsMarkFailedCall + func (r *ProjectsLocationsRecommendersRecommendationsService) MarkSucceeded(name string, ...) *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall + type ProjectsLocationsRecommendersService struct + Recommendations *ProjectsLocationsRecommendersRecommendationsService + func NewProjectsLocationsRecommendersService(s *Service) *ProjectsLocationsRecommendersService + type ProjectsLocationsService struct + InsightTypes *ProjectsLocationsInsightTypesService + Recommenders *ProjectsLocationsRecommendersService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)